Was this project abandoned? There are few questions not answered.
Also, is there going to be a PHP5 upgrade for this module? It was working just fine before my server was upgraded to PHP 5.2.17.
Was this project abandoned? There are few questions not answered.
Also, is there going to be a PHP5 upgrade for this module? It was working just fine before my server was upgraded to PHP 5.2.17.
IDEAS Girl
IDEAS Creative Group = Your image... our business!
I think it's just session handling in 5.2.17 that makes this module not work - it works fine on my PHP 5.3.10 site but fails on my 5.2.17 site.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi! I just installed CAPTCHA image using GD library and true type fonts_telephone not required v. 3.0 for Zen Cart version 1.5
Everything seemed to install fine. Captcha is working on 'Contact Us' page just fine, but when I click on 'Create an Account' page, it doesn't show the captcha at all. I am using the All_Businesss Zen Cart template. Any idea what I may be doing wrong? I figure if the Contact Us page is showing it and working correctly, it's installed correctly and I just have something not set right. Any help would be much appreciated. Thanks.
Hi wondering if anyone would have an insight into an issue I am experiencing with this, other wise great, module.
I have install it on a Zen Cart v1.5 store and it was, still is, working great. When I use images for my buttons.
I am trying to keep load times to a minimum and every Kb counts sometime, so I swapped over to css buttons. Now the redraw button for the captcha image does nothing.
It maybe nothing to do with this module and everything to do with FEC, which I now think is overkill. Really only use the login and create account part of it.
As I am writing this I am getting the feeling I may be answering my own question. Uninstall FEC and see I the issue remains.
Any insight would be great guy and girls. I'll leave this on as a question and post back if uninstalling FEC clears it.
Just in case other need the answer too.
[EDIT]No It Made No Difference. FEC Disabled or FEC Uninstalled. The css button still did not redraw the captcha image.[/EDIT]
Last edited by BillyBoyle; 23 May 2012 at 11:23 PM. Reason: Up Date Info
I am installing it now, and noticed that this mod for V1.5 that is said to build on the original Captcha TTF mod for 1.39, but there is a file that is different from the latest version for 1.39 mod.
/includes/classes/captcha.php
Using a merge tool to compare, I noticed that the old copy I had was V2.9; while the copy that is provided in the V1.5 Captcha mod is V2.8;
Exists in V2.9 in line 094 is (which is missing in the V2.8 copy)
I am not sure if this has any effect in anything, but I thought I'll just point out here while I continue to work to upgrade my ZC to 1.5.PHP Code:
$redraw_button = zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class );
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strpos($redraw_button, $redraw) === false) {
$redraw_button = str_replace('<span ', '<span ' . $redraw, $redraw_button);
}
return $redraw_button;
Also.. on Readme.txt of V2.9 the changelog recorded:
v 2.9 11.08.2008 15:01
1. Bug fix - use zen_image_button with IMAGE_USE_CSS_BUTTONS == 'yes';
2. Update to support ZC1.3.8a and Links Manager 3.3.1 - thanks to t. mike howeth
3. corrected text in /includes/languages/english/extra_definitions/captcha.php - thanks to t. mike howeth
Another file spotted to be different:
/includes/modules/pages/links_submit/header.php.php
Not really sure if this relates to the issue I was/am having with the redraw button not actually redrawing the captcha image.
here is a side by side comparison of the two sections of code and perhaps someone could explain to me how to get the redraw button to function on page. If I have not managed to merge the two sections correctly. My php is still very much at the beginners stage.
line 89 to 96 from the supplied version v2.8
From Line 094 the code section pointed out in the above postingCode:/** * Generate the HTML output code for the Redraw Captcha image button */ function redraw_button($image, $alt = '', $parameters = '', $sec_class = '') { $redraw = 'onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"'; return zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class ); }
The merged code section which I hope works and fixes my issue.Code:$redraw_button = zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class ); if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strpos($redraw_button, $redraw) === false) { $redraw_button = str_replace('<span ', '<span ' . $redraw, $redraw_button); } return $redraw_button;![]()
Code:* Generate the HTML output code for the Redraw Captcha image button */ function redraw_button($image, $alt = '', $parameters = '', $sec_class = '') { $redraw = 'onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"'; return zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class ); if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strpos($redraw_button, $redraw) === false) { $redraw_button = str_replace('<span ', '<span ' . $redraw, $redraw_button); } return $redraw_button; }
Of Course I had to try it out. and no it does not fix the issue of the css buttons working as a redraw image button. Those Folks than can read code like Nero, probablly new that already. Oh! well back to the funky images for buttons.
What is the uninstall code for this please.
Bookmarks