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 Remove Member Stats?
Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2015 - 10:07 am

Hi guys,

How can I remove the Member Stats section?

member-stats.jpgImage Enlarger

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2015 - 11:21 am

since simple press is theme driven, you have control over what and where items are displayed...  in the sp theme you are using, you will find template functions that control the display of items...  just remove the ones you dont want...

in this case, since the stats are displayed on every sp page by default (again, under your control), you would want to edit your sp theme, the spFoot.php template file and remove this code:

        sp_ColumnStart('tagClass=spColumnSection spRight spMembershipStats&width=20%&height=0');
            sp_MembershipStats('tagClass=spRight', __sp('Member Stats: '), __sp('Members: %COUNT%'), __sp('Guest Posters: %COUNT%'), __sp('Moderators: %COUNT%'), __sp('Admins: %COUNT%'));
        sp_ColumnEnd();

as always, we strongly urge you to create a child theme (https://simple-press.com/simpl.....ld-themes/) or make your own theme (https://simple-press.com/docum.....g-a-theme/) instead of editing one of our themes to keep from losing your changes should our themes be updated...

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Jan 3, 2015 - 10:07 am

Perfect, thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 3, 2015 - 11:41 am

you are welcome...

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