[REQ] Staff / user ranking

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!

installation guide

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

PHP:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div>

and above add

PHP:
<!-- 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)

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


Marquee

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

To do this simply use a code as follows

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


PHP:
<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!

Here is an example code

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