Support Forum
Hey graphicken,
You can hide this section from non-logged in users pretty easily but it does involve making a template change. Are you running a child theme? If so you will need a copy of the group view template and if not you will need to set one up first. Using Default theme as an example:
Copy spGroupView.php to your child themes templates folder.
Open and find the function sp_RecentPostList (Line 101):
sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));
Wrap it in an 'is_user_logged_in' check i.e:
if (is_user_logged_in()) { sp_RecentPostList('show=10', __sp('Unread and recently updated topics')); }
If you are using Reboot theme, it's worth mentioning that the templates have Desktop and Mobile subfolders, so instead of spGroupView.php you would need to edit spGroupViewDesktop.php from the desktop folder.
Hope that helps!
Child themes have been solid since 5.5, so you won't need to upgrade to create one, but if you don't and just change the stock theme it will work for as long as you continue to run 5.5.6. As soon as you upgrade the template changes will be overwritten.
Either way, happy to help!
1 Guest(s)