2016-06-13, 10:46 AM
My forum setup has 3 types of banned groups for 3 different purposes, but all display the same banned message.
I'm trying to get the primary user group on that ban notice so the user can understand what type of restriction they have.
I went in to the usercp templates and copied the line for primary user group over to the banned message template but all I get is empty values and all that is displayed is the ":" even though on the banned account I can still access the userCP and see my primary user group.
How may I get said user group to display on the banned warning?
I'm trying to get the primary user group on that ban notice so the user can understand what type of restriction they have.
I went in to the usercp templates and copied the line for primary user group over to the banned message template but all I get is empty values and all that is displayed is the ":" even though on the banned account I can still access the userCP and see my primary user group.
How may I get said user group to display on the banned warning?
<div class="red_alert">
<strong>{$lang->banned_warning}</strong>
{$lang->banned_warning2}: {$reason}<br />
{$lang->banned_warning3}: {$banlift}<br />
{$lang->primary_usergroup}: {$usergroup}<br />
</div>
<br />
Thanks!