PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2008-02-15 14:21:37

bullwinkl
New member
Registered: 2008-01-10
Posts: 9

show recent posts link within forum pages

I want to add a show recent posts link within the forum pages instead of just on the index page.
Is there code for this somewhere? I have looked and can't find it.

Offline

 

#2 2008-10-09 15:19:32

poellche
Member
From: Germany
Registered: 2008-07-26
Posts: 18
Website

Re: show recent posts link within forum pages

Hi,

this is quite easy.
Open viewforum.php and find the following line:

Code:

if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))

Just replace it with:

Code:

if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php', 'viewforum.php')))

Save and upload.

You're done.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.