• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Usergroup Markup

Is there any way to add this to the names displayed on the main page in the "last post" node and "visitor panel" in the top-right?
Thanks! :)
 
Having issues with locating exactly where do place the side bar code?
From the first post:
If you require for the markup to show in the Members Online Now listings you'll have to go into the the sidebar_online_users Template and make the following change. Thanks to Mental for allowing me to post the following code.

Search:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>

Replace with:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
 
You would have to simply replace that template edit with the replace with

As for assigning specific markup images to members go to your admicp >> users >> usergroup >> click registered and add the following code ensuring the path linking to the image is correct and the icon/image is unique to that usergroup.And repeat if you want to associate specific icons for other usergroups.
 
Having issues with locating exactly where do place the side bar code, and how do I get my Icon assigned to the members profile?

Not sure where you wanted the usergroup markup to show in your profile. I just added mine under my Avatar (screenshot below) though if you would like to do the same go into your member_view template and find the following code

Code:
        <div class="avatarScaler">
            <xen:if is="{$visitor.user_id} == {$user.user_id}">
                <a class="Av{$user.user_id}l OverlayTrigger" href="{xen:link account/avatar}">
                    <img src="{xen:helper avatar, $user, l}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
                </a>
            <xen:else />
                <span class="Av{$user.user_id}l">
                    <img src="{xen:helper avatar, $user, l}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
                </span>
            </xen:if>
        </div>

Add the following after it:

Code:
<xen:username user="$user" rich="true" />

The output is the following (Below)

profile_markup.webp

 
Shelley, how to add image icon right after username? the opposite of yours.
Like this ---> Shelley
rolleyes.png
 
It's a phrase; just search the phrases for (some of) the content and the relevant phrase will be returned.
 
Good afternoon to you all!

Is there away to add more than one icon to a member?

Thanks in advance!
 
Back
Top Bottom