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

●XOOPS 2.2用のオートログインハック (V4)

これは本家版用です。JP版には利用できないので、注意してください!

オートログインの機能自体を、完全に作り直したものであるため、しばらくはベータ版扱いとします。ご了承ください。

--------------------------------------------------

新しいタイプのオートログインHackです。

このタイプでは、コアの構成ファイルを何一つ上書きしません。
mainfile.php に1行足して、テンプレートをいじるだけです。

以下、手順を書きます。

- まず、アーカイブ内の autologin.php と autologin_main.php を include/ にコピーします
- あなたの mainfile.php を開いて、以下のように1行追加してください

	if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
		require XOOPS_ROOT_PATH."/include/common.php";
		include XOOPS_ROOT_PATH."/include/autologin.php" ;
	}

- テンプレート system_block_login.html を以下のように編集してください

    <input type="password" name="pass" size="12" maxlength="32" /><br />
    <input type="checkbox" name="rememberme" value="On" class ="formButton" />IDとパスワードを記憶<br />
    <input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />


出来れば、include/autologin.php の中にある、この行を編集して、何らかの秘密の文字列を設定してください。

// you'd better change the value
define( 'XOOPS_AUTOLOGIN_SECRETKEY' , 'change-it' ) ;



以上です。

---------
(2006/4/10 改訂) オートログイン直後に、SIDが表示されてしまっていたのを修正



Downloaded 13098 times  13098  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!