(Translated by https://www.hiragana.jp/)
PEAK XOOPS - auto-login hacked files for XOOPS 2.2.x

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 13119 times  13119  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!