Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Clan Tags for Usernames in Posts Details »»
Clan Tags for Usernames in Posts
Version: 1.3, by harmor19 harmor19 is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.0 Rating:
Released: 05-11-2009 Last Update: 05-14-2009 Installs: 59
Uses Plugins
 
No support by the author.

With this modification you can create a Custom Profile Field that displays to the left of the username in posts as well as assign a color to the tags without editing a template.

Install Instructions
1. Go to ACP
2. Expand "Plugins & Products"
3. Click "Manage Products"
4. Click "[Add/Import Product]"
5. Browse to "product-ah_clan_tags.xml" and import it.

Setup Instructions
Create a Custom Profile Field that you wish to be displayed beside usernames.
Remember the number of the field ID and go into "Clan Tag Options" in "vBulletin Options".
Type the number into the field labeled "Field ID".

The Left and Right Boundary fields can be used to identify the tag.
Instead of "Revharmor19" you can change it to "[Rev]harmor19" or any other character(s) you wish.

Updates
1.1: Fixed the problem of another Custom Profile Field showing when you assign a color to the tags.

1.2: An option to either add or remove the space between the tag and username.
You can add boundary boxes to make the tags easily recognizable.

1.3: Fixed issue with displaying of boundary boxes even if the user didn't enter any text into the field on their profile.

Download Now

File Type: xml product-ah_clan_tags.xml (4.9 KB, 302 views)

Screenshots

File Type: jpg vboptions.jpg (67.6 KB, 0 views)
File Type: png postbit.png (40.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-12-2009, 05:33 PM
Honk0815 Honk0815 is offline
 
Join Date: Feb 2007
Location: Germany
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this hack for postbit legacy..
Can you creat this?
or what is the variable?
Reply With Quote
  #3  
Old 05-12-2009, 05:37 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will work with postbit and postbit_legacy.
Reply With Quote
  #4  
Old 05-12-2009, 07:46 PM
ZiG ZiG is offline
 
Join Date: Oct 2002
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome mod!
Reply With Quote
  #5  
Old 05-13-2009, 02:52 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZiG View Post
awesome mod!
Thank you.
Reply With Quote
  #6  
Old 05-13-2009, 06:25 AM
Phosphorus Phosphorus is offline
 
Join Date: Jan 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for this..

But i have a problem ... if i put a other color for clan tag the mod display a other field ...
Reply With Quote
  #7  
Old 05-13-2009, 08:52 AM
Bowromir Bowromir is offline
 
Join Date: Dec 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good stuff!!! great
Reply With Quote
  #8  
Old 05-13-2009, 09:39 AM
RG_LunAnder RG_LunAnder is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phosphorus View Post
thx for this..

But i have a problem ... if i put a other color for clan tag the mod display a other field ...
Might be a typo in the plugin, this line:
Code:
$post['musername'] = $tagcoloropen.$post['field5'] .' '. $tagcolorclose.$post['musername'];
could be like:
Code:
$post['musername'] = $tagcoloropen.$post['field'.$fieldx] .' '. $tagcolorclose.$post['musername'];
Id also would like to suggest the tag to be attached directly to the username instead of a blank inbetween.

btw. GREAT plugin! thnx for developing.
/Lun
Reply With Quote
  #9  
Old 05-13-2009, 09:49 AM
RG_LunAnder RG_LunAnder is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh and an other suggestion, id rather have:
Enable Clan Tags? (Yes) (No)

instead of the current:
Choose 'Yes' to disable Clan Tags (Yes) (No)

but its a matter of taste... i just didnt get why i couldnt get the clantag to show... till i actually read the line "Choose 'Yes' to disable Clan Tags" - and of course ive choosen yes... lol

/Lun
Reply With Quote
  #10  
Old 05-13-2009, 10:56 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will see if there is a typo in the code.

Quote:
Originally Posted by RG_LunAnder View Post
Id also would like to suggest the tag to be attached directly to the username instead of a blank inbetween.

btw. GREAT plugin! thnx for developing.
/Lun
That's a matter of personal taste. If you wish to remove the space between tag and username you can do it yourself.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08495 seconds
  • Memory Usage 2,322KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete