Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
vBUT - User Group User Titles & Custom User Titles Details »»
vBUT - User Group User Titles & Custom User Titles
Version: 1.0, by Lee Roberts Lee Roberts is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.x Rating:
Released: 02-28-2013 Last Update: 02-28-2013 Installs: 9
Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

Introduction
This modification is designed to meet the needs of a request by ?Zakalway?.
It adds ?User Group User Titles? and ?Custom User Titles? to the user information area of a post; it supports both the ?postbit? and ?postbit_legacy? templates. Please see the screen shots below and also the install instructions.

Features:
- Just two manual template edits
- Supports postbit and postbit_ legacy templates
- No admin options to change or setup - simple and gets the job done.
- Follows the standard vBulletin titles ladder system.

Support
I?ve spent about 5 hours trying to make this a 100% ?no manual edits required? modification, however unfortunately I don?t think this can be done due to the way user titles are handled in vB (the title ladder!), I could be wrong and there may be a way, for me it?s now beyond the amount of time I can invest in this. I will offer support related to getting it installed, anything more and I can?t help you sorry!

Install/Upgrade
Simply import the product xml file (download below), if you are upgrading from an older version follow the same steps as installing for the first time, choosing ?Yes? to overwrite files and/or settings where applicable.

Manual Template Edits
GO TO: "AdminCP > Styles & Templates > Style Manager > Template Options > Edit Templates"

From the scrollable menu list of templates, find the ?Postbit Templates > postbit? template and choose Customize.

In this template:

FIND:
Code:
<span class="usertitle">{vb:raw post.usertitle}</span>
REPLACE WITH:
Code:
<span class="usertitle">{vb:raw post.displayusertitle}</span>
Now Choose ?Save?.

NEXT: From the scrollable menu list of templates, find the ?Postbit Templates > postbit_legacy? template and choose Customize.

In this template:

FIND:
Code:
<span class="usertitle">{vb:raw post.usertitle}</span>
REPLACE WITH:
Code:
<span class="usertitle">{vb:raw post.displayusertitle}</span>
Now Choose ?Save?.

Congratulations!, you can now add User Titles and User Group titles as you please.

Change Log
v1.0 - 1 Mar 2013
- First version


Enjoy!
I hope this meets your needs.

Regards,
Lee Roberts

Download Now

File Type: zip vbut-v1.zip (99.0 KB, 67 views)

Screenshots

File Type: png vbut_p.png (42.1 KB, 0 views)
File Type: png vbut_pl.png (40.8 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 03-01-2013, 10:15 AM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

** Reserved **

Dont forget to mark as Installed, Nominate and Rate/Vote for it !

.Me
Reply With Quote
  #3  
Old 03-01-2013, 06:44 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have any Live-Demo?

Whats with Rank-Images?
Reply With Quote
  #4  
Old 03-01-2013, 10:55 PM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kraxell View Post
Do you have any Live-Demo?

Whats with Rank-Images?
Sorry no live demo, dont understand your other question "Rank-Images".

.Me
Reply With Quote
  #5  
Old 03-02-2013, 09:12 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is with rank-images? Where are they shown? Maybe you can make an image with rank-images on this postbit.
Reply With Quote
  #6  
Old 03-02-2013, 09:38 PM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

No problem i understand you now. See screen shots:
Attached Images
File Type: png ranks_p.png (43.0 KB, 0 views)
File Type: png ranks_pl.png (46.9 KB, 0 views)
Reply With Quote
Благодарность от:
Kraxell
  #7  
Old 03-03-2013, 12:01 AM
Zakalway Zakalway is offline
 
Join Date: Nov 2012
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great! One thing: is there any way to remove the "User Title: " part and just have it be the custom title text underneath the avatar?
Reply With Quote
  #8  
Old 03-03-2013, 08:25 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't use custom user profile field, call it the way you like, and then allow it to be shown in postbit with simple template edit?

It looks way more easier than this.
Reply With Quote
  #9  
Old 03-10-2013, 09:56 PM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zakalway View Post
This is great! One thing: is there any way to remove the "User Title: " part and just have it be the custom title text underneath the avatar?
Sorry for the delay Zakalway, if you want to remove that text you would need to edit the plugin code, its really simple so not much code to look at:

AdminCP > Plugins & Products > Plugin Manager > Postbit: Add custom user title to postbit and postbit_legacy.

FIND:
Code:
$replace_ut_pl = '<dl class="userinfo_extra"><dt>User Title</dt><dd>' .$post['usertitle'] . '</dd>';


REPLACE WITH:

Code:
$replace_ut_pl = '<dl class="userinfo_extra">' .$post['usertitle'] . '<br><br>';
Below is what this edit will output to the screen.

.Me
Attached Images
File Type: png vbutedit.png (5.6 KB, 0 views)
Reply With Quote
  #10  
Old 11-24-2013, 08:29 PM
scoutz scoutz is offline
 
Join Date: Feb 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this mod but here is what happened:



In one profile, appeared the titles of everyone that posted in that thread. Plus, it showed the custom title not the default.
Reply With Quote
Reply

Thread Tools

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 12:09 AM.


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.06599 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete