Support Forum

Change total "Unread and recently updated topics" displayed

1
Sukarto Sudjono
Member
Free Members
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.

Ike
Sawtry, UK
Member
Free Members
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.

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

Wow thanks for your fast solutions. laugh

Yes, it solved the problem.

thx again.

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

No problem :)

1