Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Change total "Unread and recently updated topics" displayed
Avatar
Sukarto Sudjono
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2014 - 7:13 am

Hi,

Want to know how to change the total number of "Unread and recently updated topics" that displayed in the bottom of forum?

Right now it's just display 10 recent posts. I want to change it to 15 or more. 

What I mean is global setting for all members.

Thank you.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2014 - 7:25 am

A nice easy one this...

If you open your theme folder and open templates > spGroupView.php  you should find a function

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

You can change the 10 to whatever value you wish, 15, 20 etc..

Also if you change 'admins=0' to 'admins=1' it will allow admins to see the unread posts list aswel. As it's loaded through the theme template it will be global for everybody.

As always, its recommended to make a child theme to preserve this setting, and allow theme updates to not interfere with your change.

Hope this helps.

Avatar
Sukarto Sudjono
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2014 - 7:43 am

Wow thanks for your fast solutions. laugh

Yes, it solved the problem.

thx again.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2014 - 8:35 am

No problem :)

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625