Gosh, it's 100% installed!

Of course. Any other links (like topics or forums) work great and are completely rewrited!

Hello,
I've installed PunRewrite mod, but when I click "Yesterday 16:02:29" in Last Post column, it redirects me to

http://localhost/punbb/p4-Yesterday-16%3A02%3A29.html#p4

Output - error 403

How to correct it?:(

Hey everyone,
I need to change the order of displaying <pun_status> elements. These are:
Logged in as, Last visit, New posts, Mark all topics as read.

I want to have them in the following order:
New posts, Mark all topics as read, Logged in as, Last visit.

Any time I try to modify header.php something goes wrong and they dont display. Here's the code:

    $tpl_temp = "\n\t\t\t".'<div class="events_head">'."\n\t\t\t\t".'<p>'.$lang_common['Logged in as'].' <strong>'.pun_htmlspecialchars($pun_user['username']).'</strong>&nbsp;||'."\n\t\t\t\t".$lang_common['Last visit'].': '.format_time($pun_user['last_visit']);

    if ($pun_user['g_id'] < PUN_GUEST)
    {
        $result_header = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'reports WHERE zapped IS NULL') or error('Unable to fetch reports info', __FILE__, __LINE__, $db->error());

        if ($db->result($result_header))
            $tpl_temp .= "\n\t\t\t\t".'<li class="reportlink"><strong><a href="admin_reports.php">There are new reports</a></strong></li>';

        if ($pun_config['o_maintenance'] == '1')
            $tpl_temp .= "\n\t\t\t\t".'<li class="maintenancelink"><strong><a href="admin_options.php#maintenance">Maintenance mode is enabled!</a></strong></li>';
    }

    if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))
        $tpl_temp .= "\n\t\t\t"."\n\t\t\t"."\n\t\t\t\t".'<span><a href="search.php?action=show_new" class="events_text_link">'.$lang_common['Show new posts'].'</a>'."\n\t\t\t\t".'<a href="misc.php?action=markread" class="events_text_link">'.$lang_common['Mark all as read'].'</a></span>'."\n\t\t\t"."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else
        $tpl_temp .= "\n\t\t\t".'<br />'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';

Could you please help me modify the code above?

Thanks in advance,
AV_

5

(4 replies, posted in PunBB 1.2 troubleshooting)

Thank you very much!

6

(4 replies, posted in PunBB 1.2 troubleshooting)

Oh, you're right. But how may I turn them into images?
I made this:

DIV.icon { background-image: url(../img/folder.gif);}

And it doesn't work sad
The dark grey square appears instead of folder icon.

7

(4 replies, posted in PunBB 1.2 troubleshooting)

Hi,
how I change folders icons - 'new posts' and 'normal'?
I tried to it in Oxygen_cs.css and Oxygen.css but in every case it shows dark grey square or nothing.

Regards,
AV_

Hi,
does anybody know where may I change the background under the 'Test forum' and 'Satistics'?
Here's the image:
http://kamil.vdl.pl/upload/images/641255index.png

link: http://kamil.vdl.pl/upload/images/641255index.png

Thank you very much!

Hi,
I would like to make same thing as it's in IPB forum software:
if you are guest/not logged in there appears red box 'you are not logged in',
when you log in, appears green box and says status of your account.

How may I do same in punBB? Any ideas, maybe with if() ?

Thanks,
AV