2018-04-25, 03:37 AM
I want to display all of usergroups in showgroups.php
help me please.
Quote:<if $GLOBALS['mybb']->user['usergroup'] == 8,9,10,11,12,13,14 then><else>why that codes didn't work ? I know {$displaygroup['title,description,admin,number,image']} can't Show but I want real codes for displaying usergroups.
<div class="usergroups-col">
<div class="usergroups-row">
<div class="table-wrap">
<div class="table-cell-top">
<div class="usergroups-info">
<div class="usergroups-title">{$displaygroup['title']}</div>
<span class="smalltext">{$displaygroup['description']}</span>
</div>
Owner: {$displaygroup['admin']}<br>
{$displaygroup['number']} • <a href="usercp.php?action=usergroups&joingroup=8&my_post_key={$mybb->post_code}">Click to join</a>
</div>
<div class="table-cell-top usergroups-userbar">
{$displaygroup['image']}
</div>
</div>
</div>
</div>
</if>
help me please.