MyBB Community Forums

Full Version: Game section question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So all in all would the complete code be :

<if in_array($GLOBALS['mybb']->user['usergroup'], array(2)) then>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>Error</strong></span></td>
</tr>
<tr>
<td class="trow1">
You need 10 posts to play games.
</table></if>
<if in_array($GLOBALS['mybb']->user['usergroup'], array(3,4,6,9)) then>
{$games_menu}
{$stats}
{$categories_bar}
{$tournaments_bar}
{$search_bar}
{$multipages}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead"><strong>{$lang->gamesection}</strong></td>
</tr>
<tr>
<td class="tcat" width="175" align="center"><strong>{$lang->name}</strong></td>
<td class="tcat" align="center"><strong>{$lang->description}</strong></td>
<td class="tcat" width="250" align="center"><strong>{$lang->menu}</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->champion}</strong></td>
</tr>
{$games_bit}</if>
That should work.
It didn't work it gave me a PHP error but thanks anyway. Smile
Did you have template conditionals installed?
I have no idea
Pages: 1 2