I hade this mod up and going for a week now and still i only get:


There is no data to show a result for your search.



why is that?

is there anyway to mass upload pictures to the gallery?

Im not using the ftp provided by the gallery mod.

changed the FTP Server to localhost but same problem. is there another way to upload images to the gallery?

AHHAHA fixed the problem.
it was a matter of capitalletters smile

Hi
Trying to install a plugin, adsense and Gallery mod 2.0b
but for som reason the configurators does not apper in the plugins menu

any ideas to fix this problem?



Johan

after installing the mod and copied all the files. I wanted to add som pictures to the gallery, writing all the ftp info in and then trying to add pictures to the gallery i got this error msg:

Fatal error:
Call to undefined function: ftp_connect() in /customers/zetterstrom.info/zetterstrom.info/httpd.www/lhs/gallery_post.php on line 277

Johan

7

(1,382 replies, posted in General discussion)

OJ Simpson   lol

8

(1,382 replies, posted in General discussion)

Clarice Starling                       (Jodie Foster in The Silence of the Lambs)

Hello.
I would like to add a new field to register.php.
right under the e-mail field i would like to add the "msn field"
is there a easy way to do this?



Johan

How do i add a "recent post" box to the awsome Miniportal.
I read about extern.php. but idont think my webhost allows it i get allkinds of error msg.

Any workarounds?

i tryed to add a  box in main.tpl and no problem there. but were to add the php command


<? include('http://www.zetterstrom.info/lhs/extern.php?action=new&show=10&fid=16'); ?>

another thing shouldent i see something when i type in
http://www.zetterstrom.info/lhs/extern. … amp;fid=16
in the adress bar in IE?

/ Johan

Sorry for that delete this post and i will repost it in the miniportal thread

How do i add a "recent post" box to the awsome Miniportal.
I read about extern.php. but idont think my webhost allows it i get allkinds of error msg.

Any workarounds?


/ Johan

Thanx. that was exactly what i wannted.



Thanx a bunch

Great! thats were i screwup. Thanx alot

now for another question. I wannt to seperate the topics from each other even if they are posted on the same date


       / Johan

I have tryied every forum id in the forum all generates the same result

maybe i typed it in wrong?

i typed in the forum id on row 12 in index.php like this



function pun_news($fid='16', $show=5, $truncate=1)
{
    global $lang_common, $db, $pun_config, $db_prefix;
    $max_subject_length = 30;
    $show_max_topics = 50;
    $fid = intval($fid);
    $order_by = 't.posted';
    $forum_sql = '';
    // Was a forum ID supplied?
    if ( $fid ) $forum_sql = 'f.id='.$fid.' AND ';
    $show = intval($show);
    if ($show < 1 || $show > $show_max_topics)
    $show = 15;
    $saveddate="";

row 29: if ( !$db->num_rows($result) ) return $output;


// Fetch $show topics
    $result = $db->query('SELECT t.id, t.poster, t.subject, t.posted, t.last_post, f.id AS fid, f.forum_name FROM '.$db_prefix.'topics AS t INNER JOIN '.$db_prefix.'forums AS f ON t.forum_id=f.id WHERE f.id='.$fid.' AND t.moved_to IS NULL ORDER BY '.$order_by.' DESC') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
    $show_count = 0;
    if ( !$db->num_rows($result) ) return $output;
    while ( ($show_count < $show) && ($cur_topic = $db->fetch_assoc($result)) ) {
        $temp = '';
        if ($pun_config['o_censoring'] == '1')
            $cur_topic['subject'] = censor_words($cur_topic['subject']);
        if (pun_strlen($cur_topic['subject']) > $max_subject_length)
            $subject_truncated = trim(substr($cur_topic['subject'], 0, ($max_subject_length-5))).' ...';
        else
            $subject_truncated = $cur_topic['subject'];
        $newsheading = '<a href="'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'&action=new" title="'.pun_htmlspecialchars($cur_topic['subject']).'">'.pun_htmlspecialchars($subject_truncated).'</a> - <em>Posted by '.$cur_topic['poster'].' at '.date('h:i A', $cur_topic['posted']).'</em><br>';
        // Group posts by date    
        $thisdate = date('l, d F Y', $cur_topic['posted']);
        if ($thisdate != $saveddate) 
        {
            if ($saveddate)
            {
                $temp .= "</div></div>";

just installed the "mini portal" but recives error:

Notice: Undefined variable: output in /customers/zetterstrom.info/zetterstrom.info/httpd.www/lhs/index.php on line 29

website: http://www.zetterstrom.info/lhs/

and i also having trouble defining forum id, were do i get the forum id from my already created forums




/ Johan

Mako will probebly get mad at me for this one!? smile

couldent u add a CSS tag for the Input field and the Input buttons (like submit)

i tried it on my pun and its looks pretty fancy smile
it fits the clean look of the punBB

http://www.zetterstrom.info/bb/

i put the punBB up yesterday, so its still in its cradle


Great job on PDF by the way

19

(2 replies, posted in Feature requests)

i have 2 things i miss in the punBB


1. an internal css editor / styles editor "styles on the fly" smile . for quick and easy editing of the styles.

I just hate the shadows/highlight on both the buttons and the input field smile

2 i miss an css class on the submit buttons (includes delete user button etc.).
   and i miss an class for input boxes