PEAK XOOPS - Re: auto-login hacked files for XOOPS 2.2.x in englishin japanese

Re: auto-login hacked files for XOOPS 2.2.x

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target Downloads
Subject auto-login hacked files for XOOPS 2.2.x
Summary == 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.---------------...
Previous post - Next post | Parent - Children.1 | Posted on 2006/5/23 12:04
Norman  Private   Posts: 1
I installed this patch to XOOPS 2.2.4 and it did not appear to work. The remember me check box did not appear. After clearing the files from template_c and then restarting Apache, I then saw the checkbox. I had to do both, doing just one wouldn't work.

Then it would not actually auto login. I checked the cookies, and it was not adding any cookies. I verified that autologin.php was being called by adding a print statement.

Further investigation revealed that the test:

@$_SERVER['SCRIPT_FILENAME'] == XOOPS_ROOT_PATH.'/user.php'
was always returning false. Apparently, each side of the test handles symbolic links differently. Changing it to the hard coded full path of user.php fixed the problem and it seems to work now.
Votes:2 Average:5.00
Previous post - Next post | Parent - No child | Posted on 2006/5/24 5:25
GIJOE  Gunnery Sergeant   Posts: 4110
edit templates by tplsadmin.
Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!