This was taken from a vB4x mod.
It replaces the plain text rank in posts with nice graphical ones.
Before
and After
Edit Templates, edit conversation_userinfo
Locate Line 28 {vb:raw userInfo.usertitle}
Replace the line with
Download and extract the images to the root/images folder.
Blue_Glow_Forum_Ranks.zip
Note: I know that this could be set from the users profile settings by changing the TITLE and activating HTML in titles, but so much of vB5 themes rely on the usertitle variable that changing the default values breaks a lot of other mods.
In my opinion, every location that employs the usertitle should have a separate class value. Of course, so far as CSS goes, that would only solve part of the problem as CSS can not create the vB conditional codes.
It replaces the plain text rank in posts with nice graphical ones.
Before
and After
Edit Templates, edit conversation_userinfo
Locate Line 28 {vb:raw userInfo.usertitle}
Replace the line with
Code:
<vb:if condition="$userInfo['usertitle'] == 'Administrator' "> <img src="/images/Blue_Glow_Forum_Ranks/Blue_Glow_Forum_Ranks_Owner.png" alt="Site Owner" /><br /><img src="/images/Blue_Glow_Forum_Ranks/Blue_Glow_Forum_Ranks_Developer.png" alt="Developer" /> <vb:else /> <vb:if condition="$userInfo['usertitle'] == 'Super Moderator' "> <img src="/images/Blue_Glow_Forum_Ranks/Blue_Glow_Forum_Ranks_S_Mod.png" alt="Super Moderator" /> <vb:else /> <vb:if condition="$userInfo['usertitle'] == 'Moderator' "> <img src="/images/Blue_Glow_Forum_Ranks/Blue_Glow_Forum_Ranks_Mod.png" alt="Moderator" /> <vb:else /> <vb:if condition="$userInfo['usertitle'] == 'V.I.P.' "> <img src="/images/Blue_Glow_Forum_Ranks/Blue_Glow_Forum_Ranks_vip.png" alt="V.I.P." /> </vb:if> </vb:if> </vb:if> </vb:if>
Blue_Glow_Forum_Ranks.zip
Note: I know that this could be set from the users profile settings by changing the TITLE and activating HTML in titles, but so much of vB5 themes rely on the usertitle variable that changing the default values breaks a lot of other mods.
In my opinion, every location that employs the usertitle should have a separate class value. Of course, so far as CSS goes, that would only solve part of the problem as CSS can not create the vB conditional codes.
Comment