@Matthew: First try to add
to your buttons like:
PHP Code:
if ( $bbuserinfo['userid'] != 0 )
{ $contact_but = '<a href="../forums/showthread.php?s=' . $session['sessionhash'] . '&threadid=125"><img src="../forums/images/top_contact.gif" alt="Contact ASE" border="0"></a> ';
$reg_ucp = '<a href="../forums/usercp.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences"></a> ';
$memberhead = '<a href="../forums/memberlist.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_members.gif" alt="Find other users"></a> ';
$searchhead = '<a href="../forums/search.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_search.gif" alt="Search"></a> ';
$logout = '<a href="../forums/member.php?s=' . $session['sessionhash'] . '&action=logout"><img border="0" src="../forums/images/top_logout.gif" alt="Logout"></a> ';
It should fix the problem. If it does not let us know your source code of your whole page with and without compression.