![]() |
multicolored name
<a href="http://www.mmoccforum.com/interviews-articles/6994-interview-amber-hydro-island-community-manager.html#post67122" target="_blank">http://www.mmoccforum.com/interviews...html#post67122</a>
How did he get two colors as his name? :P |
He used the font tag...
HTML Code:
<font color="black">C</font><font color="orange">h</font><font color="black">u</font> |
Where is this tag placed?
|
No.. that wouldn't work. You'd need a plugin to break down the username and switch the style on each letter.
|
1 Attachment(s)
You would also want to use the "<span style='color: #FF0000;'/>" as its more w3c compliant. :)
|
You can also use vBulletin's own Replacements system to replace all occurences of "Chris M" to "Chris M" etc
Chris |
Quote:
Code:
<span style="color:#ff0000">text_here</span> |
Well I got bored and decided to see what I could put together, and came up with this:
PHP Code:
Dunno how efficient it is, but it does work. |
Quote:
|
Quote:
|
Quote:
Quote:
|
Ahh, ok. I wondered because generally there are double quotes surrounding the attributes/values rather than single quotes.
|
They're interchangeable, I just didn't feel like escaping the double quotes.
|
Cool. :)
|
Quote:
|
thanks Kirk Y, that worked... you made that look ez...
|
how do i configure it with the usernames Kirk Y
|
This is how I did it....
Add New Plugin 1: In Product >> vbulletin 2: Hook Location >> postbit_display_start 2: Title >> multicolored name 3: Execution Order >> 5 4: Plugin PHP Code >> PHP Code:
For usergroupid'] == 6) everyone in this user group will be the same color.... |
This is awesome... Is there a way to make it show throughout the forum instead of just posts?
|
All times are GMT. The time now is 01:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|