

== AUTO-LOGIN V4 (REMEMBER ME) hacked files for XOOPS 2.2 ==
This package is only for 2.2 released from www.xoops.org. Don't apply it to 2.0.10JP or higherSince this hack is fully scratched, you should know this is a beta version.
------------------------------------------------------------------
A new type of auto-login (remember me) hack.
You need not over-write any core files.
All you have to do is:
- copy autologin.php and autologin_main.php into include/ .
- modify mainfile.php manually like this:
if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
require XOOPS_ROOT_PATH."/include/common.php";
include XOOPS_ROOT_PATH."/include/autologin.php" ;
}
- modify the template system_block_login.html like this:
<input type="password" name="pass" size="12" maxlength="32" /><br />
<input type="checkbox" name="rememberme" value="On" class
="formButton" />remember me<br />
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
And if you can, change the value into your "secret key" in this line of include/autologin.php
// you'd better change the value
define( 'XOOPS_AUTOLOGIN_SECRETKEY' , 'change-it' ) ;
---------
(2006/4/10 modified) fixed SID is displayed just after auto-login.