Hello, still learning MyBB, but I like it very much so far.
{$post['user_details']} <---- This here inserts user details in the postbit template and I want to know how to add a usergroup field in there.
I know I have to edit the postbit_author_user template, but I don't how to include the usergroups there.
My current user details in the postbit_classic layout look like this:
I want it to look like this:
Thanks for any help.
EDIT:
Ok, I placed Usergroup: {$usergroup['title']} in the postbit_author_user and it works. But how can I change the color of the usergroup names?
{$post['user_details']} <---- This here inserts user details in the postbit template and I want to know how to add a usergroup field in there.
I know I have to edit the postbit_author_user template, but I don't how to include the usergroups there.
My current user details in the postbit_classic layout look like this:
Posts:
Joined:
Reputation:
Location:
I want it to look like this:
Usergroup: Administrators/Members/Moderators etc.
Posts:
Joined:
Reputation:
Location:
Thanks for any help.
EDIT:
Ok, I placed Usergroup: {$usergroup['title']} in the postbit_author_user and it works. But how can I change the color of the usergroup names?