3
Hi
In your XOOPS dir find the "language/include/functions.php " file on the language folder and find the function redirect_header. Paste the code below over the "old one".
Warning: on doing that you?ll remove all redirect functions in your XOOPS site, not only the thank you for logging..........
/*
* Function to redirect a user to certain pages
*/
function redirect_header($url, $time = 3, $message = '', $addredirect = true)
{
global $xoopsConfig, $xoopsRequestUri;
if (!defined('XOOPS_CPFUNC_LOADED')) {
header("Location: $url");
exit();
} else {
$url = preg_replace("/&/i", '&', htmlspecialchars($url, ENT_QUOTES));
echo '
'.$xoopsConfig['sitename'].'
._CHARSET.'" />
.$time.'; url='.$url.'" />
'.$message.'
'.sprintf(_IFNOTRELOAD, $url).'
';
}
exit();
}
Function hacked by
topet05In addition:
find your language xoops? folder,"user.php":
Around line 9, you?ll find:
define("_US_LOGGEDOUT",.........
Log out message
======================================
Around line 12:
define("_US_LOGGINGU",..........
Login message
=======================================
At the same dir:
file global.php
around line 90:
define("_NOPERM",......
You don?t have permission ....bla bla message
I hope this helps a bit.
Regards