The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom usertitle colors based on forum style
I have 3 different skins, but the custom usertitles look horirble on the two non-default skins. Is there any hack that allows me to have usertitle formatting based on what style they use?
|
#2
|
||||
|
||||
Use replacement codes
Chris |
#3
|
|||
|
|||
What are replacement codes?
|
#4
|
||||
|
||||
In your Admin CP there will be a link in the nav bar, under the Style Manager area, called "Replacement Variable Manager"...
Beside your style name there will be a link to "Add New Replacement Variable" - Click it, and add something like: {usertitlecolour} Then add the replacement code for it, like: #FF0000 Now just use a span tag around the usertitle where it is shown (posts and profiles): Posts: HTML Code:
<span style="color: {usertitlecolour};">$post[usertitle]</span> HTML Code:
<span style="color: {usertitlecolour};">$userinfo[usertitle]</span> Chris |
#5
|
|||
|
|||
Thanks chris!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|