Double Ribbon Ranks

Double Ribbon Ranks v1

No permission to download
The forum is under construction.And it is not visible to users now.

- ensure you've inserted the correct class for that specific group both in the message_user_info template & EXTRA.css
- uploaded it to the correct folder (within the style folder if custom you want it to display in).
- applied the correct css in extra and it's not got any css typos
- ctrl &f5
- if you've got multiple styles ensure you've made the edits in the correct templates and not another styles templates
 
Hi, I am having some difficulty getting this to work.

message_user_info template addition:
Code:
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 3}">
<li class="ribbonAdmin">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 8}">
<li class="ribbonContributor">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 5}">
<li class="ribbonFoundingMember">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 2}">
<li class="ribbonMember">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 6}">
<li class="ribbonModeator">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 7}">
<li class="ribbonMOTM">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>
<xen:if hascontent="true">
<ul class="ribbon">
<xen:contentcheck>
<xen:if is="{xen:helper ismemberof, $user, 4}">
<li class="ribbonSuperMod">
</li>
</xen:if>
</xen:contentcheck>
</ul>
</xen:if>

extra.css addition:
Code:
/*USERGROUP RIBBON ENHANCEMENTS*/
 
.ribbon {
    margin: -1px -6px -2px;
}
 
.ribbon li {
    padding: 1px;
    position: relative;
    height: 30px;
}
 
.ribbonAdmin {
    background: url('@imagePath/xenforo/icons/UFadmin.png') no-repeat center;
}

.ribbonContributor {
    background: url('@imagePath/xenforo/icons/UFcontributor.png') no-repeat center;
}

.ribbonFoundingMember {
    background: url('@imagePath/xenforo/icons/UFfoundingmember.png') no-repeat center;
}

.ribbonMember {
    background: url('@imagePath/xenforo/icons/UFmember.png') no-repeat center;
}

.ribbonModerator {
    background: url('@imagePath/xenforo/icons/Ufmoderator.png') no-repeat center;
}

.ribbonMOTM {
    background: url('@imagePath/xenforo/icons/UFmotm.png') no-repeat center;
}

.ribbonSuperMod {
    background: url('@imagePath/xenforo/icons/UFsupermod.png') no-repeat center;
}
 
/*USERGROUPRIBBON ENHANCEMENTS*/

Board Link: http://universityforums.net

Help please.
 
Hi, I am having some difficulty getting this to work.

</snip>
/*USERGROUPRIBBON ENHANCEMENTS*/[/code]

Board Link: http://universityforums.net

Help please.


your images should be linked from styles/skinden/social/xenforo/icons/rankicon.png your inserting the incorrect path.

Code:
background: url("styles/skinden/social/xenforo/icons/UFmember.png") no-repeat scroll center center transparent;
 
Ack... what do I change to make it move to the left? I thought it was margin but it isn't moving.

Easiest way is to adjust the right hand side of the ribbon itself. You can accomplish this by moving the anchor points on the image and moving the lip over to the left on the canvas if your wanting to retain crisp quality.
 
I know this might be a little bit to too late but when i do get the ribbon the text isn't even on the ribbon, i'm using infinite from XenFocus.
 
Top Bottom