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






Main : XOOPS Hacks : 

Category: XOOPS Hacks     x22      
Download Now! auto-login hacked files for XOOPS 2.2.x Popular Version: 2.2.x
Submitted Date:  2006/4/10
Description:
in englishin japanese

== 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 higher

Since 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.



Downloaded 11803 times  11803  File Size 11.25 KB  Supported Platforms zip|x22  Home Page http://www.peak.ne.jp/xoops/
Modify | Report Broken File | Tell a Friend | Comments (12)


Comments list

slyss79  Posted on 2007/3/10 16:35
any news for me ?

thanks a lot
slyss79  Posted on 2007/3/8 7:42
thanks a lot for your reply...

i have tried to insert the line into mainfile but dosn't work... i still receive "incorrect login"

so i have:

php 5.0.4-10.5

mysql 4.1.20-1.FC4.1

thanks gijoe....
GIJOE  Posted on 2007/3/8 3:39
OK. I've checked it. Remove the image.

Quote:
autologin_pass look wrong because is there a date before the password... please check on screenshot
It is quite normal.

Rest possibility...

- PHP incompatibility with browfish encoding or decoding.
write your PHP version.

- cookie path
Try to insert a line into mainfile.php
	define('XOOPS_COOKIE_PATH','/');
slyss79  Posted on 2007/3/7 22:00
Quote:

GIJOE wrotes:


Anyway, check your COOKIE named 'autologin_uname' and 'autologin_pass' after login.

- exists or not
- value
- expire

- autologin_uname e autologin_pass exists
- value: see here screenshot: click here
- expire: 14 march (today is 7)

autologin_pass look wrong because is there a date before the password... please check on screenshot

thanks a lot gijoe
GIJOE  Posted on 2007/3/7 4:06 | Last modified
I cannot understand what you mean, yet.

Anyway, check your COOKIE named 'autologin_uname' and 'autologin_pass' after login.

- exists or not
- value
- expire
slyss79  Posted on 2007/3/6 18:15
Quote:

GIJOE wrotes:
Do you mean you cannot login at all with my hack, without regard to automatically or manually?

if i use your autologin hack into my 2.2.5 i can't login because i receive "incorrect login"....

with manually login is all ok.

how i can help you to understand the problem ?
GIJOE  Posted on 2007/3/6 12:37
Do you mean you cannot login at all with my hack, without regard to automatically or manually?
slyss79  Posted on 2007/3/6 9:09
Quote:

GIJOE wrotes:
Quote:
i have tried many browser but i receive ever INCORRECT LOGIN
"INCORRECT LOGIN"? instead of auto-login failed?

You should report what's wrong with DETAIL.
displaying cookie as browser's feature helps you.

i receive "incorrect login" and this message: " Sorry, no corresponding user info was found."

i have see cookied details but i don't understand what i must do...

can you help me ? thanks a lot...
GIJOE  Posted on 2007/3/6 2:07
Quote:
i have tried many browser but i receive ever INCORRECT LOGIN
"INCORRECT LOGIN"? instead of auto-login failed?

You should report what's wrong with DETAIL.
displaying cookie as browser's feature helps you.
slyss79  Posted on 2007/3/5 7:22
hi

i have tried many browser but i receive ever INCORRECT LOGIN

this is my site: http://www.youtube.com/watch?v=Ek9K9FRFNPU

my root site is: http://www.stefanosnetwork.com/site/

please help me about this... thanks a lot...
Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!