Hi,
I'm a poor french guy, but with new philosophy in Xoops
2.1 (roadmap and hack integration) I propose some perso
hack... It's the right forum ? Tk
For redirection user in TurneOff mode after
authentification...
1 - In folder "include/" edit file "common.php" :
Line 248 :
$xoopsTpl->assign(array('sitename' =>
$xoopsConfig['sitename'], 'xoops_themecss' =>
xoops_getcss(), 'xoops_imageurl' =>
XOOPS_THEME_URL.'/'.$xoopsConfig['theme_set'].'/',
'lang_login' => _LOGIN, 'lang_username' => _USERNAME,
'lang_password' => _PASSWORD, 'lang_siteclosemsg' =>
$xoopsConfig['closesite_text']));
change with :
$xoopsTpl->assign(array('sitename' =>
$xoopsConfig['sitename'], 'xoops_themecss' =>
xoops_getcss(), 'xoops_imageurl' =>
XOOPS_THEME_URL.'/'.$xoopsConfig['theme_set'].'/',
'lang_login' => _LOGIN, 'lang_username' => _USERNAME,
'lang_password' => _PASSWORD, 'lang_siteclosemsg' =>
$xoopsConfig['closesite_text'],'xoops_requesturi' =>
$_SERVER['REQUEST_URI']));
2 - change $xoopsTpl->xoops_setCaching(1); par
$xoopsTpl->xoops_setCaching(0);
3 - edit
"modules/system/templates/system_siteclosed.html" file :
<input type="hidden" name="xoops_login" value="1"/>
change by :
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" ><="" p="">
4 - Update your system module..
Thank you !!
Logged In: YES
user_id=882380
Fixed on branch #126903, to be released with 2.0.14 / 2.2.5