DeclanFarrow
01-26-2014, 11:14 AM
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..
<vb:if condition="is_member_of($$vbulletin->userinfo, 38)">
<img src="http://(myforum.com)/forums/images/verified/verified.png">
</vb:if>
If thats right, (Found in google) then i must be placing it wrong.
this is where i have placed it
<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>
I have replaced (myforum.com) with my actual website URL.
Any help would be much appreciated.
If this is in the wrong section, I apologize, I'm not used to vbulletin.org
Thank You.
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..
<vb:if condition="is_member_of($$vbulletin->userinfo, 38)">
<img src="http://(myforum.com)/forums/images/verified/verified.png">
</vb:if>
If thats right, (Found in google) then i must be placing it wrong.
this is where i have placed it
<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>
I have replaced (myforum.com) with my actual website URL.
Any help would be much appreciated.
If this is in the wrong section, I apologize, I'm not used to vbulletin.org
Thank You.