PDA

View Full Version : [SOLVED] Captcha Fails


twincascos
03-13-2007, 12:14 PM
Ok, here's the deal, if you have the following set up,
your security image will probably fail.

Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC
JA Submit version 2.1 stable
Walter Cedrics securityimages version >= 4.0.0

http://wiki.waltercedric.com/index.php?title=Using_com_securityimages_in_your_c ode#For_securityimages_version_.3E.3D_4.0.0
You'll need to edit ja_submit.php
and ja_submit.html.php

stevenstevensteven
06-19-2007, 02:11 PM
So, let me get this straight, reading the info from Walter Cedric's page, which is not that clear, the changes are as follows...

1) Ja_submit.php
add the following:



<?php include ($mosConfig_absolute_path.'/administrator/components/com_securityimages/client.php'); ?>
<?php echo insertSecurityImage("security_refid"); ?>
<?php echo getSecurityImageText("security_try"); ?>
<?php echo getSecurityImageTextHeader(); ?>
<?php echo getSecurityImageTextHelp(); ?>
<?php echo getSecurityImageField("security_try"); ?>


2. ja_submit.html.php
add the following:

($mosConfig_absolute_path.'/administrator/components/com_securityimages/server.php');
$checkSecurity = checkSecurityImage($security_refid, $security_try);


Is this correct? Does it mater where this code is entered into either of these 2 files?

stevenstevensteven
06-21-2007, 01:03 AM
It was Walter's rework of JA Submit 2.1 that finally fixed the final problem. You can download it at this thread....

http://forums.waltercedric.com/index.php?topic=237.0

There is another thread in that sub_forum which addresses chmod settings. I also had to make a number of changes to files and folders in order to get the image to display.

Overall, these were the two biggest hurdles for me.

This is a sweet solution and was well worth the effort.

landed
04-05-2008, 03:21 PM
I cannot understand what to modify, as this is not a plug and play option I will need a little hand holding, The links given do not seem to be up to date so this is no longer solved

im running joomla 1.0.15 and JA submit 2.1

thanks I have the most up to date catptcha stuff working for other modules so i know its the jasubmit what needs modification

:((