MyBB Community Forums

Full Version: Variable Request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I'd like to know the variable to display the group name in a members profile.

So far I've only managed to get the group id to display but I would like the group name.

Thanks guys.
try using {$mybb->usergroup['title']}
Thank you very much.

Can you also help me with the variable to display reputation number?
Using {$mybb->usergroup['fieldname']} displays information about the visitor, not who's profile you are viewing. Try using {$memprofile['reputation']}.
(2014-11-18, 05:35 PM)dragonexpert Wrote: [ -> ]Using {$mybb->usergroup['fieldname']} displays information about the visitor, not who's profile you are viewing. Try using {$memprofile['reputation']}.

How can I show the user group name then? I can only get it to show ID.

But that worked for the reputation, thank you.
(2014-11-18, 05:35 PM)dragonexpert Wrote: [ -> ]Using {$mybb->usergroup['fieldname']} displays information about the visitor, not who's profile you are viewing.

oh I see... I didn't knew it, thanks for the info
Try {$memprofile['title']}.
(2014-11-18, 06:46 PM)dragonexpert Wrote: [ -> ]Try {$memprofile['title']}.

That one doesn't work.
{$displaygroup['title']} should work
(2014-11-19, 10:57 PM)Destroy666 Wrote: [ -> ]{$displaygroup['title']} should work

Thank you so much.