Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
Security Images 2.2 - whats new... Print E-mail
User Rating: / 1
PoorBest 
Monday, 21 November 2005 09:37

I will also release a new version of akocomment, and resolve the logged in user bugs that many people have reported me.

release 2.2.0 to be released soon

  • All - Security patches: add missing index.html and PHP missing header: defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
  • Plugin core is now able to output image to PNG, JPG or GIF selection in admin core settings
  • Plugin core is now able to limit the reload tentative of the users, retry counter is stored in user session. If user reload picture more than Retry in tab Text
  • Plugin core has a new switch: Use extended charset in image: ex: +*%&/()=?!$?@#...true or false
  • Plugin core is now able to output align text in image using 4 strategies:
    System font with random character position
    TTFonts with random character position
    The best for me, OCR is more difficult
    TTFonts with linear character position
    (Default setting)
    Random Above 3 in a random order.
  • All - Patches for Login/registration Joomla framework as file in /patches/ You have either:
    • To modify joomla files manually y following steps below OR
    • Copy already patched file (Joomla 1.0.3) to the server at the right place
  • All - Bug in function getSecurityImageField($textid) the javascript was not boostraped, no influence but bug was revealed when doing login integration
  • All - General Settings: It is now possible to display selectively the reload or sound button.
  • com_contact, if user failed to enter the right captcha, he lost his data. This is not a bug but more a functionnalities not existing in Joomla -> the form with history back is always initialize with empty fileds in Mozilla Firefox, while in IE it is working
  • Plugin All - Bug if logs are activated, php code logger.php was not included into the delegate plugins/xx/yy/checker.php
  • All - New Tab in "General settings" called "Joomla-Patches" this let You swicth on or off the use of security images in login, registration.
  • Plugin core - Bug correct the contrast of 2 images bg-L-5.png and bg-L-18.png : there were too dark!
  • All - A new menu entry "Check if latest version" has been add, I only have to finish the server code.-> it is not working right now but soon.

 

AkoComment

Administrator mail UTF8 support patch by Karel Neugebauer jr. - http://itx.cz

 

 

Install security images form code in existing Joomla code...

point A Open components\com_registration\registration.html.php line 54 in function registerForm($option, $useractivation)
  <tr>
<td>
<?php echo _PROMPT_EMAIL; ?>
</td>
<td>
<input type="text" name="confirmEmail" class="inputbox" size="40" />
</td>
</tr>


<?php
//security image by www.waltercedric.com
global $mosConfig_absolute_path;
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.lostPassForm.php')) {
require_once($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.lostPassForm.php');
}
//end security image by www.waltercedric.com
?>


<tr>
<td colspan="2">
<input type="hidden" name="option" value="<?php echo $option;?>" />
<input type="hidden" name="task" value="sendNewPass" /> <input type="submit" class="button" value="<?php echo _BUTTON_SEND_PASS; ?>" />
</td>
</tr>
point B Open components\com_registration\registration.html.at line 164 in function registerForm($option, $useractivation)
  <tr>
<td>
<?php echo _REGISTER_VPASS; ?> *
</td>
<td>
<input class="inputbox" type="password" name="password2" size="40" value="" />
</td>
</tr>

<?php
//security image by www.waltercedric.com
global $mosConfig_absolute_path;
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.html.registerForm.php')) {
require_once($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.html.registerForm.php');
}
//end security image by www.waltercedric.com
?>

<tr>
<td colspan="2">
</td>
</tr>
point C  

 

Install security images checking code in existing Joomla code...

Point 1 Open \components\com_registration\registration.php after line 61 add what is in bold below
  $checkusername = mosGetParam( $_POST, 'checkusername', '' );
$checkusername = $database->getEscaped( $checkusername );
$confirmEmail = mosGetParam( $_POST, 'confirmEmail', '');
$confirmEmail = $database->getEscaped( $confirmEmail );

//securityimages by www.waltercedric.com
global $mosConfig_absolute_path;
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.SendNewPass.php')) {
include_once($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.SendNewPass.php');
}
//end security images by www.waltercedric.com


$query = "SELECT id"
Point 2 Open \components\com_registration\registration.php after line 123 (123 is after added the point 1)
  function saveRegistration( $option ) {
global $database, $acl;
global $mosConfig_sitename, $mosConfig_live_site, $mosConfig_useractivation, $mosConfig_allowUserRegistration;
global $mosConfig_mailfrom, $mosConfig_fromname, $mosConfig_mailfrom, $mosConfig_fromname;

if ($mosConfig_allowUserRegistration=='0') {
mosNotAuth();
return;
}

//securityimages by www.waltercedric.com
global $mosConfig_absolute_path;
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.SaveRegistration.php')) {
include_once($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/registration.SaveRegistration.php');
}
//end security images by www.waltercedric.com

$row = new mosUser( $database );

if (!$row->bind( $_POST, 'usertype' )) {
echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n";
exit();
}
Point 3 Open includes\joomla.php after line 610
  $passwd = md5( $passwd );
$bypost = 1;
}
$remember = mosGetParam( $_POST, 'remember', '' );


//securityimages by www.waltercedric.com
global $mosConfig_absolute_path;
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.login.php')) {
include_once($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.login.php');
}
//end security images by www.waltercedric.com


if (!$username || !$passwd) {
echo "<script> alert(\""._LOGIN_INCOMPLETE."\"); window.history.go(-1); </script>\n";
exit();
} else {

   

 

Tags See All Tags Add New Tag...

Please Enter New Tags Separated By Comma's
  Or Close


Powered By Joomla Tags

Comments
Add New Search RSS
testing 2.2.X today - Boom! killed the p
colin (194.209.2.xxx) 2005-12-08 16:05:54

Tried out the package that you sent me and it
took down my site -- 4 hours
later and
I still had not fixed everything.



--------
version 2.2.0
has been tested an deployed to joomla,org in developer section - file
release
Walter Cedric

com_security for mambo
Willem (80.218.20.xxx) 2005-12-17 22:43:01

Hi,

I would like to know if this component will also be available for
mambo?

thanks

----
This component has nothing special, it is made of pure
php and do not access much to joomla API. Make a try under MAMBO!
Walter
Cedric

Security Image and Community Builder
Marco (194.209.2.xxx) 2005-12-14 09:12:09

Hi,

how is it possible to use Security Image with the Community Builder 1 RC
2 for Joomla! Registration and Login. Do you have any ideas or help for
me?
Thanx!
---------

look at www.waltercedric.com/wiki
there is an online
docu for developer, integration should not take more than 10 lines!


Re: Security Image and Community Builder
Jonathan (81.154.93.xxx) 2005-12-27 21:35:32

I have looked on your wikki and there is no article, I have tried another way
(from Joomla/MamboJoe) but that messed everything up completely.

Can you not
just write a simple plugin?
Re: Re: Security Image and Community Bui
Walter Cedric (83.196.113.xxx) 2005-12-29 12:52:34

doc is here:
http://www.waltercedric.com/wiki/
index.ph
p?title=
Using_com_securityimages_in_your_code


The plugin is simple, I can
not code and assure that it will work on all configurations, with all 3rd party
code...You'll have to accept it.
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Monday, 21 November 2005 22:38 )
 


Another articles:


Content View Hits : 2895475

Enter Amount: