Post by Domifix » Tue Jun 25, 2013 5:38 am

Hi guys

I am using OC 1.5.5.1 and I really want to get rid of the captcha form on the contact page.
Is there a way to disable or completely delete that feature??

Newbie

Posts

Joined
Tue Jun 25, 2013 5:33 am

Post by Domifix » Thu Jun 27, 2013 5:20 pm

Solved it

In /catalog/view/theme/YOURTHEME/template/information/contact.tpl

Delete or hide the following Part:

<div class="control-group">
<label for="captcha" class="control-label">
<span class="required">*</span> <?php echo $entry_captcha; ?>
</label>
<div class="controls">
<input type="text" name="captcha" id="captcha" value="<?php echo $captcha; ?>" class="span3 required" required /><br /><br />
<img src="index.php?route=information/contact/captcha" alt="" />
<?php if ($error_captcha) { ?>
<span class="error"><?php echo $error_captcha; ?></span>
<?php } ?>
</div>
</div>


In /catalog/controller/information/contact.php

Delete the following (Hide doesn't work)

if (empty($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['captcha'] = $this->language->get('error_captcha');
}

Newbie

Posts

Joined
Tue Jun 25, 2013 5:33 am

Post by Xyph3r » Thu Jun 27, 2013 7:50 pm

I'm glad you solved it...before you open a new topic..try searching...there is always a chance that a solution to your problem has already been found

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by jafarul » Fri Jan 16, 2015 12:28 pm

how bout in the return form?

Newbie

Posts

Joined
Fri Jan 16, 2015 11:38 am

Post by frank79 » Thu Mar 05, 2015 6:53 pm

Hi Jafarul,
this post is quite old, I doubt that someone will answer ::)
I have made a couple of vQmod extensions that remove captchas from the pages Contact Us, Product Returns and Reviews, the first is Remove Captcha, available here:

http://www.opencart.com/index.php?route ... n_id=16695

The second extension is Smart Antispam Shield, it solves the problem of the spam when captchas are disabled:

http://www.opencart.com/index.php?route ... n_id=13097

Hope it helps!

Our new Opencart Extension:
AI Assistant - automatic product and category text generator


User avatar
New member

Posts

Joined
Thu Apr 26, 2012 12:01 am
Who is online

Users browsing this forum: No registered users and 13 guests