Support Forum

Font Colour for administrators and moderators

VS Vinod Saranga
Vinod Saranga
Member

How can I change the font colour of administrators and moderators in the footer.So when they are online they will highlighted.

7 Answers

New Answer

MP Mr Papa
Mr Papa
Member

Those names are styled… you could use the classes spModeratorList and spAdministratorsList…  but there is no logic in core to handle checks for online…

to do that, you would have to use the filters sph_ModsList and sph_AdminsList to check for online status and add a new class that you could style…

VS Vinod Saranga
Vinod Saranga
Member

Mr Papa said
Those names are styled… you could use the classes spModeratorList and spAdministratorsList…  but there is no logic in core to handle checks for online…

to do that, you would have to use the filters sph_ModsList and sph_AdminsList to check for online status and add a new class that you could style…

too technical for me,can you simplify :)

MP Mr Papa
Mr Papa
Member

It’s not particularly simple. you will need to get your hands dirty and write a bit of custom code. we can help guide you, but it will require work on your part…

but along same lines, you do know that right above the admin and mods list is a list of who is online? that includes admins and mods… is that not sufficient…

or why not do like we do here in the sidebar and list the admins and mods online status? in the template tags plugin, there is a template tag for doing such a thing… its called the admin and moderator online status… ;)

see:

http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-admin-and-moderator-online/

but if you really want to customize the stats as originally mentioned, please advise if you want a bit more detail and are prepared to write some custom code…

VS Vinod Saranga
Vinod Saranga
Member

Mr Papa said
 

but along same lines, you do know that right above the admin and mods list is a list of who is online? that includes admins and mods… is that not sufficient…

 

Hmm,

That’s better. laugh

VS Vinod Saranga
Vinod Saranga
Member

Mr Papa said
cool…  so that solves it for you?

sorry for the late reply.

 

YES!