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

Reply
 
Thread Tools
Staff / User ranking for postbit! Details »»
Staff / User ranking for postbit!
Version: 1.00, by MentaL MentaL is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.6.1 Rating:
Released: 09-01-2006 Last Update: Never Installs: 49
Supported Template Edits
 

Hi,

What this does is enable a staff or user rank via template modifications, its so simple that it doesnt require no plugin and anybody can do it! For a live demo visit;

Link: http://forum.ragezone.com/outerworld...mg-167121.html

########################################

installation guide

  • Login to your admin panel and go to your postbit template (or legacy)
search

Code:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div>
and above add

Code:
<!-- MentaL -- Ranking -->
<if condition="$post[usergroupid] == 6"><div class="vb_postbit_info"><b>Rank:</b> Administrator</div></if>
<if condition="$post[usergroupid] == 7"><div class="vb_postbit_info"><b>Rank:</b> Moderator</div></if>
<if condition="$post[usergroupid] == 5"><div class="vb_postbit_info"><b>Rank:</b> Super Moderator</div></if>
<! -- MentaL -- Ranking -->
(now save!) to add additional rankings for users or staff simply edit the XX in red to the usergroup number and the XX blue to the rank title you wish to give them. (as shown below)

Code:
<if condition="$post[usergroupid] == XX"><div class="vb_postbit_info"><b>Rank:</b> XX</div></if>

Enjoy.

MentaL



###############################
Marquee

If you want to have your special usergroups stand out more, why not use a marquee like myself...

Link: http://forum.ragezone.com/post1549928.html

To do this simply use a code as follows


Code:
<if condition="$post[usergroupid] == 6"><div class="vb_postbit_info"><MARQUEE BEHAVIOR=ALTERNATE><b>Rank:</b> Administrator</div></if></marquee>

Code:
<MARQUEE BEHAVIOR=ALTERNATE> Ranking </marquee>
######################################

Coloured rankings!!


if you check here you notice that i am using coloured username markups, you can match that colour to the ranking pretty easy!

http://forum.ragezone.com/outerworld...mg-167121.html

Here is an example code

Code:
<if condition="$post[usergroupid] == 5"><div class="vb_postbit_info"><b>Rank:</b> <font color="#CE1800">Super Moderator</font></div></if>

Show Your Support

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

Comments
  #2  
Old 09-02-2006, 10:31 PM
Kmurray Kmurray is offline
 
Join Date: May 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

was looking for something like this, thanks
Reply With Quote
  #3  
Old 09-03-2006, 12:19 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah me to, so i made it
Reply With Quote
  #4  
Old 09-06-2006, 10:22 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added marquee info.
Reply With Quote
  #5  
Old 09-06-2006, 07:06 PM
principino1984 principino1984 is offline
 
Join Date: Jul 2006
Location: Italy
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats how it works for me:

Code:
<if condition="$post['usergroupid'] == 6"><div class="post_field"><MARQUEE BEHAVIOR=ALTERNATE><b>Rank:</b>: Admin</div></if>
<if condition="$post['usergroupid'] == 5"><div class="post_field"><strong>Rank</strong>: SuperModerator</div></if>
<if condition="$post['usergroupid'] == 7"><div class="post_field"><strong>Rank</strong>: Moderator</div></if>

Marco
Reply With Quote
  #6  
Old 09-07-2006, 03:16 PM
bandare bandare is offline
 
Join Date: Nov 2004
Location: Derby, UK
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant find the line in the postbit to know where to add the info... I am using 3.6 legacy
Reply With Quote
  #7  
Old 09-07-2006, 03:18 PM
bandare bandare is offline
 
Join Date: Nov 2004
Location: Derby, UK
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant find where to add it. If I look in postbit_legacy, it says not found, to the code. I am using 3.6
Reply With Quote
  #8  
Old 09-07-2006, 09:56 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

copy ur template code here and ill have a look.
Reply With Quote
  #9  
Old 09-11-2006, 02:09 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pmed u the code.
Reply With Quote
  #10  
Old 09-11-2006, 05:00 PM
Netinternet Netinternet is offline
 
Join Date: Aug 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good thanx.
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:43 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.04811 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (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
  • (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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete