MyBB Community Forums

Full Version: Display user main group style in custom pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
What is group style?
(2016-06-07, 12:15 AM)Qiao Wrote: [ -> ]What is group style?

Username Style..

ACP >> Groups >> pick whatever group
Bump, still need help with this Undecided
for example

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

Using {$username} in template