Login  Register

Re: How to post seniority of members

Posted by GregChapman on Mar 12, 2012; 10:15am
URL: https://support.nabble.com/How-to-post-seniority-of-members-tp7362353p7364796.html

1. Create a User Group for the senior members and add that group to the profiles of all who meet the criteria.
2. Write a NAML macro designed to place the text "Senior" on the screen.
3. Insert code to call that macro within the existing "classic_big_avatar_cell" macro.

That looks like this:
<macro name="classic_big_avatar_cell" requires="node">
    <div class="avatar-outer">
        <div class="avatar-inner">
            <n.owner.avatar size="big" border_class="medium-border-color"/>
        </div>
    </div>
    <n.avatar_label condition="[n.owner.is_site_admin/]" label="[b][t]Administrator[/t][/b]"/>
    <n.avatar_label condition="[n.owner.is_banned/]" label="[t]Banned User[/t]"/>
    <n.owner.post_count/>
</macro> 
Unfortunately, I haven't yet got the skills to tell you how to do Step 2. :-(

However, if you're used to coding, I understand that there's enough NAML documentation at:
http://naml.nabble.com/
for people to be able to complete the task.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.