I tried switching the keys to global, didn't work, cleared the cache as well. When you first load the store page all is well, but as soon as you click on contact us it breaks the secure page... not good
I tried switching the keys to global, didn't work, cleared the cache as well. When you first load the store page all is well, but as soon as you click on contact us it breaks the secure page... not good
Ok just noticed it has broken the admin SSL as well...
SSL for an entire site seems like overkill, but either way in includes\templates\your_template_name\templates\tpl_contact_us_default.php find the line with:
and try changing to:Code:recaptcha_get_html(CONTACT_US_RECAPTCHA_PUBLIC_KEY);
Code:recaptcha_get_html(CONTACT_US_RECAPTCHA_PUBLIC_KEY, null, true);
This shouldn't be affecting the admin page. If you view the source of the admin page, do you see a resource that does not start with https:. You generally find what item is loading via http. I wonder if another item is causing your problem like a image, css, or something.
Also you could try this in includes/classes/recaptcha_lib.php
toCode:if ($use_ssl) {
Code:if ($_SERVER['SERVER_PORT'] == '443') {
This one fixed the issue! Thanks so much.
Yeah I know SSL on the entire store is overkill but we deal a lot with the 40-50+ crowd and they like that little green lock!
Also with the "interesting" company name we ten to get some unwanted attention from spammers, etc.
Thanks again,
mike
Hello, I installed the pickupman's recaptcha and it works just nice in the contact_us page... but in create account it doesn't even show... what can I do? My zencart version is 1.3.8a.
Thanks in advanced,
Luis.
Ok, I figured it out already. You have to create those records in the zen_configuration table. For instance if you want to enable the create account, you have to insert this:
The other configuration_key (that you have to create if you want to enable them) are:Code:INSERT INTO `cerca_zc1`.`zen_configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( NULL , 'Enable Create Form', 'CREATE_ACCOUNT_RECAPTCHA_STATUS', 'true', 'Display reCAPTCHA text on create form (default: true)', '31', '0' , NULL , '0001-01-01 00:00:00', NULL , 'zen_cfg_select_option(array("true", "false"),' );
CREATE_ACCOUNT_RECAPTCHA_STATUS
LOGIN_RECAPTCHA_STATUS
ADVANCED_SEARCH_RECAPTCHA_STATUS
PRODUCT_REVIEWS_WRITE_RECAPTCHA_STATUS
TELL_A_FRIEND_RECAPTCHA_STATUS
Cheers,
Luis.
Have any of you who use reCATCHA Notice that most of the time it verifies success, even when the typed word is WRONG?
I have posted a new update that may fix some of the bugs mentioned above.
Updates can be downloaded from:
https://bitbucket.org/pickupman/zencart-recaptcha
Release notes include notes about the changes. For some unknown reason the installation routine got deleted, and so some of the pages values were missing.
I have updated the login page to allow captcha to be shown on the login page with a non-split login page. A button when click will load the recaptcha code in the appropriate form. Clicking on either button will toggle the recaptcha between forms.
If you have either login page or create account set to false, the recaptcha will be displayed without any user interaction in the proper place.
Example: Enable Login = false Enable Create Account = true
Recaptcha will be displayed automatically at bottom of page
Example: Enable Login = true Enable Create Accout = true
Button will be displayed in both form, when clicked will load the recaptcha in that form. Clicking on the other form will remove the previous recaptcha and insert new one in other form
When split page is enabled, the recaptcha will be displayed automatically if enabled.
https://bitbucket.org/pickupman/zencart-recaptcha
Bookmarks