Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release] Permanent + Custom User Titles For Staff (or any other user you wish) Details »»
[Release] Permanent + Custom User Titles For Staff (or any other user you wish)
Version: 1.00, by kitzzy kitzzy is offline
Developer Last Online: Dec 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-25-2003 Last Update: Never Installs: 3
 
No support by the author.

Author: Kitzzy

Description: On my board, I allow members to change their usertitles at will. However, I wanted staff to have a set usertitle in bold right under their name so everyone can tell who they are. This means that if they changed their user title via their profile, it will wipe out that title. We used to just change their usertitles for them manually via the admin CP so we could keep their bolded user title then add a break tag with their custom one but this got old. I know there is a hack for this but here is a quick and dirty way to do it without hacking but you will need to edit the permanent title for each user you wish to give it to but once its done, you do not have to worry about it after that.

Screenshot: (Use your imagination)
When done, your postbit will look like this:
Username
Permanent Title
Custom Title

For those whom you do not specify anything in that field, it will look like this:
Username
Custom Title

Demo: You can see this in action at any of the boards found on my sig.

Show Your Support

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

Comments
  #22  
Old 12-26-2003, 03:00 PM
deemon deemon is offline
 
Join Date: Jun 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi!

Quote:
STEP 3: ADD TO POSTBIT

Open the "postbit" template

find "$post[usertitle]"

Right before this, add "<b>$userinfo[field5]</b>"
aand..

Quote:
In the field enter whatever you wish to appear for that user in bold before their chosen custom title followed by <br>, for example: Moderator<br>
i think.. it would be nice if you place the <br> right after "<b>$userinfo[field5]</b>" like <b>$userinfo[field5]</b><br> ..
because then you dont haveto put it in to the user profile field separately .. or something like this..
Reply With Quote
  #23  
Old 12-27-2003, 06:23 AM
RandyP3's Avatar
RandyP3 RandyP3 is offline
 
Join Date: Sep 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason why we do that is because for people without a permanent usertitle, it'll have a gap between the user name and the user title itself.
Reply With Quote
  #24  
Old 01-28-2004, 08:41 PM
WaterTrooper WaterTrooper is offline
 
Join Date: Jan 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really nice little hack.
Reply With Quote
  #25  
Old 02-13-2004, 04:04 AM
David Coutts David Coutts is offline
 
Join Date: Feb 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much, Kittzy. This was one of the easiest hacks I have ever installed, it took me all of 2 minutes, and you explained it so well. Thanks, That made my life a whole lot easier.
Reply With Quote
  #26  
Old 02-15-2004, 03:16 PM
imported_Synicide's Avatar
imported_Synicide imported_Synicide is offline
 
Join Date: Dec 2002
Location: Banning, CA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once could actually use Rank to do this. But this is still a very nice mod. Great job.
Reply With Quote
  #27  
Old 07-15-2004, 11:31 PM
Lexina Lexina is offline
 
Join Date: Jun 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I was wondering if there was any way you could have this hack work with a usergroup, and as soon as a person is put in a usergroup, it automatically adds a permanent usertitle for them?
Reply With Quote
  #28  
Old 09-17-2004, 08:13 PM
spiritmage spiritmage is offline
 
Join Date: Dec 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I know this is a OLD thread but can anyone help me with this... call me dense but I don't get how the problem with the gap was fixed . If I don't put <br> then the custom title and the username run together unless each are long enough... If I do then there is the gap. How was it fixed?
Reply With Quote
  #29  
Old 04-21-2005, 02:01 AM
Dark Queen Dark Queen is offline
 
Join Date: Jan 2005
Location: Quebec
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was simply wondering (if anyone still comes here) if you could send me the file on how to do it because it won't let me download at all... I click on the link and a new page loads but the download doesn't start.

I am liscence registered and all that. I don't know what's wrong.

So if anyone has it could you please send it to nessa@wizardingblood.net

Thanks.
Reply With Quote
  #30  
Old 06-18-2005, 07:02 AM
Caligatio Caligatio is offline
 
Join Date: Jan 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying this hack, but it's not working. Does anyone have a copy of user.php from 2.3.0 they want to share?
Reply With Quote
  #31  
Old 06-23-2005, 02:34 AM
The Phantom's Avatar
The Phantom The Phantom is offline
 
Join Date: Apr 2005
Location: North Carolina
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've posted a Beta release of a fix that I've done on my own boards that allows me to add html to custom profile fields via the user.php in the admin panel, just like in 2.3.0. I run 2.3.7 and it works like a charm.

https://vborg.vbsupport.ru/showthrea...325#post724325
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 10:26 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.05981 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete