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
Is it Possible to Color Code User Groups?
Avatar
April
Virtual Dream Land
Member
Free Members
sp_UserOfflineSmall Offline
Jan 26, 2012 - 5:52 pm

Yellow Swordfish said

If you give me a link to a forum/topic or whatever that has an example of that on it I can take a quick look.

No I changed it in themes, in the CSS I added that code to the bottom and the colors were still the same so I changed it back again.

http://i872.photobucket.com/albums/ab288/april2011LBP/psrbanner.png

Avatar
April
Virtual Dream Land
Member
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 12:56 pm

Sorry for the double post, but I had asked a question and am not sure if anyone has read it yet. Where in the CSS am I supposed to add the piece of code you provided me for the user groups? I added it to the bottom and nothing happened. Is there a certain section that it should go?

http://i872.photobucket.com/albums/ab288/april2011LBP/psrbanner.png

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 28, 2012 - 2:49 pm

Well yes I did answer it in the post before. Put it back where you out it before and let me have a look.

andy-signature.png
YELLOW
SWORDFISH
Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 3:48 pm

I gave this a try, I added .spUsergroup-admin { color: #FF0000; } to the custom.css file of my theme and nothing happened.  I'm not too skilled with CSS either so I must have it wrong.

 

Hey April, your best bet is make a feature request for a next version.  wink  I also think this could be used by many as like you said, some popular forum software already offer that option.  S:P is the work of 2-3 guys only and this must also be taken into consideration.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 3:54 pm

you just need to drill down a bit further to exactly what you want to change...  some of the lower level css will already have a color, so specifying at a higher level will get overridden...

what were you actually trying to change to red (#ff0000)?

firefox and firebug are invaluable in doing things like this... inspect the text you want to change and it will give you a complete hierarchy of the styles on that element... 

Avatar
April
Virtual Dream Land
Member
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 3:56 pm

Yellow Swordfish said

Well yes I did answer it in the post before. Put it back where you out it before and let me have a look.

Okay I will put the code back in and change the color of the admin ranks.....give me 10 minutes from this message and it will be done. I will leave it there so you can take a look....here is the web address again. http://www.playstationrealms.com

 

Also I think what you are doing is great and I do appreciate it. I know it is hard work. In the future would be awesome if there was an option under create user groups that allowed you to put in html color when creating that specific group. Personally the admins and mods should come with a color already as they come with the forum software, maybe the traditional red and green?

http://i872.photobucket.com/albums/ab288/april2011LBP/psrbanner.png

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 4:11 pm

we use badges for the special recognition you are trying to achieve...  but color would be noticeable too... your adding colors for each usergroup would make a good plugin for someone to write for sp... not too terribly difficult...

Looks like I cannot help out here though... I dont have the credentials to actually see post content...

Avatar
April
Virtual Dream Land
Member
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2012 - 11:57 am

Mr Papa said

we use badges for the special recognition you are trying to achieve...  but color would be noticeable too... your adding colors for each usergroup would make a good plugin for someone to write for sp... not too terribly difficult...

Looks like I cannot help out here though... I dont have the credentials to actually see post content...

Yes would be a great plug in! I changed the permissions so that guests can view post content.

http://i872.photobucket.com/albums/ab288/april2011LBP/psrbanner.png

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2012 - 7:32 pm

first, you have to look at the classes that are applied to all the elements in the hierarchy...  firefox with firebug is great for that...  have you tried that?

second, this is going to be difficult to do given that in your case, you are assigning yourself multiple special ranks... 

to get at one you would style such:

.spSpecialRank-realms-admin .spPostUserSpecialRank {color:#ff0000;}

would make any one with the realms-admin special rank have red color text... 

if you add another special rank, like your players club, they will override each other... 

if you wanted to style a regular rank, it would be something like

.spUsergroup-members

or for a use type:

.spType-User

and then further on which element you wanted to color... so it varies very much on what you want to do... which is why firefox and firebug is highly recommended for finding exactly what you want to color...

I will see about adding a span element or something on the ranks and special ranks so they can be individually targeted...

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620