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 ●XOOPS 2.2用のオートログインハック (V4)これは本家版用です。JP版には利用できないので、注意してください!オートログインの機能自体を、完全に作り直したものであるため、しばらくはベータ版扱いとします。ご了承ください。----------------------------------------...
Previous post - Next post | Parent - Children.1 | Posted on 2006/5/23 12:04
Norman  二等兵   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  先任軍曹   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!