Support Forum
Is there a simple way to remove the Top Posters from the bottom stats window in my forum.
I found where I can change the number of top posters to 0, but I would like to remove it all together for everyone but admins and moderators.
I also looked in the permission settings for each group, but didn't see it there.
Can you point me in the right direction?
Thank you!
site: raphajourney.com/community-forum
Hey Jenn,
Unfortunately it isn't an option or permission so it has to be done via a template change. This might sound long winded but it's actually very easy and quick..
First off you will need to make a child theme - This will mean that once you have your change in place you can still receive updates to Reboot without losing your change.
We provide the child theme frameworks free in the store so you can get going quickly, so start off by downloading the Reboot Child Theme Framework.
After it's set up you will want to copy spFootDesktop.php from the reboot > templates > desktop folder to your child themes templates > desktop folder and open it up in your preferred editor.
Then scroll down to line 50 where you should see:
sp_ColumnStart('tagClass=spColumnSection spRight spTopPosterStats&width=25%'); sp_TopPostersStats('tagClass=spRight', __sp('Top Posters: ')); sp_ColumnEnd();
You can just remove it or comment it out with a # before each line, but if you want it to still appear to admins and mods you're going to want to put a check on it so it will then appear:
if($spThisUser->moderator) { sp_ColumnStart('tagClass=spColumnSection spRight spTopPosterStats&width=25%'); sp_TopPostersStats('tagClass=spRight', __sp('Top Posters: ')); sp_ColumnEnd(); }
This will make it visible to anyone with moderator permissions and in turn admin.
Hope that helps!
1 Guest(s)