![]() |
Staff / User ranking for postbit!
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 --> 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> |
was looking for something like this, thanks
|
Yeah me to, so i made it :)
|
Added marquee info.
|
thats how it works for me:
Code:
<if condition="$post['usergroupid'] == 6"><div class="post_field"><MARQUEE BEHAVIOR=ALTERNATE><b>Rank:</b>: Admin</div></if> Marco |
I cant find the line in the postbit to know where to add the info... I am using 3.6 legacy
|
I cant find where to add it. If I look in postbit_legacy, it says not found, to the code. I am using 3.6
|
copy ur template code here and ill have a look.
|
pmed u the code.
|
good thanx.
|
thanx
|
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> |
vb_postbit_info that class is not on my clean virsion of vb 3.6.1 and this does not work.
|
Works fine in 3.6.1 for me.
|
YAY! Now I can show the ranks AND let the members have custom titles :)
|
I dont have that find code in my postbit legacy. Any ideas?
|
Quote:
|
The code you have us search for in the postbit or postbit_legacy:
Code:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div> .............is not found. I tried adding it above this in my postbit template: Code:
<div> Here's the full code for my postbit template. vB 3.6.1 Code:
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> |
yea i got the same problem any help please.....
|
me too can't find any idea plz help i am using 3.6.2
|
Quote:
|
color usernames is in the vb options basic board settings
|
Quote:
ok nvm i found out :| i forgot about this option im sure i used it before:s |
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> |
nice hack
but do u know how to do like , USername then the usertitle...next to it like Cuphongle_VIP |
Quote:
|
When i put in this code, nothing shows up for me....any ideas??
Peace |
Thanks MentaL,
It's me Leo by the way. :D |
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 --> Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> |
why are you using a template edit for default vBulletin functions, this is easily done via the ranks thats already built in?
|
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.
|
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 :( |
Quote:
|
vb_postbit_info does not appear anywhere in the postbit for 3.6.8
|
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 |
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.
|
vBulletin 3.7 upgrade possible?
|
I would imagine it would work, just uses variables.
|
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?
|
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.)
|
All times are GMT. The time now is 06:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|