![]() |
Staff rank above username
This simple postbit edit will add text above a staff members (mod/smod/admin) username, displaying the relevant usergroup title. It'll work on both the regular postbit and postbit_legacy.
In either postbit or postbit_legacy, find: PHP Code:
PHP Code:
Replace the XXXXXX after 'font size=1 color=#' with a HEX code that suits your color theme. You're set! |
this is just what i wanted but is there anyway of changing the colour of the text as it doesnt show up on my post bit cos the backgrown is dark blue
regards dean |
Quote:
Just change "color=#XXXXXX" in the <font> tag to whatever suits your style. Considering it's dark blue, you'd want to go with something nearer to #EEEEEE, but that's for you to tinker with. |
good little mod i like
cuz with cust. titles people dont know |
What variable would you use for a secondary usergroup?
I tried this, but I get nothing: Code:
<if condition="$post['usergroupid'] == 13"><div class="smallfont">$vbphrase[donated]</div></if> <br/> |
working only vertical avatar
|
<if condition="$post['usergroupid'] == 13"><div class="smallfont">$vbphrase[donated]</div></if> <br/>
Try something like this: <div class="smallfont"><if condition="$post['usergroupid'] == 13">$vbphrase[donated]<br /></if></div> |
I finally had to use this, nothing else would work:
Code:
<if condition="is_member_of($userinfo, XX)"><div class="smallfont"><strong>$vbphrase[mynewphrase]</strong></div></if><br/> |
it seems to only work for some staff, its not working for me the super admin, its working for only 1 staff member i think, and the usergroup id's are correct i checked the usergroup manager for them.
my site is http://www.gamerzneeds.net/forums Its a online gaming site with gunbound and other cheats on it, I have installed the shop so people can change their username colour and sometimes it looks like they are admin or mod, thats why this hack is perfect, hopefully someone else had the same problem, and knows how to fix it. |
This is a nice mod, but couldn't user ranks accomplish the exact same thing, especially if you apply a textual rank? Or is this something different?
|
All times are GMT. The time now is 02:13 PM. |
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:
|