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
How to NOT show 'unread posts' list for new visitors
Avatar
Patricia Miller
Member
sp_UserOfflineSmall Offline
May 16, 2016 - 3:41 pm

I've combed through this page for clues, but still not understanding:

https://simple-press.com/docum.....tpostlist/

For a brand new visitor, ALL posts would be unread, and I don't want to show that view I'd rather show the normal group view of the forums list.

I'm using a Child theme based on the css-only theme, and understand that I need to modify the [Child Theme's] spGroupView.php file, but not sure what lines to modify or how.

Any help would be most appreciated - thanks!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 16, 2016 - 3:52 pm

Hey Patricia,

A nice and easy one, especially since you're already running a child theme!

So yes, you have the right template and you're looking at the right function, all you need to do is simply comment it out using a hash (#) before the function so it appears:

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

Commenting out is usually better than deleting as it's easier to put back in should you choose to later.

Hope that helps!

Avatar
Patricia Miller
Member
sp_UserOfflineSmall Offline
May 16, 2016 - 4:17 pm

Yaay! Worked perfectly!  I had a feeling it was something simple like that. 🙂

MANY thanks for your quick and helpful reply!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 16, 2016 - 5:44 pm

No problem, happy to help.

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