View Full Version : Image in postbit
Ricky6039
05-10-2006, 12:59 PM
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
Pretty easy. Create a link with the usergroup in your postbit template...
Example:
<img alt="<if condition="$post['usertitle']">$post[usertitle]</if>" border="0" src="$stylevar[imgdir_misc]/usergroup$post[usergroupid].gif" />
Then, simply upload into your /misc dir your usergroup images.
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:
<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>
Ricky6039
05-11-2006, 05:50 AM
Thank you very much
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.