[Request] 2 mods

Staff / User ranking for postbit!

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: RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

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

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: RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

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!

RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

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>

Username color on forumhome (as based on usergroup markup)

this is based on this modification, what this does is if you use a usergroup html markup in your forums, this allows you to show that color in the welcome panel on your forum homepage.

Usergroup settings (incase you do not know how..)Select "Username HTML Markup" and in the first table place

Code:
<b><font color="#804040">

and in the second table place

Code:
</font></b>

Simply replace the red hex code with the color of your choice, anyways to get the color username to display in the welcome box on the forum home simply search the following in the FORUMHOME template.

Code:
<phrase 1="$bbuserinfo[username]">

and replace with

Code:
<phrase 1="$bbuserinfo[musername]">

Easy
 
Back
Top