Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Staff Titles Details »»
vB Staff Titles
Version: 1.00, by Logikos Logikos is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 08-06-2005 Last Update: 01-19-2006 Installs: 349
DB Changes Uses Plugins Template Edits
 
No support by the author.

vB Staff Title

Show your support and vote this hack for HotM September!!


vBulletin 3.5.0 RC 3
www.vBHackers.com

What this does
This will give you the option to add an additional title for staff members, or any user you would like to add. This can be done with conditions only, like if userid = X show this. But this will make things much eaiser to edit and manage. And I spend alot of time in the ACP.

New Features Since Last Release
  • Option to turn the staff title on/off per user.
    This is good so if you want to temporarily disable someones staff title, but don't want to lose the settings.
  • HTML Mark Available now
    This will make it more customizable

Show rank in your members profile
To show the rank in your members profile. Please see this post


Note:
This hack will work for vBulletin Version 3.5.0 RC-1 and RC-2 ONLY!
This is a port from my original hack which can be found here. Had a couple of PMs about it so I said why not.

To do list...
  • Time to install: 3 minutes
  • Queries to run: 4
  • File Mods: 0
  • Templates to edit: 1
  • Templates to add: 0
  • New Phrases: 4
  • New Plugins: 2

Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It For Support!

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.




Version Info:
v1.1: Fixed Missing Phrase
v1.0: Released

Show Your Support

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

Comments
  #52  
Old 08-08-2005, 08:23 PM
Pion Pion is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything exactly like provided in the directions and nothing happened. I've added the staff title but it doesn't show in the postbit legacy.
Reply With Quote
  #53  
Old 08-08-2005, 08:29 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see a phrase isn't being inserted. Minor bug that I will fix. I don't understand, if you did everything correct it will work. Please make sure that your plugins are on, and all hooks are active.
Reply With Quote
  #54  
Old 08-08-2005, 08:49 PM
Pion Pion is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, I'm a moron. I got it. I installed on 1 style but was viewing another.
Reply With Quote
  #55  
Old 08-08-2005, 09:53 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pion
Nevermind, I'm a moron. I got it. I installed on 1 style but was viewing another.
No problem, glad you figured it out
Reply With Quote
  #56  
Old 08-08-2005, 09:56 PM
vBintense's Avatar
vBintense vBintense is offline
 
Join Date: May 2005
Location: Omnipresent
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, one my staff members where asking for this back.

/me licks and drools on the install button.
Reply With Quote
  #57  
Old 08-08-2005, 11:34 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by insane-topics
Thanks, one my staff members where asking for this back.

[high]* insane-topics licks and drools on the install button.[/high]
Hey now, you could possibly malfunction the install system like that.

[high]* Logikos hands insane-topics a bone instead. [/high]
Reply With Quote
  #58  
Old 08-09-2005, 12:20 AM
vBintense's Avatar
vBintense vBintense is offline
 
Join Date: May 2005
Location: Omnipresent
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* vBintense runs after the bone............
[/high]

Besides I think they water proofed the install system
Reply With Quote
  #59  
Old 08-19-2005, 07:10 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All this work to do that? No thanks. This can be done much easier by simply going to the user ranks and setting up a rank corresponding to that user group. For example type in Moderator as the rank name and apply it to the moderators user group. Same principal your tying to achieve (I believe)without the hustle.

All the same not tryign to bash the hack, as I like the concept just seems much easier to do it my way.
Reply With Quote
  #60  
Old 08-25-2005, 01:35 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
To show the rank in your users profile

In template 'memberinfo' Find:
HTML Code:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
Add Under:
HTML Code:
                                <if condition="$userinfo['isstaffrank']">
                                        <div class="smallfont">
<if condition="$userinfo['staffrank_opentag']">$userinfo[staffrank_opentag]</if>
                                                <if condition="$userinfo['staffrank']">$userinfo[staffrank]</if>
<if condition="$userinfo['staffrank_closetag']">$userinfo[staffrank_closetag]</if>
                                        </div>
                                </if>
Live when I place an image next to the staff title, I get this wierd error.

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mgsz/public_html/forums/includes/adminfunctions_template.php(3510) : eval()'d code on line 227

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #61  
Old 08-25-2005, 04:52 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Snake:
Hmmm, thats strange. This is whats in my memberinfo template:
HTML Code:
<if condition="$userinfo['isstaffrank']">
	<div class="smallfont">
		<if condition="$userinfo['staffrank_opentag']">$userinfo[staffrank_opentag]</if>
		<if condition="$userinfo['staffrank']">$userinfo[staffrank]</if>
		<if condition="$userinfo['staffrank_closetag']">$userinfo[staffrank_closetag]</if>
	</div>
</if>
Is it possiable you have another condition inside that template that could be causeing this?
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:49 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.04592 seconds
  • Memory Usage 2,317KB
  • 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
  • (3)bbcode_html
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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