Support Forum

Unread and recently updated topics – at bottom of group

CB Charlie Badenhop
Charlie Badenhop
Member

I noticed that when I am logged in as an Admin, I do not see the list of “unread and recently updated topics” at the bottom of the group of forums I have set up. However, when I log in as a normal user, I do see this. Is there a reason why? And, can I turn those off (I am guessing that means I go into the editor, yes?)?

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

All the display elements are controlled by your theme…  and template functions.. in this case,the unread post list is designed by default to not show to admins – thought is most admins use the admin bar…  but you change the arguments to the template function to make it display for admins too… or just remove the template function and no on sees it… your call…

see:  http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_unreadpostsinfo/

EL Elsa
Elsa
Member

Hi Mr. Papa,

I’m wanting to be able to see this section while logged in as admin as well.  I followed the link you provided, but I’m afraid it is beyond my scope of expertise.  Would it be possible for you to explain in a little more detail, which template page I’m to edit, and with what code?

MP Mr Papa
Mr Papa
Member

you need to edit the spGroupView.php template file in your sp theme…. if you dont have your own sp theme, make one:

http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

in that template file, look for:

sp_RecentPostList(‘show’, __sp(‘Unread and recently updated topics’));

and change it to:

sp_RecentPostList(‘show&admins=1’, __sp(‘Unread and recently updated topics’))