Members group

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Members group

Silvana
Is there a way to put the group name under the avatar of a member? Thanks
I'm Italian. Excuse me if I'll make mistakes writing my posts. Ciao
This is my site: "La chiave nel pozzo"..
..and this is my forum: "La chiave nel pozzo - il forum"
Reply | Threaded
Open this post in threaded view
|

Re: Members group

Mencey Melgar
Search the macro classic_big_avatar_cell and customize it like this:

<override_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.avatar_label condition="[n.owner.is_in_group group='here_your_group_name'/]" label="[t]the_name_you_want[/t]"/>
    <n.owner.post_count/>
</override_macro>

you can make the ammount you want, just copy and paste the line:
<n.avatar_label condition="[n.owner.is_in_group group='here_your_group_name'/]" label="[t]the_name_you_want[/t]"/>
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Members group

Silvana
Thanks Louk, I will try to understand and I hope not to be wrong.
I'm Italian. Excuse me if I'll make mistakes writing my posts. Ciao
This is my site: "La chiave nel pozzo"..
..and this is my forum: "La chiave nel pozzo - il forum"
Reply | Threaded
Open this post in threaded view
|

Re: Members group

Mencey Melgar
In reply to this post by Mencey Melgar
LouK wrote
 
<n.avatar_label condition="[n.owner.is_in_group group='here_your_group_name'/]" label="[t]the_name_you_want[/t]"/>
Of course, you also have to edit this line changing 'here_your_group_name' and [t]the_name_you_want[/t]
:) Helper