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 hide statistics and quick links dropdowns
Avatar
Roger Martin
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2015 - 1:20 pm

Brand new customer here, and apologies if the answer is in the forum or docs, but I couldn't find it.

I want to hide the two quick links dropdowns for topics and posts at the top right of the forum.

I also want to hide the statistics box at the bottom.

I can't find any options that control this. Do I need to hide them with CSS?

The test site I'm working with is here: http://dev.galleryserverpro.com/forum/

Thanks,
Roger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2015 - 1:36 pm

Hey Roger,

It's pretty straight forward to hide these sections, but before getting stuck in, it's advisable to create a child theme of 'default' theme which you appear to be using. This should only take a few minutes, and it will ensure that when SP updates your changes aren't lost / overwritten.

Firstly the stats section, once you have your child theme in place, you will want to open spFoot.php located in:

sp-resources > forum-themes > yourthemename > templates > spFoot.php

On line 27 you have a section start which is where the stats section begins, and on line 65 you have the section end. You can just comment the entire section out with /* before the section start, and */ after the section end.

You can do exactly the same for the quicklinks menu's. The template will be found in the same folder, and in this case you want to open spHead.php.

Find again, on line 113 you have a section start for the quicklinks, and on line 117 you have a section end. Just comment these out the same as explained for the stats section.

Just in case you are not familiar with php, commenting is far better than deleting, as it will enable you to quickly delete the comments and add the code back in should you want to do so in the future.

Hope this helps!

Avatar
Roger Martin
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2015 - 4:44 pm

Worked like a charm. Thanks so much!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2015 - 4:50 pm

No problem, glad to gelp!

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625