yup, same for me.Whenever I try to edit the addon in anyway I get this error whenever I save (using the 35 version)
View attachment 67829
Ah gotcha..Ya, it works perfectly with the 15 version. But the 35 version has just enough colors for our uses. Oh well.
Hi Daniel
Nice work, but I do have a question about your add-on instead of User Group ID's could it be changed to individual Users? This would give us the opportunity to pick a user regardless of their User Group ID to assign a ribbon?
Thanks
Well first of all I don't use the add-on you can do what you ask without the add-on. I need you to create another User Group let say Test Member now after you create the user group go to the User Group Permissions make sure you leave all the permissions not set leave them grey ok. Now what you are going to do is go to the user you want the new User Group to be applied to and add the new User Group as a secondary User Group. OK in short let say you are adding the new group to yourself you are already the Admin so you will have Staff Member and when you pick the new User Group as a Secondary User Group Test Member it will appear under the Staff Ribbon. OH this will also appear in your profile page.......
Vinny
Whenever I try to edit the addon in anyway I get this error whenever I save (using the 35 version)
View attachment 67829
<xen:if hascontent="true">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_online_now}</a></h3>
<ul>
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.is_staff}">
<li>
<xen:avatar user="$user" size="s" img="true" />
<xen:username user="$user" rich="true" />
<div class="userTitle">{xen:helper userTitle, $user}</div>
</li>
</xen:if>
</xen:foreach>
</xen:contentcheck>
</ul>
<xen:if hascontent="true">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_online_now}</a></h3>
<ul>
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.is_staff}">
<li>
<xen:avatar user="$user" size="s" img="true" />
<xen:username user="$user" rich="true" />
<xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons_member_card" /></xen:if>
</li>
</xen:if>
</xen:foreach>
</xen:contentcheck>
</ul>
We use essential cookies to make this site work, and optional cookies to enhance your experience.