add:
loggedinonly();
to index.php after dbconn
add:
$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;
to account-login.php, account-signup.php , account-recover.php and account-confirm-ok.php below dbconn();
then it should only show the header & footer
themes/default/header.php, find:
replace with:
loggedinonly();
to index.php after dbconn
add:
$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;
to account-login.php, account-signup.php , account-recover.php and account-confirm-ok.php below dbconn();
then it should only show the header & footer
themes/default/header.php, find:
<table width="100%">
<TR>
<td align="middle" class="subnav" height="34">
<a href="index.php"><B>Home</B></a> | <a href=torrents-upload.php ><B>Upload Torrent</B></a> | <a href=torrents.php ><B>Browse Torrents</B></a> | <a href=torrents-today.php ><B>Todays Torrents</B></a> | <a href=torrents-search.php ><B>Search</B></a>
</td>
</TR>
</table>replace with:
<?if($CURUSER){?>
<table width="100%">
<TR>
<td align="middle" class="subnav" height="34">
<a href="index.php"><B>Home</B></a> | <a href=torrents-upload.php ><B>Upload Torrent</B></a> | <a href=torrents.php ><B>Browse Torrents</B></a> | <a href=torrents-today.php ><B>Todays Torrents</B></a> | <a href=torrents-search.php ><B>Search</B></a>
</td>
</TR>
</table>
<?}?>