The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image in postbit
This might have been posted before but i could not find anything im looking to add the images posted below beside the Admin's and Mods Name in the postbit I have seen these on UBB but not vB. Thanks for any help
|
#2
|
||||
|
||||
Pretty easy. Create a link with the usergroup in your postbit template...
Example: Code:
<img alt="<if condition="$post['usertitle']">$post[usertitle]</if>" border="0" src="$stylevar[imgdir_misc]/usergroup$post[usergroupid].gif" /> For Admin, it will be usergroup6.gif, etc. you get the idea. EDIT: In case you want to display it only for Admins and SuperMods: Code:
<if condition="$post['usergroupid'] == 5 OR $post['usergroupid'] == 6"> <img alt="<if condition="$post['usertitle']">$post[usertitle]</if>" border="0" src="$stylevar[imgdir_misc]/usergroup$post[usergroupid].gif" /> </if> |
#3
|
|||
|
|||
Thank you very much
|
#4
|
||||
|
||||
You are welcome.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|