![]() |
Clan Tag In Post Bit
1 Attachment(s)
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: http://i447.photobucket.com/albums/q...e/other/pf.png Now Go To postbit_legacy And Find: HTML Code:
<vb:else /> right above it add: (Replace Red XX with the profile feild number) Code:
<vb:if condition="$post['fieldXX']"> http://i447.photobucket.com/albums/q...e/other/ct.png |
Cant get this one to work - Something about a tag
|
Quote:
|
Reserved for future use.
|
thanks for this i got it working perfectly on my forum running 4.1.10 and it was just what i needed aswell :D
|
You add the code above
Code:
<vb:if condition="$post['userid']"> Code:
<div class="username_container"> |
Thank you for the great edit. Is there anyway to link the color to the usergroups color?
|
Quote:
|
Hmmm......okay....we will have to look into it.
|
GREAT WORK! Love it. Is there a way for it to read the contents of the field and set the color dependent on that?
|
All times are GMT. The time now is 03:26 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:
|