Announcement

Collapse
No announcement yet.

Blue Glow Ranks for vB5x

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Blue Glow Ranks for vB5x

    This was taken from a vB4x mod.
    It replaces the plain text rank in posts with nice graphical ones.
    Before Click image for larger version

Name:	Clipboard01.jpg
Views:	253
Size:	6.8 KB
ID:	1219
    and After Click image for larger version

Name:	Clipboard02.jpg
Views:	194
Size:	7.0 KB
ID:	1220


    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>
    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.
    Last edited by Felix2; 09-20-2016, 02:08 PM.

    #2
    thanks for share !!!!!!!

    Comment

    Users Viewing This Page

    Collapse

    There is 1 user viewing this forum topic.

    • Guest Guest

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"