MyBB Community Forums
Display user main group style in custom pages - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Display user main group style in custom pages (/thread-193934.html)



Display user main group style in custom pages - ShadowOne - 2016-06-06

I have a custom page where usernames are displayed with a custom variable ( htmlentities($rep['addusername']) ) - the page came with a plugin.
How can I display primary group styles?


RE: Display user main group style in custom pages - Qiao - 2016-06-07

What is group style?


RE: Display user main group style in custom pages - ShadowOne - 2016-06-07

(2016-06-07, 12:15 AM)Qiao Wrote: What is group style?

Username Style..

ACP >> Groups >> pick whatever group


RE: Display user main group style in custom pages - ShadowOne - 2016-07-31

Bump, still need help with this Undecided


RE: Display user main group style in custom pages - MrBrechreiz - 2016-07-31

for example

$profilelink = get_profile_link($user['username'], $user['uid']);
$username = format_name($profilelink, $user['usergroup'], $user['displaygroup']);

Using {$username} in template