icon before username for staff only
3 posters
Page 1 of 1
icon before username for staff only
Technical Details
Forum version : #phpBB3
Position : Administrator
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : http://avacs.zforum.biz
Description of problem
i wana add icon before user name but just for specific groups like Admin, co admin, super moderator etc i follow this thread https://help.forumotion.com/t131443-customize-usernames-according-to-group#881088 but its not working..Re: icon before username for staff only
Take this code:
, then you would put that in the place of "COLOR OF GROUP".
Take this part of the code:
and replace it with the image you want.
- Code:
a span[style="color:#COLOR OF GROUP"] strong {
background:url(http://2img.net/i/fa/empty.gif) no-repeat;
padding-left:16px;
}
|
Take this part of the code:
|
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
Forumedic wrote:Take this code:And replace the "COLOR OF GROUP" with the exact hex color of the usergroup you want the icon added to. For example, if your administrator group was the color
- Code:
a span[style="color:#COLOR OF GROUP"] strong {
background:url(http://2img.net/i/fa/empty.gif) no-repeat;
padding-left:16px;
}, then you would put that in the place of "COLOR OF GROUP".
- Code:
#FF0000
Take this part of the code:and replace it with the image you want.
- Code:
http://2img.net/i/fa/empty.gif
not working
i don't wana open css style sheet for every new, i do want it for whole group and in this thread showing i must go to css page and code for every new member if i want to add icon before name of him/herRoyal Bengal wrote:Hello,
You can follow this tutorial too https://help.forumotion.com/t90311-how-to-add-an-icon-before-username
Re: icon before username for staff only
@faisii_x please send what you put in the CSS. The code works, so there must be an issue on your end.
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
Forumedic wrote:@faisii_x please send what you put in the CSS. The code works, so there must be an issue on your end.
see @Forumedic
- Code:
span[style="color:#ff0000"] strong {
background:url(http://i84.servimg.com/u/f84/19/44/16/59/couron10.png) no-repeat;
padding-left: 14px;
}
Re: icon before username for staff only
not workingRoyal Bengal wrote:Try to paste code in the bottom. It should works
Re: icon before username for staff only
i don't think problem in whole cssRoyal Bengal wrote:I think problem in whole css. Copy whole code and paste here. Coding master @Ange Tuteur can help!
Re: icon before username for staff only
What hex color is your administrator group? Also what browser are you using?
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
Everyone who wants to tag Ange Tuteur need to understand that that usernames that have spaces you have to place the username in quotes.
- Code:
@"Ange Tuteur"
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: icon before username for staff only
- Code:
span[style="color:#ff0000"] strong {
background:url('http://i84.servimg.com/u/f84/19/44/16/59/couron10.png') no-repeat !important;
padding-left: 14px !important;
}
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: icon before username for staff only
SLGray wrote:
- Code:
span[style="color:#ff0000"] strong {
background:url('http://i84.servimg.com/u/f84/19/44/16/59/couron10.png') no-repeat !important;
padding-left: 14px !important;
}
not working
Re: icon before username for staff only
Did you add it to the top of the stylesheet?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: icon before username for staff only
@sLGray first i tried at top but its not work then at the end but still having problem code doesn't worked at all
Re: icon before username for staff only
Is your forum version #phpBB2 ?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: icon before username for staff only
Please changed it in your profile, because it shows #phpBB2 .
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: icon before username for staff only
Send me a test account with administration rights in PM please.
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
- Code:
a span[style="color:#COLOR OF GROUP"] strong {
background:url(http://2img.net/i/fa/empty.gif) no-repeat;
padding-left:16px;
}
The code above works, there is something on your forum preventing it from working.
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
I'm trying to find out but I don't know.faisii_x wrote:Like what how it can be solve ?
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
Okay I fixed your issue. I have no idea but there was something wrong with the color
, I changed it very very slightly where you cannot even tell the difference and it is working now!
|
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
oh thanks finally, please add space between icon and username its very closed to each other that's looking not good thanks
Re: icon before username for staff only
Will do but you will need to change the icon regardless I believe as it is made by Forumotion and copyright.faisii_x wrote:oh thanks finally, please add space between icon and username its very closed to each other that's looking not good thanks
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
Alright, is the space difference alright?faisii_x wrote:ok sure..! i will change icon
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: icon before username for staff only
i will change the icon thanks for helping bro problem solved..
Re: icon before username for staff only
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Staff Icon Next to username
» Sparkling Username with Icon
» Trying to add an icon in front of a username........
» How to add online/offline icon next to username?
» need help for this javascript about adding icon next to username
» Sparkling Username with Icon
» Trying to add an icon in front of a username........
» How to add online/offline icon next to username?
» need help for this javascript about adding icon next to username
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum