6
unhardcore,
Not sure if you have the same xoopsroot/user.php as 2.2.4 but in mine there is code for users after logout. I changed mine like this (see red):
if ($op == 'logout') {
$message = '';
$_SESSION = array();
session_destroy();
if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
setcookie($xoopsConfig['session_name'], '', time()- 3600, '/', '', 0);
}
// clear entry from online users table
if (is_object($xoopsUser)) {
$online_handler =& xoops_gethandler('online');
$online_handler->destroy($xoopsUser->getVar('uid'));
}
$message = _US_LOGGEDOUT.'
'._US_THANKYOUFORVISIT;
redirect_header('[color=CC0000]/mydirectory/page-for-users-afterlogout.html[/color]', 1, $message);
exit();
}) {
I have also used the MyHome module by Solo and it works so nice. I highly recommend it. Great for different home page for users versus anonymous - plus cloning capabilities. 5 stars for wolfpackclan.com/wolfactory !
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]