The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Icon Next to name with additional usergroup
Well I want to add an icon at the end of a members username.
Easy enough just edit the usergroup HTML mark up. But.. I want it to show regardless of the usergroup being Additional or not, so if they have Registered User on primary and have Usergroup 38 on Additional it would show the markup for Registered User as well as the icon from the additional usergroup (38). In the postbit. I have been editing the postbit template but not the postbit legacy, seeing as I don't have postbit legacy. this is what I have been trying.. Code:
<vb:if condition="is_member_of($$vbulletin->userinfo, 38)"> <img src="http://(myforum.com)/forums/images/verified/verified.png"> </vb:if> this is where i have placed it Code:
<div class="username_container"> <vb:if condition="$post['userid']"> {vb:raw memberaction_dropdown} {vb:raw post.onlinestatus} <vb:else /> <span class="username guest">{vb:raw post.musername}</span> </vb:if> <vb:if condition="is_member_of($$vbulletin->userinfo, 38)"> <img src="http://(myforum.com)/forums/images/verified/verified.png"> </vb:if> <span class="usertitle"> {vb:raw post.usertitle} </span> <vb:if condition="$post['rank']"> <span class="rank">{vb:raw post.rank}</span> </vb:if> Any help would be much appreciated. If this is in the wrong section, I apologize, I'm not used to vbulletin.org Thank You. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|