MyBB Community Forums

Full Version: Hide empty table when logged out?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Within a table with an object which cannot be viewed by guests.

But when a guest views the forum, there is just an empty table which looks very messy.

Is there anyway I can get rid of this table when your not logged in?

Site: http://cybertechforums.com
What table? Link?
http://cybertechforums.com

Its just a basic table, in the header.

-

I also need this help to get rid of the recent threads table, which is empty when nobody is logged in.
Use Yumi PHP Template mod
Any idea what code i need to use? Thanks
Never mind, figured it out

<if $GLOBALS['mybb']->user['usergroup'] == 1 then>

<else/>
<p></p>
<table border="0" cellspacing="2" cellpadding="4" class="tborder">
<tr><td class="trow2"><center>
####
</center></td></tr>
</table>
<p></p>
</if>