Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Clan Tag In Post Bit Details »
Clan Tag In Post Bit
Mod Version: 1.00, by iDHKHCM (Member) iDHKHCM is offline
Developer Last Online: Aug 2012 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 15
Released: 07 Nov 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



right above it add: (Replace Red XX with the profile feild number)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after its done it will look like this

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pf.png
Views:	138
Size:	59.4 KB
ID:	134305   Click image for larger version

Name:	ct.png
Views:	136
Size:	3.8 KB
ID:	134306  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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  
Old 18 Nov 2011, 02:36
djscoop djscoop is offline
 
Join Date: Jun 2010
Cant get this one to work - Something about a tag
Reply With Quote
  #3  
Old 19 Nov 2011, 07:18
iDHKHCM iDHKHCM is offline
 
Join Date: Aug 2011
Originally Posted by djscoop View Post
Cant get this one to work - Something about a tag
fixed try again
Reply With Quote
  #4  
Old 19 Jan 2012, 03:04
UncleGrundle UncleGrundle is offline
 
Join Date: Dec 2008
Reserved for future use.
Reply With Quote
  #5  
Old 21 Jan 2012, 08:46
Spectre_Aidan Spectre_Aidan is offline
 
Join Date: Jul 2011
thanks for this i got it working perfectly on my forum running 4.1.10 and it was just what i needed aswell
Reply With Quote
  #6  
Old 23 Feb 2012, 00:02
MrBeastlymfe's Avatar
MrBeastlymfe MrBeastlymfe is offline
 
Join Date: Dec 2011
You add the code above
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And under
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #7  
Old 25 Mar 2012, 17:16
SnaKe |WiH| SnaKe |WiH| is offline
 
Join Date: May 2006
Thank you for the great edit. Is there anyway to link the color to the usergroups color?
Reply With Quote
  #8  
Old 25 Mar 2012, 22:57
iDHKHCM iDHKHCM is offline
 
Join Date: Aug 2011
Originally Posted by SnaKe |WiH| View Post
Thank you for the great edit. Is there anyway to link the color to the usergroups color?
i wouldnt know how to do it....im sure its possible though
Reply With Quote
  #9  
Old 26 Mar 2012, 22:56
SnaKe |WiH| SnaKe |WiH| is offline
 
Join Date: May 2006
Hmmm......okay....we will have to look into it.
Reply With Quote
  #10  
Old 20 Jul 2012, 06:40
Dogma21cw Dogma21cw is offline
 
Join Date: Sep 2011
Real name: Chris
GREAT WORK! Love it. Is there a way for it to read the contents of the field and set the color dependent on that?
Reply With Quote
  #11  
Old 20 Jul 2012, 06:51
Dogma21cw Dogma21cw is offline
 
Join Date: Sep 2011
Real name: Chris
See below.

Last edited by Dogma21cw; 26 Jul 2012 at 07:32.
Reply With Quote
  #12  
Old 20 Jul 2012, 07:08
Dogma21cw Dogma21cw is offline
 
Join Date: Sep 2011
Real name: Chris
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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Works great, automatically assigns team tags & colors based on the usergroup.

Last edited by Dogma21cw; 26 Jul 2012 at 07:33.
Reply With Quote
  #13  
Old 20 Jul 2012, 08:08
Dogma21cw Dogma21cw is offline
 
Join Date: Sep 2011
Real name: Chris
Ok, I fixed it. Had to use $post instead of $bbuserinfo. $post made it look at the poster's usergroup, not the viewers.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.
Reply With Quote
  #14  
Old 20 Jul 2012, 10:08
Dogma21cw Dogma21cw is offline
 
Join Date: Sep 2011
Real name: Chris
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?
Reply With Quote
  #15  
Old 05 Oct 2012, 11:04
MG Zebra MG Zebra is offline
 
Join Date: Sep 2012
Real name: Josh
How could I get text next to it so it would say Clan Tag: {[DM]} or something different than the question for the box.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:59.

Layout Options | Width: Wide Color: