Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
"Unread and recently updated topics"
Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 28, 2013 - 3:21 am

How do I add the "Unread and recently updated topics" section to the bottom of my page to show the most recent topics etc.  Just like this page has it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 28, 2013 - 4:35 am

By default this is shown to all users except for forum admins. But if you want to turn it on so you can see it as well then you will need to edit the spGroupView.php theme template (/templates folder of your SP theme). Right at the bottom is the fucntion that creates this display:

sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));

It just needs an extra argument passed as in:

sp_RecentPostList('show=10&admins=1', __sp('Unread and recently updated topics'));

You can turn it on for moderators as well using the argument 'mods=1'

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626