![]() |
|
Mod Options |
![]() |
|||||||||||||||||
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:
right above it add: (Replace Red XX with the profile feild number)
after its done it will look like this ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Mini Mods Clan Tag in postbit legacy | zombietom | vBulletin 3.8 Template Modifications | 0 | 15 Sep 2009 05:47 |
Mini Mods Clan Tag in postbit legacy | zombietom | vBulletin 3.7 Template Modifications | 0 | 15 Sep 2009 05:44 |
Comments |
#2
|
|||
|
|||
Cant get this one to work - Something about a tag
No members have liked this post.
|
#3
|
|||
|
|||
No members have liked this post.
|
#4
|
|||
|
|||
Reserved for future use.
No members have liked this post.
|
#5
|
|||
|
|||
thanks for this i got it working perfectly on my forum running 4.1.10 and it was just what i needed aswell
![]() The following members like this post: iDHKHCM
|
#6
|
||||||||
|
||||||||
You add the code above
And under
No members have liked this post.
|
#7
|
|||
|
|||
Thank you for the great edit. Is there anyway to link the color to the usergroups color?
No members have liked this post.
|
#8
|
|||
|
|||
i wouldnt know how to do it....im sure its possible though
No members have liked this post.
|
#9
|
|||
|
|||
Hmmm......okay....we will have to look into it.
No members have liked this post.
|
#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?
No members have liked this post.
|
#11
|
|||
|
|||
See below.
No members have liked this post.
Last edited by Dogma21cw; 26 Jul 2012 at 07:32. |
#12
|
||||
|
||||
YAY! I figgered it out. I had to create a custom phrase in the phrase mananger.
Went AdminCP>Phrase Manager. Phrase type: GLOBAL, then add new phrase. Product: vBulletin Varname: oppdiv//this was the name of the team Text: [TEAM1] Translations: [TEAM1] Then used the following code when editing the postbit template:
Works great, automatically assigns team tags & colors based on the usergroup. No members have liked this post.
Last edited by Dogma21cw; 26 Jul 2012 at 07:33. |
#13
|
||||
|
||||
Ok, I fixed it. Had to use $post instead of $bbuserinfo. $post made it look at the poster's usergroup, not the viewers.
That's for 1/2 of our tournament. oppdiv is the phrase I created for their team. 779 is the top ranks in BOLD & ITALICS. 780 is the mid ranks in BOLD. And 778 is the lowest with nothing special about it. Thanks for your hard work in showing me the way, I hope this post of mine helps others. No members have liked this post.
|
#14
|
|||
|
|||
Ok, that all works for the postbit. But does anyone know where I'd do to add this to the user profile page, and the currently active users sections?
No members have liked this post.
|
#15
|
|||
|
|||
How could I get text next to it so it would say Clan Tag: {[DM]} or something different than the question for the box.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 12:59.