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
  #32  
Old 01-13-2007, 11:32 PM
Lands Lands is offline
 
Join Date: Jul 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was trying to get something that would display below the avatar with location / postcount, etc.. I suppose there's probably a way to move the rank field though.
Reply With Quote
  #33  
Old 01-15-2007, 07:46 AM
dc pringle dc pringle is offline
 
Join Date: Jun 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some of my members are members of custom additional groups, say people who have been there for longer than 3 years are members of a prmary group 'registered users' and an additional group 'OG'

Is there anyway to make this relate to additional groups instead of posting groups?

Cuz i tried putting in the user group id for the OG group, but nothing came up
Reply With Quote
  #34  
Old 02-16-2007, 12:16 PM
talenak talenak is offline
 
Join Date: Feb 2006
Location: Washington
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pearl View Post
Are you sure cause im unable to find that option.

ok nvm i found out :| i forgot about this option im sure i used it before:s
Could someone tell me where this option is? I can't find it!
Reply With Quote
  #35  
Old 09-14-2007, 09:57 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb_postbit_info does not appear anywhere in the postbit for 3.6.8
Reply With Quote
  #36  
Old 12-27-2007, 08:05 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what if i want a specfic user to show that he is staff how can i write that...can you help i tried usning the same format instead of using userid i put usertitle..but didnt work

<if condition="$post[usertitle] == mystic"><div class="vb_postbit_info"><b>Rank:</b> Staff</div></if>

like this so that specific name will show rank

anyone
Reply With Quote
  #37  
Old 12-31-2007, 08:39 AM
yashua yashua is offline
 
Join Date: Apr 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actully there is a setting in vb to disply user ranks and levels anyways I guess this may come in handy to some of are members that have not read the guide.
Reply With Quote
  #38  
Old 01-12-2008, 04:57 PM
Derek Chai Derek Chai is offline
 
Join Date: Aug 2007
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin 3.7 upgrade possible?
Reply With Quote
  #39  
Old 01-13-2008, 08:26 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would imagine it would work, just uses variables.
Reply With Quote
  #40  
Old 03-05-2008, 04:11 AM
Majest Majest is offline
 
Join Date: Apr 2006
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #41  
Old 03-05-2008, 05:12 AM
SnoozerD SnoozerD is offline
 
Join Date: Jul 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
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 03:58 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.12502 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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
  • (6)bbcode_code
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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