Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

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
  #42  
Old 03-25-2008, 05:13 PM
mirageboss mirageboss is offline
 
Join Date: Sep 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me with adding it on 3.6.8?
Reply With Quote
  #43  
Old 05-21-2008, 07:02 PM
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Location: Kansas
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnoozerD View Post
Can someone tell me how to set this area? Currently mine runs across each message. I would mine to run down the side of each message. I am sure I have just missed this. Thanks for the help. (And as soon as I am like this I will install this.)
set your board to use postbit legacy instead of postbit in your vb admincp settings. make sure the edits you want are to postbit legacy, which is with the user info down the side instead of atop the post.
Reply With Quote
  #44  
Old 05-21-2008, 07:05 PM
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Location: Kansas
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Majest View Post
I placed mine above usertitle and everything under it was changed to the colour I put the rank as. Is there anyway to stop this from happening so only the rank is coloured?
check your closing tags in your template edit, spelling, missing bracket, etc. most likely that's the issue.
Reply With Quote
  #45  
Old 05-22-2008, 01:23 AM
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Location: Kansas
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone who wants to do this for 3.7, search for this text instead of the old text in your templates...

Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
and/or place it where you want it to go...
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:47 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.14331 seconds
  • Memory Usage 2,245KB
  • Queries Executed 19 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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