Rickard wrote:

It appears you're using some free PunBB hosting. Am I right? In that case, I think you need to ask them.

hehe, this is my free PunBB hosting and trust me I have been asking myself many times wink This is first forum where a find this kind of problem and I don't know what to do.

The forum is very slow for me and I'm guessing the problem is that the number of replies in the topic isn't synchronized with the actual amount of replies that have been made. This can occur if the server times out in the middle of a request.

This is my Apache http.conf

Timeout 30
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 4
MaxClients 150
MinSpareServers 5
MaxSpareServers 10

On this forum they use many pictures like this:

[ url=http://www.fotosik.pl/showFullSize.php?id=c728639bd80bde2b][ img]http://images2.fotosik.pl/125/c728639bd80bde2bm.jpg[/img][/url]

Maybe this is problem of slow running roll

This is not the biggest forum that I have on server but the slowest sad To see all my forum click here.

Hi,

Please visit my forum (5 page). You can see that there is 6 page on the list already, but there is nothing to see (blank page). Take a look --> page 6.

The default number of posts to display per page in a topic is 10. So how it is possible to have 6 pages with 47 posts ?

I have 48 topic like this on my forum sad

How can I fix this ?

No. It's my false. I have got few mods on my forum.

This is my profile.php.

Hi,

I've got a problem with BBCode in signature when I use [ url=http://page.com/][ img]http://image.com/picture.gif[/img][/url]. Everything is ok besides profil.php which is blank.

Any ideas ?

80

(1 replies, posted in PunBB 1.2 troubleshooting)

Try User Management.

81

(6 replies, posted in PunBB 1.2 troubleshooting)

I know what was wrong: I didn't clear cache sad

elbekko, thx

82

(6 replies, posted in PunBB 1.2 troubleshooting)

Well, is the img BBcode allowed?

Yes.

And why not just use "=)" ?

This is only example of image file smile

83

(6 replies, posted in PunBB 1.2 troubleshooting)

I do this in viewtopic.php

<dt><strong><?php echo $username ?></strong></dt>
                    <dd class="usertitle"><strong><?php echo parse_message($user_title); ?></strong></dd>
                    <dd class="postavatar"><?php echo $user_avatar ?></dd>

And I only see link to image (I have title like that [img ]http://pun.pl/img/smilies/smile.png[/img])

84

(6 replies, posted in PunBB 1.2 troubleshooting)

any help ?

I want to use BBCode in ranks like [img] to show pictures or [color] to change text colors.

85

(6 replies, posted in PunBB 1.2 troubleshooting)

Hi,

How can I allow to use BBCode in ranks ?

Thx

you have to go to Admin menu-->Permissions-->BBCodes in signatures and make Yes

87

(2 replies, posted in PunBB 1.2 bug reports)

Onekiss, a tu próbowa?es pisa? ?

88

(52 replies, posted in PunBB 1.2 discussion)

McSodbrenner, thx I will put it on my free punbb host.

89

(52 replies, posted in PunBB 1.2 discussion)

Good work http://www.brunna.se/forum/img/smilies/tummenupp.gif

Hi,

I have a problem with this mod. Guess visit aren't counting in statuser. I can see only how many logged people was on my forum.

Can you fix this ?

This is my code:

// Update the online list
// MOD USERSTATS CHANGE
            if (!$pun_user['logged'])  {
                $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$now.')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                $db->query('INSERT INTO '.$db->prefix.'statuser (user_id, user_ip) VALUES('.$pun_user['id'].',\''.$db->escape(get_remote_address()).'\')') or error('Unable to insert into user statistics', __FILE__, __LINE__, $db->error());
                }
// END MOD USERSTATS CHANGE
            else
            {
                // Special case: We've timed out, but no other user has browsed the forums since we timed out
                if ($pun_user['logged'] < ($now-$pun_config['o_timeout_visit']))
                {
                    $db->query('UPDATE '.$db->prefix.'users SET last_visit='.$pun_user['logged'].' WHERE id='.$pun_user['id']) or error('Unable to update user visit data', __FILE__, __LINE__, $db->error());
                    $pun_user['last_visit'] = $pun_user['logged'];
                }
// MOD USERSTATS CHANGE
            if ($pun_user['idle'] == 1)  {
                        $db->query('INSERT INTO '.$db->prefix.'statuser (user_id, user_ip) VALUES('.$pun_user['id'].',\''.$db->escape(get_remote_address()).'\')') or error('Unable to insert into user statistics', __FILE__, __LINE__, $db->error());
                        }
// END MOD USERSTATS CHANGE
                $idle_sql = ($pun_user['idle'] == '1') ? ', idle=0' : '';
                $db->query('UPDATE '.$db->prefix.'online SET logged='.$now.$idle_sql.' WHERE user_id='.$pun_user['id']) or error('Unable to update online list', __FILE__, __LINE__, $db->error());
            }
        }

        $pun_user['is_guest'] = false;
    }
    else
        set_default_user();
}

91

(52 replies, posted in PunBB 1.2 discussion)

FredrikK thanks http://www.brunna.se/forum/img/smilies/storstark.gif

92

(3 replies, posted in PunBB 1.2 troubleshooting)

How about doing this without scripts like BBClone ?

93

(52 replies, posted in PunBB 1.2 discussion)

who has parser.php with all smiles ?

94

(1 replies, posted in PunBB 1.2 troubleshooting)

i find answer:

$wiersz2['message'] --> parse_message($wiersz2['message']) :-)

95

(1 replies, posted in PunBB 1.2 troubleshooting)

Hi,

I going to make first page by myself, but I have problem with BBcode. What should I do to make change all text with BBcode to HTML ?

page: http://pun.pl/a.php

<?php
 
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
 
$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header2.php';
require PUN_ROOT.'include/parser.php';

?>

<div class="blockform">
    <h2><span>Aktualnosci</span></h2>
       <div class="box">
    <fieldset>
    <br />
       
<?

$zapytanie = "SELECT * FROM topics WHERE forum_id=2 ORDER BY id DESC";
$wykonaj = mysql_query ($zapytanie);

while ($wiersz=mysql_fetch_array ($wykonaj)) 

{

$data = date('d.m.Y',$wiersz['posted']);

echo ("<b>".$wiersz['subject']."</b> - ".$data."<br />Autor: ".$wiersz['poster']."<br /><hr />");

$id=$wiersz['id'];

$zapytanie2 = "SELECT * FROM posts WHERE topic_id=$id LIMIT 1";
$wykonaj2 = mysql_query ($zapytanie2);

while ($wiersz2=mysql_fetch_array ($wykonaj2)) 

{

echo ($wiersz2['message']."<br /><div style=\"text-align: right;\"><a href=\"http://pun.pl/viewtopic.php?id=".$wiersz['id']."\">komentarze(".$wiersz['num_replies'].")</a></div><br />");

}

} 

?>
          </fieldset>
    </div>
</div>
            
<?php
 
require PUN_ROOT.'footer.php';

96

(109 replies, posted in General discussion)

any news ?

latheesan, now it's working. Thx

good work, but I have error :-( when I make install.php I see "Run install.php to install Multi-Forum Mod" All files/folders are 777.

99

(10 replies, posted in PunBB 1.2 discussion)

I have the same problem :-(

100

(109 replies, posted in General discussion)

I have one question about 1.3. Will be possible to make all change like footer, header, set moderators etc. from Administration Panel ?