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
Usergroup Custom Colors
Avatar
donald salter
Member
sp_UserOfflineSmall Offline
Jan 22, 2016 - 11:48 am

I have searched but cannot find anything so pardon this if it has been answered. I need to change the color of certain usergroups on my forum i.e. sponsors, admins, etc.

How do I accomplish this?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 22, 2016 - 12:42 pm

But where, exactly, do you want any colouration to take place?

andy-signature.png
YELLOW
SWORDFISH
Avatar
donald salter
Member
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:08 pm

I would like admin names to appear red in the member list as well as their name to be red in topic posts and replies.

Same with sponsors but in another color such as blue 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:22 pm

You're going to have to bear with me here as I don't currently have access to my local test environment so although I know it's possible, right now the CSS is guess work!

Firstly, could you go to your dashboard and navigate to Forum > Themes > Custom CSS..  Please add the following CSS:

#spMainContainer .spTopicPostSection .spType-Admin .spProfilePopupLink {
    color: #FF0000;
}

#spMainContainer .spMemberGroupsSection .spUsergroup-admins .spProfilePopupLink {
    color: #FF0000;
}

And let us know how it goes? We may need to adjust a couple of the classes used there.

Also in order to give 'Sponsors' a colour we would need to see the members list group and also a post from a sponsor to know what class to target.

Avatar
donald salter
Member
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:45 pm

I tried to use your suggestion for the default moderator group. This is what I used below with no luck.

#spMainContainer .spTopicPostSection .spType-Moderators .spProfilePopupLink {
color: #FF0000;
}
#spMainContainer .spMemberGroupsSection .spUsergroup-moderators .spProfilePopupLink {
color: #FF0000;
}

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:49 pm

Afraid I will have to hand this one over to Andy or Steve. As I said currently have no test environment so can't try it out locally, but it is definitely possible.

Avatar
donald salter
Member
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:50 pm

Thanks Ike. This is the forum like FYI http://yotamafia.com/forum/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 22, 2016 - 1:50 pm

Just check in forum admin > options that you are not using the CSS compressed cache. If you are - turn it off until you are happy with any changes.
Also - depending on what browser you are using you will probably need to clear the web cache between tests. Chrome and IE/Edge both cache things far longer than many other browsers.
So try those things first and then come back and let us know the outcome.
i will be off-line for a short spell but will be back in a little while to pick this up

andy-signature.png
YELLOW
SWORDFISH
Avatar
donald salter
Member
sp_UserOfflineSmall Offline
Jan 22, 2016 - 2:00 pm

Would that be in one of these sections?

 

Because I do not see any settings with the wording you mentioned.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 22, 2016 - 3:34 pm

Yes indeed. Global settings over on the right. Apologies for not being more specific.

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