The Arcive of vBulletin Modifications Site. |
|
Clan Tag In Post Bit Details »»
|
|||||||||||||||||||||||||||||
this edit just adds a clan tag next to your username or wherever you decide to put it
first you will need to make a profile field Go to AdminCP --> User Profile Fields --> Add New User Profile Field for profile field type select Single-Line Text Box Title= Clan Tag Profile Field Category= (Uncategorized) Max length of allowed user input= 4 Field Required= Yes, at registration and profile updating Field Editable by User= Yes Private Field= No Field Searchable on Members List= Yes Show on Members List= Yes should look like this: ![]() Now Go To postbit_legacy And Find: HTML Code:
<vb:else />
{vb:raw post.musername}
right above it add: (Replace Red XX with the profile feild number) Code:
<vb:if condition="$post['fieldXX']">
<font color="red" size="4"><B>{vb:rawphrase fieldXX}[{vb:raw post.fieldXX}]</B></font></vb:if>
![]() Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Cant get this one to work - Something about a tag
|
|
#3
|
|||
|
|||
|
fixed try again
|
|
#4
|
|||
|
|||
|
Reserved for future use.
|
|
#6
|
||||
|
||||
|
You add the code above
Code:
<vb:if condition="$post['userid']"> Code:
<div class="username_container"> |
|
#7
|
|||
|
|||
|
Thank you for the great edit. Is there anyway to link the color to the usergroups color?
|
|
#8
|
|||
|
|||
|
i wouldnt know how to do it....im sure its possible though
|
|
#9
|
|||
|
|||
|
Hmmm......okay....we will have to look into it.
|
|
#10
|
|||
|
|||
|
GREAT WORK! Love it. Is there a way for it to read the contents of the field and set the color dependent on that?
|
![]() |
|
|