Quote:
Originally Posted by jgommel
Hey Michael - thanks for responding and giving me a hand. I tried changing my LOGOUT code, but when logging out, I get the following 404 page...
404 Not Found
The requested URL /login.php?do=logout&logouthash=41f7689411006c511fc c23073a361f66 does not exist.
|
Go to the new dialog_logout template (created when you installed the hack). The default contents of that template are:
HTML Code:
<div id="dialog_logout" style="display:none; position: absolute; top: 150px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td align="center">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center">
<tr><td class="tcat" style="padding: 5px;">Log Out?</td></tr>
<tr><td class="alt1">Are you sure you wish to logout?</td></tr>
<tr><td class="tfoot" align="center"><input class="button" type="button" value="Yes" onclick="window.location='login.php?do=logout&logouthash=';" /> <input class="button" type="button" value="No" onclick="dialogClose('dialog_logout');" /></td></tr></table>
</td></tr></table>
</div>
Replace with
HTML Code:
<div id="dialog_logout" style="display:none; position: absolute; top: 150px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td align="center">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center">
<tr><td class="tcat" style="padding: 5px;">Log Out?</td></tr>
<tr><td class="alt1">Are you sure you wish to logout?</td></tr>
<tr><td class="tfoot" align="center"><input class="button" type="button" value="Yes" onclick="window.location='/forums/login.php?do=logout&logouthash=$bbuserinfo[logouthash]';" /> <input class="button" type="button" value="No" onclick="dialogClose('dialog_logout');" /></td></tr></table>
</td></tr></table>
</div>
This is necessary since your forums seem to be off in an absolute directory (A portal setup I presume).