The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

User Name Prefixes for entire User Group

View previous topic View next topic Go down

Solved User Name Prefixes for entire User Group

Post by Alaskamo on October 11th 2013, 1:41 am

I've found code on here to add prefixes to a user group in the legend, and to add prefixes to specific users... but I would like to know if I can give prefixes to an entire user group in one shot, rather than having to do each member individually.

Edit: basically I want to be able to do what the Forum Administrator group does (Prefixed automatically with "@"), just with other custom User Groups.

Alaskamo
New Member

Posts : 10
Reputation : 1
Language : English

Back to top Go down

Solved Re: User Name Prefixes for entire User Group

Post by Ange Tuteur on October 11th 2013, 1:53 am

Hello Alaskamo,

You can set specific styles for group members simply by selecting the group color which has colored those users. This should only affect usernames.

Code:
a span[style="color:#C20000"] strong:before {
 content: " [A]";
 vertical-align:text-top;
 font-weight:bold;
 font-size: 7px;
 color:#c20000;
 text-shadow: 0px 0px 0px #c20000;
}
Result if your group color is #C20000:

All you need to do is modify this peice:
a span[style="color:#C20000"] strong

To the EXACT HEX COLOR of your group. You can see the colors of your groups by going to..
Administration Panel > Users & groups > Groups > Groups administration >

Edit the group you want, look to 'Group Members Color', copy the hex color, and paste it into the selector.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: User Name Prefixes for entire User Group

Post by Alaskamo on October 11th 2013, 2:05 am

Well there's a clever bit of coding, and it works great! Thanks!

Alaskamo
New Member

Posts : 10
Reputation : 1
Language : English

Back to top Go down

Solved Re: User Name Prefixes for entire User Group

Post by Ange Tuteur on October 11th 2013, 4:05 am

You're welcome! ^^

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: User Name Prefixes for entire User Group

Post by Sir Chivas™ on October 11th 2013, 4:21 am

ArrowNOTICE


Topic Solved & Locked!

Thank you for using Forumotion.

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum