The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
||||
|
||||
![]()
It's very achievable. For experiment sake, create a custom Profile Field with a single line textarea entry. Set the title to something like "Custom Username Colors". In the Description say something like "Custom user colors: Only HEX values allowed." Set max length to 7 and display size to 11. Enable it so that users can edit it. After setting the other definitions click "Save". Remember the field's ID.
In your postbit or posbit_legacy find: Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> Code:
<if condition="$post[field19]"><a class="usercolor" href="member.php?$session[sessionurl]u=$post[userid]"> <span style="color:$post[field19]">$post[musername]</span></a> <else /> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> </if> Then in Main CSS add this to Additional CSS Definitions: Code:
.usercolor { font-size:15px; font-weight:bold; text-decoration:none; } Anyway, it should work for IE, Firefox... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|