Support Forum
Yes it is me again, promised I would be back. I have a coding question, I looked through the first 3 pages of this section and didn't find anything so forgive me if I missed this. I am wondering if it is possible to give colors to different user groups on the forum software. I have in the past used phpBB and VB and with both you can set usergroup names to different colors making it easier to pick out who is who, for example admins are usually red and mods are usually green. Is there a way to do this as right now everyone is black.
yes you can! so you really need to get firefox and firebug here... invaluable for debugging and css tweaks...
but each row or post in the topic view is given a style for the users usergroup memberships... so you can uniquely style based on the usergroup class...
the style, applied to the row (also has class spTopicPostSection) will be of the form:
spUsergroup-name
where name is the name of the usergroup, ie spUsergroup-members
p.s. too bad thats not an Xbox 360 site!
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
yes you can! so you really need to get firefox and firebug here... invaluable for debugging and css tweaks...
but each row or post in the topic view is given a style for the users usergroup memberships... so you can uniquely style based on the usergroup class...
the style, applied to the row (also has class spTopicPostSection) will be of the form:
spUsergroup-name
where name is the name of the usergroup, ie spUsergroup-members
p.s. too bad thats not an Xbox 360 site!
Okay, I will try it.
Oh and my site is not only playstation but also we do have pc, wii and Xbox topics, and even others who play xbox there as well. Maybe we can see you there .
let us know how it goes... several folks requested that but have not seen any use of it yet...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
let us know how it goes... several folks requested that but have not seen any use of it yet...
Omg this is hard for me. Well I am just learning coding so I am lost >< I really want to assign colors to user groups. Hmmm is there a section on this forum to possibly ask for a bit of help from others? I feel I might need someone who knows what they are doing to come over and help me with this.
Yellow Swordfish said
try adding to your theme CSS:
.spUsergroup-members { background-color: #XXXXXX; )
where 'members' is the name of your usergroup and XXXXXX is the colour you want the background to be.
That is assuming it is the background you want to colourise.
Umm, the background? I want to change the colors of the members names according to their usergroups. So I don't think it is the background I want to color is it? Like I want to set it up like this, admin is red, mod is green, blogger is orange, etc. If I knew exactly where in the CSS to change the main parts.....arrrgggghh
then change background-color to color...
its not a change... you have to add it... by default, none of our themes color by usergroup so we dont have css for it... so you have to add it yourself... additionally, there is really no way for us to know ahead of time what your usergroups might be called...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)