Gosh, it's 100% installed!
2 2008-07-17 19:36
Re: Rewrite - last post problem (5 replies, posted in PunBB 1.3 extensions)
Of course. Any other links (like topics or forums) work great and are completely rewrited!
3 2008-07-17 09:46
Topic: Rewrite - last post problem (5 replies, posted in PunBB 1.3 extensions)
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?:(
4 2008-07-16 10:55
Topic: Help needed modifying <pun_status> (0 replies, posted in PunBB 1.2 troubleshooting)
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> ||'."\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 2007-10-12 12:01
Re: Folders icons (4 replies, posted in PunBB 1.2 troubleshooting)
Thank you very much!
6 2007-10-12 11:40
Re: Folders icons (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
The dark grey square appears instead of folder icon.
7 2007-10-12 10:01
Topic: Folders icons (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_
8 2007-10-11 20:07
Topic: Forum background color (1 replies, posted in PunBB 1.2 troubleshooting)
Hi,
does anybody know where may I change the background under the 'Test forum' and 'Satistics'?
Here's the image:
9 2007-10-09 20:03
Re: How to check if user is logged? (2 replies, posted in PunBB 1.2 troubleshooting)
Thank you very much!
10 2007-10-09 19:57
Topic: How to check if user is logged? (2 replies, posted in PunBB 1.2 troubleshooting)
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