The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Staff / User ranking for postbit! Details »» | ||||||||||||||||||||
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
Code:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div> 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 --> 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
|
Comments |
#22
|
||||
|
||||
Quote:
|
#23
|
|||
|
|||
color usernames is in the vb options basic board settings
|
#24
|
||||
|
||||
Quote:
ok nvm i found out :| i forgot about this option im sure i used it before:s |
#25
|
||||
|
||||
Quote:
change the code to match your forums template Original Code:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div> Mine Code:
<if condition="$post[usergroupid] == 35"><div class="info">$vbphrase[vb_postbit]<b>Status : </b><b><font color="#61b4e8">BF2 Division</b></font></div></if> <if condition="$post[usergroupid] == 14"><div class="info">$vbphrase[vb_postbit]<b>Status : </b><b><font color="#b727bf">CSs Division</b></font></div></if> <if condition="$post[usergroupid] == 13"><div class="info">$vbphrase[vb_postbit]<b>Status : </b><b><font color="#9b532a">Sof II Division</b></font></div></if> |
#26
|
|||
|
|||
nice hack
but do u know how to do like , USername then the usertitle...next to it like Cuphongle_VIP |
#27
|
|||
|
|||
Quote:
|
#28
|
|||
|
|||
When i put in this code, nothing shows up for me....any ideas??
Peace |
#29
|
||||
|
||||
Thanks MentaL,
It's me Leo by the way. |
#30
|
|||
|
|||
Trying to get this to work, using 3.6.4 here. Tried to change the code to match that of my forum's:
Code:
<!-- MentaL -- Ranking --> <if condition="$post[usergroupid] == 6"><div><b>Rank:</b> Administrator</div></if> <if condition="$post[usergroupid] == 7"><div><b>Rank:</b> Moderator</div></if> <if condition="$post[usergroupid] == 5"><div><b>Rank:</b> Moderator</div></if> <! -- MentaL -- Ranking --> Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> |
#31
|
|||
|
|||
why are you using a template edit for default vBulletin functions, this is easily done via the ranks thats already built in?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|