The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HTML Markup Per User / Adding Unique Icon(s) Next To Username
Hello guys,
I was hoping, I could get some help on this: I'm trying to add an unique icon next to username. Yes, you can accomplish this with the *Username HTML Markup*, but that can only add 1 icon for 1 entire usergroup. What if I want multiple icons / user, while most of the users will have an unique set of icons. Any ideas, where to begin? Any help much appreciated. Regards, ~t3h'Pâr4d0x |
#2
|
||||
|
||||
Try this:
Code:
.username[href^="http://www.yoursite.com/member.php?12345-"]:before { content: ''; width: 16px; height: 16px; display: inline-block; background: transparent url("/path/to/the/image.png") no-repeat 0 0; background-size: cover; margin-right: 5px; } Note: Do not remove the hyphen after the userid. That ensures 12345 will not match 123456. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|