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
Removing the stats bar
Avatar
Internet Able
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 3:52 am

Hi,

Is there any way to remove the stats bar that appears at the bottom of the page (the bit that shows number of users online etc)

It's a great thing to have when you're more established but an arkward set of numbers in the early days 🙂

I've manually removed it by editing the code, but this seems to be undone whenever I update the plugin.

 

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2012 - 5:06 am

This is why we recommend you create your own SP theme - just a few minutes work - so that it is protected from being overwritten by updates.

http://codex.simple-press.com/.....g-a-theme/

The you can simply comment out the call to the stats in the spFoot.php theme file and it will stay that way until you uncomment it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Internet Able
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 11:30 am

Thanks.

Surely that's a bit of overkill where a 'show stats bar' setting would do though?

Any plans for a future release?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2012 - 2:27 pm

The whole point of moving in V5 to a template driven display was to allow users to be able to make easy customisations - something which was not possible before without hitting core code. In your case you just wanted to remove the whole lot but actually the function you removed has a lot of power in enabling a user to change the way those stats look and display.

This was a contentious issue previously and we were forever having to say to users no - you need to change core code to do this or that. This is now rarely the case and hopefully we will do away with any areas that come to light where this is still not possible.

So this is largely an issue of not being able to please all of the people all of the time but we can now please a lot more people than we used to.

We used to have a ,lot of options that have been removed and another good result is smaller code and better performance. So afraid not - there is and will be no plan to re-introduce them.

And - using templates is also in keeping with the way that WP itself works of course.

andy-signature.png
YELLOW
SWORDFISH
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