vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vB Staff Titles (https://vborg.vbsupport.ru/showthread.php?t=93783)

Logikos 08-07-2005 12:02 PM

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>


bigcurt 08-07-2005 12:47 PM

Good job on the port LiveWire..so when you expect to hit "Master Coder"?? :).


~Curt

Logikos 08-07-2005 12:49 PM

When the funds go threw to Stefans offshore account. :p

Boofo 08-07-2005 01:35 PM

Quote:

Originally Posted by Live Wire
When the funds go threw to Stefans offshore account. :p

They've been diverted. Thanks. ;)

ThePimp 08-07-2005 01:48 PM

*installs

rinkrat 08-07-2005 02:00 PM

Does this have to be used for staff? I'd like to use it for my subscribers and give them a custom title automatically when they subscribe. This would require it recognizing their secondary usergroup as being "Subscriber". Can this be done with this hack?

Logikos 08-07-2005 02:07 PM

Quote:

Originally Posted by rinkrat
Does this have to be used for staff? I'd like to use it for my subscribers and give them a custom title automatically when they subscribe. This would require it recognizing their secondary usergroup as being "Subscriber". Can this be done with this hack?

No it cannot, but if they are being changed to the appropriate user group after subscribing then you can use the custom title field in the usergroup options. Or a simple condition as this:

HTML Code:

<if condition="$bbuserinfo[usergroupid] == X"><i>Site Subscriber</i></if>
Changing X to the subscriber usergroupid :)

Mike Gaidin 08-07-2005 03:50 PM

Nice, I like this. Thanks!

twoseven 08-07-2005 04:02 PM

staffrank_cloestag to staffrank_closetag

Jedi Blaze 08-07-2005 04:03 PM

Thanks, very nice. :D *clicks install*


All times are GMT. The time now is 08:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01290 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete