Support Forum
I see a list of "Unread and recently updated topics" at the bottom of my forums when viewing in guest mode and as a regular member, but not as a moderator. I've been all through settings and can't for the life of me find out how to turn that off. Can someone please help? Thanks!
Edit: I guess it's not an option? I might be able to hide it with css but would like a better way.
actually quite easy... in your group view template file, just change:
sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));
to
if ($spThisUser->moderator) sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));
Visit Cruise Talk Central and Mr Papa's World
Ok, thanks. But since I'm not familiar yet with messing around with SP child themes or inserting php or however I would do this so it wouldn't disappear on an update, I opted to go the css route. (Might come back later and try to do it right)
Anybody else interested in that css, it works to put this in your WordPress child theme's css:
#spMainContainer #spRecentPostList { display: none !important; }
if you created a child theme or your own sp theme as we always recommend, you would not lose any changes...
Visit Cruise Talk Central and Mr Papa's World
Unfortunately, my fix is not a fix at all. This css also hides the recent posts when you click on your notifications and go to the recent-posts-specific url from there. Since it is the same WordPress page id, it can't be ruled out that way. The only difference is the url, as far as I can see (in regards to css id's). So I'm not sure if this can be hidden with css after all.
Mr Papa said
if you created a child theme or your own sp theme as we always recommend, you would not lose any changes...
Ok. Worked up the guts to try the child theme again. Started from scratch and copied the entire group view template php into it, made the changes Papa posted up there in post #2. That's how to do it, right? It seems to have worked, although my recent posts images are all as if the posts have already been read. Hoping that's some sort of re-set thing that happened because I changed themes and not something else?
Yeah, to add to that above post ^ just got another new post and it's looking like the child theme change causes the "new post" image to not show on the notification page. It still shows on the forum page and in the forum itself, on the thread. It was showing before I did this "fix", any ideas what's going on here?
Yes that is the way to do it. If it's a CSS change you only need the changed rules in the stylesheet as it will load them individually, if it's a template, you will need (I think) to have the entire template in your child theme - with changes made.
I'm pretty sure all the code change does is only allow it to be viewed by a moderator. When you made the child theme did you copy over the images folder? If you haven't customised any of these icons you don't need them in your child theme.
Other than that I'm not sure.. Which page are you referring to by 'notification page'? Are we talking about the 'this forum has unread posts' button in the group view?