Forum Index   -   Topic Index
   Preload
     SecurityImage Login Preload Hack(?) (XC Version)
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
wanikoo
Posted on: 2006/10/23 9:19
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
SecurityImage Login Preload Hack(?) (XC Version)
-----------------------------------------
SecurityImage Login Preload Hack(?) version 1.0 by wanikoo
( http://www.wanisys.net/ )
Based on Class SecurityImage 1.6 by DuGris aka L. Jen
( http://www.dugris.info )
--------------------------------------------
( Tested on XOOPS Cube Legacy 2.1 Beta )
---------------------------------------------
This hack provides SecurityImage Login ^^;;

Related topic:
Topic: Security Code, image
http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=128&viewmode=flat
(Umm..I found this topic yesterday^^; and made this hack^^;; )

-------------
How to install
-------------
1) You have to download Class SecurityImage(by DuGris aka L. Jen )
You can download it here:
http://www.dugris.info/wfdownloads-viewcat.cid-4.htm

2) Upload files like this!
/html/class/xoopsform/securityimage.php
/html/uploads/securityimage/*.*
/html/uploads/securityimage/cache/*.*
/html/uploads/securityimage/fonts/*.*

3) Modify two template files of user module.
(a)
-Login block of Legacy module
/html/modules/user/templates/blocks/user_block_login.html
( OR
If you use your own cloned-template-set instead of default template-set,
modify user_block_login.html of your current template-set )

from:
    <{$smarty.const._MB_USER_USERNAME}><br />
    <{xoops_input type=text name=uname size=12 value=$block.unamevalue maxlength=25}><br />
    <{$smarty.const._MB_USER_PASSWORD}><br />
    <{xoops_input type=password name=pass size=12 maxlength=32 }><br />

to:
    <{$smarty.const._MB_USER_USERNAME}><br />
    <{xoops_input type=text name=uname size=12 value=$block.unamevalue maxlength=25}><br />
    <{$smarty.const._MB_USER_PASSWORD}><br />
    <{xoops_input type=password name=pass size=12 maxlength=32 }><br />

<{if $xoops_securityimage }>
    <{$smarty.const._SECURITYIMAGE_GETCODE}><br />
<img src="<{$xoops_securityimage}>" alt="<{$smarty.const._SECURITYIMAGE_CODE}>" title="<{$smarty.const._SECURITYIMAGE_CODE}>"/><br />
    <{xoops_input type=text name=securityCode size=6 maxlength=6 }><br />
<{/if}>

(b)
-Login form in default page of User module
/html/modules/user/templates/user_default.html
( OR
If you use your own cloned-template-set instead of default template-set,
modify user_default.html of your current template-set )

from:
  <tr>
    <td class="head"><{$smarty.const._PASSWORD}></td>
    <td class="<{cycle values="odd,even"}>">
     <input type="password" name="pass" size="30" maxlength="32" />
    </td>
  </tr>

to:
  <tr>
    <td class="head"><{$smarty.const._PASSWORD}></td>
    <td class="<{cycle values="odd,even"}>">
     <input type="password" name="pass" size="30" maxlength="32" />
    </td>
  </tr>
<{if $xoops_securityimage }>
  <tr>
    <td class="head"><{$smarty.const._SECURITYIMAGE_GETCODE}></td>
    <td class="<{cycle values="odd,even"}>">
     <img src="<{$xoops_securityimage}>" alt="<{$smarty.const._SECURITYIMAGE_CODE}>" title="<{$smarty.const._SECURITYIMAGE_CODE}>"/>
     <br /><input type="text" name="securityCode" size="6" maxlength="6" />
    </td>
  </tr>
<{/if}>


4) Update user module!

5) Copy SecurityImageLogin.class.php into /html/modules/user/preload/ like this.
( ex: /html/modules/user/preload/SecurityImageLogin.class.php )

6) That's all!

----------------
How to uninstall
-----------------
1) Just delete new files!

2) Restore modified templates

3) That's all^^;;

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

SecurityImageLogin.class.php (Ver 1.0)
Download it here!
http://www.wanisys.net/data/securityimagelogin.zip

<?php
/**
Security Image Login Preload Hack(?) version 1.0 by wanikoo
 ( http://www.wanisys.net/ )
Based on Class SecurityImage 1.6 by DuGris aka L. Jen
 ( http://www.dugris.info )
*/

if (!defined('XOOPS_ROOT_PATH')) die();

include_once XOOPS_ROOT_PATH ."/class/xoopsformloader.php";
include_once XOOPS_ROOT_PATH ."/class/xoopsform/securityimage.php";

if (!defined('_SECURITYIMAGE_CODE')) {
define("_SECURITYIMAGE_CODE","Security code");
}
if (!defined('_SECURITYIMAGE_GETCODE')) {
define("_SECURITYIMAGE_GETCODE","Enter the security code");
}
if (!defined('_SECURITYIMAGE_ERROR')) {
define("_SECURITYIMAGE_ERROR","Invalid security code");
}
if (!defined('_SECURITYIMAGE_GDERROR')) {
define("_SECURITYIMAGE_GDERROR","<b><font color='#CC0000'>Library GD not installed</font> : <a target='_blank' href='http://fr2.php.net/manual/fr/ref.image.php'>Manual PHP</a></b><br />");
}
if (!defined('_SECURITYIMAGE_FONTERROR')) {
define("_SECURITYIMAGE_FONTERROR","<b><font color='#CC0000'>No true type fonts found</font>, verify your installation</b><br />");
}

class User_SecurityImageLogin extends XCube_ActionFilter
{

 	function preBlockFilter()
	{

	$root =& XCube_Root::getSingleton();
	$root->mDelegateManager->add('Site.CheckLogin', 'User_SecurityImageLogin::checkImageLogin', XCUBE_DELEGATE_PRIORITY_NORMAL-1);
	$root->mDelegateManager->add('XoopsTpl.New', 'User_SecurityImageLogin::assignImage');

	}

	function checkImageLogin(&$xoopsUser)
	{
		if (is_object($xoopsUser)) {
			return;
		}

		$root =& XCube_Root::getSingleton();

		if ( defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
		$root->mController->executeRedirect('java script:history.go(-1)', 1, _SECURITYIMAGE_ERROR);
		}

		$root->mLanguageManager->loadModuleMessageCatalog('user');

		$userHandler =& xoops_getmodulehandler('users', 'user');
		
		$criteria =& new CriteriaCompo();
		$criteria->add(new Criteria('uname', xoops_getrequest('uname')));
		$criteria->add(new Criteria('pass', md5(xoops_getrequest('pass'))));
		
		$userArr =& $userHandler->getObjects($criteria);
		
		if (count($userArr) != 1) {
			return;
		}
		
		if ($userArr[0]->get('level') == 0) {
			// TODO We should use message "_MD_USER_LANG_NOACTTPADM"
			return;
		}
		
		$handler =& xoops_gethandler('user');
		$user =& $handler->get($userArr[0]->get('uid'));
		
		$xoopsUser = $user;
	
		//
		// Regist to session
		//
		require_once XOOPS_ROOT_PATH . '/include/session.php';
		xoops_session_regenerate();
		$_SESSION = array();
		$_SESSION['xoopsUserId'] = $xoopsUser->get('uid');
		$_SESSION['xoopsUserGroups'] = $xoopsUser->getGroups();
		
		//
		// Use 'mysession'
		//
		$xoopsConfig = $root->mContext->mXoopsConfig;
		
		if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
			setcookie($xoopsConfig['session_name'], session_id(), time() + (60 * $xoopsConfig['session_expire']), '/', '', 0);
		}
	}




	function assignImage(&$xoopsTpl)
	{

		$root =& XCube_Root::getSingleton();

		if (!is_object($root->mContext->mXoopsUser)) {

			if (defined('SECURITYIMAGE_INCLUDED')) {
			$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
			if ($security_image->render()) {
			$xoopsTpl->assign('xoops_securityimage',  $security_image->getImageFile());
    			}
			}
	
		}

	}

}
?>

PS:
As you know, GD Library ^^;;

PS1:
This hack will not work properly on XOOPS Cube Legacy 2.1 Alpha because it uses new XC Core!

PS2:
Umm...
Still..I am not good at Xoops Cube.
So...I can't guarantee this hack..^^;;
Umm...
anyway...
It works well...on my test server.
( Tested on XOOPS Cube Legacy 2.1 Beta)

^^;;


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

wanikoo
Posted on: 2006/10/24 21:41
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
Re: SecurityImage Login Preload Hack(?) (XC Version)
Umm...
This hack doesn't work properly on XoopsCube Legay 2.1 Beta 2.

Temporary fix:
Just remove this file^^;;
/html/modules/legacyRender/preload/StartupXoopsTpl.class.php
--;;
Umm...
just temporary fix!
anyway..
I will release the fixed version sooner or later!

PS:
My other preload hacks also have some trouble on XOOPS Cube Legay 2.1 Beta 2.
Umm...
I will fix them,too


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

wanikoo
Posted on: 2006/10/25 5:39
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
Re: SecurityImage Login Preload Hack(?) (XC Version)
Quote:

wanikoo wrote:
Temporary fix:
Just remove this file^^;;
/html/modules/legacyRender/preload/StartupXoopsTpl.class.php
--;;

^^;;
Or
-------------------------------------
How to make it work properly on beta2
-------------------------------------
1) First, fix StartupXoopsTpl.class.php refering to the following post!
- Problem of StartupXoopsTpl.class.php
http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=285&post_id=1743&viewmode=flat&order=ASC#forumpost1743

2) Fix assignImage() of SecurityImageLogin.class.php
like this!

from:
	function assignImage(&$xoopsTpl)
	{

		$root =& XCube_Root::getSingleton();

		if (!is_object($root->mContext->mXoopsUser)) {

			if (defined('SECURITYIMAGE_INCLUDED')) {
			$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
			if ($security_image->render()) {
			$xoopsTpl->assign('xoops_securityimage',  $security_image->getImageFile());
    			}
			}
	
		}

	}
to:
	function assignImage(&$xoopsTpl)
	{

		$root =& XCube_Root::getSingleton();

		if (!is_object($root->mContext->mXoopsUser)) {

			if (defined('SECURITYIMAGE_INCLUDED')&&!isset($_POST['securityCode'])) {
			$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
			if ($security_image->render()) {
			$xoopsTpl->assign('xoops_securityimage',  $security_image->getImageFile());
    			}
			}
	
		}

	}

3) and...it will work well!!

PS:
Umm..
anyway...
I will release its new version sooner or later!!

^^;;


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

wanikoo
Posted on: 2006/10/26 17:33
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
Re: SecurityImage Login Preload Hack(?) (XC Version)
-----------------------------------------
SecurityImage Login Preload Hack(?) version 2.0 by wanikoo
( http://www.wanisys.net/ )
Based on Class SecurityImage 1.6 by DuGris aka L. Jen
( http://www.dugris.info )
--------------------------------------------
( Tested on XOOPS Cube Legacy 2.1 Beta 2 )
---------------------------------------------
This hack provides SecurityImage Login ^^;;

Related topic:
Topic: Security Code, image
http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=128&viewmode=flat
(Umm..I found this topic yesterday^^; and made this hack^^;; )

----------------
Change
----------------
1) You can easily customize security-image! (ver2.0)
(Refer to function assignImage() of SecurityImageLogin.class.php)
2) You can use this preload hack for other modules!!! (ver2.0)

-------------
How to install
-------------
1) You have to download Class SecurityImage(by DuGris aka L. Jen )
You can download it here:
http://www.dugris.info/wfdownloads-viewcat.cid-4.htm

2) Upload files like this!
/html/class/xoopsform/securityimage.php
/html/uploads/securityimage/*.*
/html/uploads/securityimage/cache/*.*
/html/uploads/securityimage/fonts/*.*

3) Modify two template files of user module.
(a)
-Login block of User module
/html/modules/user/templates/blocks/user_block_login.html
( OR
If you use your own cloned-template-set instead of default template-set,
modify user_block_login.html of your current template-set )

from:
    <{$smarty.const._MB_USER_USERNAME}><br />
    <{xoops_input type=text name=uname size=12 value=$block.unamevalue maxlength=25}><br />
    <{$smarty.const._MB_USER_PASSWORD}><br />
    <{xoops_input type=password name=pass size=12 maxlength=32 }><br />

to:
    <{$smarty.const._MB_USER_USERNAME}><br />
    <{xoops_input type=text name=uname size=12 value=$block.unamevalue maxlength=25}><br />
    <{$smarty.const._MB_USER_PASSWORD}><br />
    <{xoops_input type=password name=pass size=12 maxlength=32 }><br />
<{if $xc_securityimage }>
    <{$smarty.const._SECURITYIMAGE_GETCODE}><br />
<img src="<{$xc_securityimage}>" alt="<{$smarty.const._SECURITYIMAGE_CODE}>" title="<{$smarty.const._SECURITYIMAGE_CODE}>"/><br />
    <{xoops_input type=text name=securityCode size=$xc_securityimagechars maxlength=$xc_securityimagechars }><br />
<{/if}>

(b)
-Login form in default page of User module
/html/modules/user/templates/user_default.html
( OR
If you use your own cloned-template-set instead of default template-set,
modify user_default.html of your current template-set )

from:
  <tr>
    <td class="head"><{$smarty.const._PASSWORD}></td>
    <td class="<{cycle values="odd,even"}>">
     <input type="password" name="pass" size="30" maxlength="32" />
    </td>
  </tr>

to:
  <tr>
    <td class="head"><{$smarty.const._PASSWORD}></td>
    <td class="<{cycle values="odd,even"}>">
     <input type="password" name="pass" size="30" maxlength="32" />
    </td>
  </tr>
<{if $xc_securityimage }>
  <tr>
    <td class="head"><{$smarty.const._SECURITYIMAGE_GETCODE}></td>
    <td class="<{cycle values="odd,even"}>">
     <img src="<{$xc_securityimage}>" alt="<{$smarty.const._SECURITYIMAGE_CODE}>" title="<{$smarty.const._SECURITYIMAGE_CODE}>"/>
     <br /><input type="text" name="securityCode" size="<{$xc_securityimagechar}>" maxlength="<{$xc_securityimagechar}>" />
    </td>
  </tr>
<{/if}>


4) Update user module!

5) Copy SecurityImageLogin.class.php into /html/modules/user/preload/ like this.
( ex: /html/modules/user/preload/SecurityImageLogin.class.php )

6) That's all!

----------------
How to uninstall
-----------------
1) Just delete new files!

2) Restore modified templates

3) That's all^^;;

-------------------
SecurityImageLogin.class.php (Ver 2.0)
Download it here!
http://www.wanisys.net/data/securityimagelogin.zip

<?php
/**
Security Image Login Preload Hack(?) version 2.0 by wanikoo
 ( http://www.wanisys.net/ )
Based on Class SecurityImage 1.6 by DuGris aka L. Jen
 ( http://www.dugris.info )
*/
//Umm...as you know, 
//Security Image Preload Hack is less efficient than direct modification of related files.
//Umm..T.T ...anyway....

if (!defined('XOOPS_ROOT_PATH')) die();

include_once XOOPS_ROOT_PATH ."/class/xoopsformloader.php";
include_once XOOPS_ROOT_PATH ."/class/xoopsform/securityimage.php";

if (!defined('_SECURITYIMAGE_CODE')) {
define("_SECURITYIMAGE_CODE","Security code");
}
if (!defined('_SECURITYIMAGE_GETCODE')) {
define("_SECURITYIMAGE_GETCODE","Enter the security code");
}
if (!defined('_SECURITYIMAGE_ERROR')) {
define("_SECURITYIMAGE_ERROR","Invalid security code");
}
if (!defined('_SECURITYIMAGE_GDERROR')) {
define("_SECURITYIMAGE_GDERROR","<b><font color='#CC0000'>Library GD not installed</font> : <a target='_blank' href='http://fr2.php.net/manual/fr/ref.image.php'>Manual PHP</a></b><br />");
}
if (!defined('_SECURITYIMAGE_FONTERROR')) {
define("_SECURITYIMAGE_FONTERROR","<b><font color='#CC0000'>No true type fonts found</font>, verify your installation</b><br />");
}

class User_SecurityImageLogin extends XCube_ActionFilter
{

 	function preBlockFilter()
	{

	$root =& XCube_Root::getSingleton();
	//Site.CheckLogin for security image login check
	$root->mDelegateManager->add('Site.CheckLogin', 'User_SecurityImageLogin::checkImageLogin', XCUBE_DELEGATE_PRIORITY_NORMAL-1);
	//Site.CheckSecurityImage for security image general check( ex: post in news )
	$root->mDelegateManager->add('Site.CheckSecurityImage', 'User_SecurityImageLogin::checkImageGeneral');
	$root->mDelegateManager->add('XoopsTpl.New', 'User_SecurityImageLogin::assignImage');
	//You can also use Legacy_RenderSystem.SetupXoopsTpl^^ instead of XoopsTpl.New
	//$root->mDelegateManager->add('Legacy_RenderSystem.SetupXoopsTpl', 'User_SecurityImageLogin::assignImage');

	}

	function checkImageLogin(&$xoopsUser)
	{
		if (is_object($xoopsUser)) {
			return;
		}

		$root =& XCube_Root::getSingleton();

		if ( defined('SECURITYIMAGE_INCLUDED') && isset($_REQUEST['securityCode']) && !SecurityImage::CheckSecurityImage() ) {
		$root->mController->executeRedirect('java script:history.go(-1)', 1, _SECURITYIMAGE_ERROR);
		}

		$root->mLanguageManager->loadModuleMessageCatalog('user');

		$userHandler =& xoops_getmodulehandler('users', 'user');
		
		$criteria =& new CriteriaCompo();
		$criteria->add(new Criteria('uname', xoops_getrequest('uname')));
		$criteria->add(new Criteria('pass', md5(xoops_getrequest('pass'))));
		
		$userArr =& $userHandler->getObjects($criteria);
		
		if (count($userArr) != 1) {
			return;
		}
		
		if ($userArr[0]->get('level') == 0) {
			// TODO We should use message "_MD_USER_LANG_NOACTTPADM"
			return;
		}
		
		$handler =& xoops_gethandler('user');
		$user =& $handler->get($userArr[0]->get('uid'));
		
		$xoopsUser = $user;
	
		//
		// Regist to session
		//
		require_once XOOPS_ROOT_PATH . '/include/session.php';
		xoops_session_regenerate();
		$_SESSION = array();
		$_SESSION['xoopsUserId'] = $xoopsUser->get('uid');
		$_SESSION['xoopsUserGroups'] = $xoopsUser->getGroups();
		
		//
		// Use 'mysession'
		//
		$xoopsConfig = $root->mContext->mXoopsConfig;
		
		if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
			setcookie($xoopsConfig['session_name'], session_id(), time() + (60 * $xoopsConfig['session_expire']), '/', '', 0);
		}
	}



	function checkImageGeneral()
	{
		$root =& XCube_Root::getSingleton();

		if ( defined('SECURITYIMAGE_INCLUDED') && isset($_REQUEST['securityCode'])  && !SecurityImage::CheckSecurityImage() ) {
		$root->mController->executeRedirect('java script:history.go(-1)', 1, _SECURITYIMAGE_ERROR);
		}

	}


	function assignImage(&$xoopsTpl)
	{

		$ForMembers = 1; 
		$NumChars = 6; 
		$MinFontSize = 12; 
		$MaxFontSize = 16; 
		$BackgroundType=0; 
		$NumBackground = 50; 
		$SessionName = 'xcsecurityimage'; 
		$SensitiveCase = 1;

		$root =& XCube_Root::getSingleton();

		if (!is_object($root->mContext->mXoopsUser)) {
			//Umm...We must not generate new securityimage during post-request(exception:post for preview (ex) old news module)
			//I think you may need to customize this condition for some modules. Umm....
			if (defined('SECURITYIMAGE_INCLUDED')&&(!isset($_REQUEST['securityCode'])||isset($_REQUEST['preview']) )) {
			$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE, $ForMembers, $NumChars, $MinFontSize, $MaxFontSize, $BackgroundType, $NumBackground, $SessionName, $SensitiveCase );
			if ($security_image->render()) {
			$xoopsTpl->assign('xc_securityimage',  $security_image->getImageFile());
			$xoopsTpl->assign('xc_securityimagechars',  $NumChars);
			$GLOBALS['xc_securityimage'] = $security_image->getImageFile();
			$GLOBALS['xc_securityimagechars'] = $NumChars;
    			}
			}
	
		}

	}


}
?>


And...
You can use this preload hack for other modules!!!
-----------------------------------------------------
How to use SecurityImage Preload Hack for other modules
-----------------------------------------------------
ex)
----------------------
in case of News module
---------------------
1) modify /html/modules/news/include/storyform.inc.php like this!

from:
$sform->addElement($option_tray);

$button_tray = new XoopsFormElementTray('' ,'');

to:
$sform->addElement($option_tray);

if (isset($GLOBALS['xc_securityimage'])) {
$securityimage_tray = new XoopsFormElementTray(_SECURITYIMAGE_GETCODE ,'&nbsp;&nbsp;');
$securityimage_tray->addElement(new XoopsFormLabel('', '<img src="'.$GLOBALS['xc_securityimage'].'" alt="" title=""/>'));
$securityimage_tray->addElement(new XoopsFormText('', 'securityCode', $GLOBALS['xc_securityimagechars'], $GLOBALS['xc_securityimagechars'], ''));
$sform->addElement($securityimage_tray);
}

$button_tray = new XoopsFormElementTray('' ,'');



2) modify /html/modules/news/submit.php like this!

from:
} elseif (!empty($_POST['post'])) {
    if (XoopsMultiTokenHandler::quickValidate('news_submit')) {
        $op = 'post';
    }
    else {
	    $op = 'form';
    }
}

to:
} elseif (!empty($_POST['post'])) {
    XCube_DelegateUtils::call('Site.CheckSecurityImage');
    if (XoopsMultiTokenHandler::quickValidate('news_submit')) {
        $op = 'post';
    }
    else {
	    $op = 'form';
    }
}


3) That's all!

<Notice>
Basically, this preload hack shows Security-image to only guest-group!!
If you want to show it to member-group also,
please comment out if-condition like this!
(function assignImage() of SecurityImageLogin.class.php)
//if (!is_object($root->mContext->mXoopsUser)) {
.......
//}

-----------------------------------------
PS:
As you know, GD Library ^^;;

PS1:
This hack will not work properly on XOOPS Cube Legacy 2.1 Alpha because it uses new XC Core!

PS2:
You must remove or fix StartupXoopsTpl.class.php to use this preload hack on XOOPS Cube Legacy 2.1 Beta2,
because it has some problem!!
- Problem of StartupXoopsTpl.class.php
http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=285&post_id=1743&viewmode=flat&order=ASC#forumpost1743

PS3:
Umm...
Security Image Preload Hack is less efficient than direct modification of related files.
Umm..T.T ...
anyway....

PS4:
Umm...
Still..I am not good at Xoops Cube.
So...I can't guarantee this hack..^^;;
Umm...
anyway...
It works well...on my test server.
( Tested on XOOPS Cube Legacy 2.1 Beta2)

^^;;


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

plusangel
Posted on: 2007/5/31 20:22
Home away from home
Joined: 2006/3/8
From: Athens, Greece
Posts: 237
Re: SecurityImage Login Preload Hack(?) (XC Version)
Dear friends,

Have you test this prelaod with the final xcl version?
Since it refers about beta 2...

I noticed that the security image is used for the user login.
I think that is more important to add it in the registration form (to avoid spam bots registration).

Has anyone try it successfully?


----------------
Regards Angelos,

xoopsCube.gr, the greek support site!

gigamaster
Posted on: 2007/5/31 23:58
Home away from home
Joined: 2005/12/30
From: Switzerland
Posts: 1227
Re: SecurityImage Login Preload Hack(?) (XC Version)
Hi Angelos,

I would like to try this preload if a get an extra free time.
But if you do it before, please, let me know how you made it.

Have Fun !


----------------
Xoops Cube Support

MAC OSX - Apache 2.2 - MySQL 5.5 - PHP 5.3
Free BSD - Apache 2.2 - MySQL 5.5 - PHP 5.2

wanikoo
Posted on: 2007/6/1 5:48
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
Re: SecurityImage Login Preload Hack(?) (XC Version)
Quote:

plusangel wrote:
Have you test this prelaod with the final xcl version?
Since it refers about beta 2...

This preload still works well on XC Legacy 2.1.0
Umm..
anyway...
I will upgrade it when I have free time!

ps:
Don't cache login block with this preload!


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

plusangel
Posted on: 2007/6/28 1:26
Home away from home
Joined: 2006/3/8
From: Athens, Greece
Posts: 237
Re: SecurityImage Login Preload Hack(?) (XC Version)
Dear Wanikoo,

I'm trying to download http://www.wanisys.net/data/securityimagelogin.zip
but no luck...

Are you working on a new version?


----------------
Regards Angelos,

xoopsCube.gr, the greek support site!

wanikoo
Posted on: 2007/6/28 3:41
Home away from home
Joined: 2006/3/1
From: third rock from the sun
Posts: 323
Re: SecurityImage Login Preload Hack(?) (XC Version)
Hi,plusangel!
Quote:

plusangel wrote:
I'm trying to download http://www.wanisys.net/data/securityimagelogin.zip
but no luck...

??
Umm..
It's not broken!
I think it was temporay offline!
please try again!
Quote:

Are you working on a new version?

^^//
maybe...someday!


----------------
the most educational site, wanisys.net
XOOPS Cube Korean Support Site !!

Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 

Who's Online
26 user(s) are online (11 user(s) are browsing Forums)

Members: 0
Guests: 26

more...

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube © 2001-2011 The XOOPS Cube Project