Oxxyfx and fontaholic,
Did you rename the folders under includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE to the actual name of your template that you are using?
Did you verify that the SQL installed correctly?
JT
Oxxyfx and fontaholic,
Did you rename the folders under includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE to the actual name of your template that you are using?
Did you verify that the SQL installed correctly?
JT
Thanks JT, I E-mailed you and you helped me over the E-mail already. THe problem was that some of the files on my system got coped into the wrong directory on the server.
Hmmm- well, I certainly did try to install with care.
I installed the SQL patch by copying the statements rather than uploading a file- tables are structured just like they should be once the statements were executed. I've verified that my database has the anti_robot_reg table added.
I can see the CATCHPA menu choice in the admin configuration & have everything set to true/on.
I've tried both split log-in and vertical log-in.
My zen cart is in a subfolder, so I added the validation pictures to public_html/images/validation.
And yep, I've added the 3 tpl files (tpl_contact_us_default, tpl_modules_create_account, and tpl_tell_a_friend_default) to BOTH my default template and the template I'm currently using.
Still don't see a thing on the front side, and I'm not stopped when I try to register a new customer without a catchpa. What did I miss?
My mistake. Double checked, and I'd uploaded the wrong tpl file. Got as far as seeing letters, although if I enter the wrong catchpa, no error is thrown. I'll go back and recheck my installation, see what I might've missed.
Okay, uninstalled, reinstalled, double checked, triple checked. All files are where they should be, database looks like it ought to. Catchpa letters show up fine, but if I enter the wrong letters, no error takes place. Any pointers as to what part of the code I should look at?
Finally got this. Had to reinstall a few times, but it's working now. THANKS- it's a really helpful mod.
Is it possible to add the Captcha form to a custom page?
For instance I have a page containing only a form which allows others to send link requests to me at http://www.divatoys.com/links/ I have the Captcha mod working on Contact Us etc but wondered whether I could manually add it to this page and if so, how?
Thanks.
dont see on registration page either ?
anything worth checking
thanks
bryan
just an update for anyone using ceon url mapping add no,
i was getting no captcha showing at all
in /includes/templates/YOURTEMPLTE/ tpl_modules_create_account.php
at line 189
change to
this works for me and lets you use captcha if ceon is on or offPHP Code:<?php
if (strstr($_SERVER['REQUEST_URI'],'create-account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true') {
?>
<?php
if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'create-account')) || (strstr($_SERVER['REQUEST_URI'],'login')) || (strstr($_SERVER['REQUEST_URI'],'create_account'))) {
$sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . zen_session_id() . "'";
if( !$result = $db->Execute($sql) ) { die('Could not delete validation key'); }
$reg_key = generate_captcha_code();
$sql = "INSERT INTO ". TABLE_ANTI_ROBOT_REGISTRATION . " VALUES ('" . zen_session_id() . "', '" . $reg_key . "', '" . time() . "')";
if( !$result = $db->Execute($sql) ) { die('Could not check registration information'); }
?>
and in includes/templates/YOURTEMPLATE/tpl_contact_us_default.php at line 83 change to
again this should let you use captcha with ceon offf or on.PHP Code:<?php
if (strstr($_SERVER['REQUEST_URI'],'contact-us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'contact_us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') {
?>
<?php
if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'contact-us')) || (strstr($_SERVER['REQUEST_URI'],'contact_us')) || (strstr($_SERVER['REQUEST_URI'],'login'))) {
$sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . zen_session_id() . "'";
if( !$result = $db->Execute($sql) ) { die('Could not delete validation key'); }
$reg_key = generate_captcha_code();
$sql = "INSERT INTO ". TABLE_ANTI_ROBOT_REGISTRATION . " VALUES ('" . zen_session_id() . "', '" . $reg_key . "', '" . time() . "')";
if( !$result = $db->Execute($sql) ) { die('Could not check registration information'); }
?>
hope this helps someone
bryan