knitting

Author Topic: ReCaptcha/AntiSpam for VM?  (Read 6962 times)

unreal

  • Beginner
  • *
  • Posts: 2
Re: ReCaptcha/AntiSpam for VM?
« Reply #15 on: March 06, 2012, 10:26:09 AM »
Hi
Where are we on this?
I am getting spam via the new version of VM, but via the "ask a question" form. The previous comment regarding easycalplus does NOT support virtuemart in this version. I have used it effectively for a variety of sites, but the focus is on registration rather than comments and ask a question contact forms.
It would be very useful to have such a plugin to cover all of the forms used in VM.



Agree.
Same situation here. easycalccheckplus does not protect the "Ask a question" form, therefore we also get spams.
Unfortunately the "questions" (tha smap mails) go to the same address we use for the orders, so many orders eneded up in the spam folder :(
Do not make the same mistake.
And pls. post if you find any solution for the situation.
(Joomla! 1.7, VM 2.0, "Ask a question" spam)
Thx

dsrpmedia

  • Full Member
  • ***
  • Posts: 234
Re: ReCaptcha/AntiSpam for VM?
« Reply #16 on: March 06, 2012, 11:13:22 AM »
I found one solution 'key capcha' which has been working for me - you have to assemble a puzzle, which isn`t my favourite choice - but it does work on joomla 2.5 vm 2.0 ask a question.

https://www.keycaptcha.com/

unreal

  • Beginner
  • *
  • Posts: 2
Re: ReCaptcha/AntiSpam for VM?
« Reply #17 on: March 07, 2012, 16:06:51 PM »
I found one solution 'key capcha' which has been working for me - you have to assemble a puzzle, which isn`t my favourite choice - but it does work on joomla 2.5 vm 2.0 ask a question.

https://www.keycaptcha.com/

Thanx. Tried, and worx fine.
A bit lame :), but far better than sinking in spams.

dsrpmedia

  • Full Member
  • ***
  • Posts: 234
Re: ReCaptcha/AntiSpam for VM?
« Reply #18 on: March 07, 2012, 16:18:44 PM »
my thoughts as well - I spent quite a bit of time looking & this is the only one I`ve found that actually works

ssustar52

  • Beginner
  • *
  • Posts: 8
Re: ReCaptcha/AntiSpam for VM?
« Reply #19 on: March 22, 2012, 07:15:55 AM »
I have figured out how to add VM 2 support to easycalccheckplus, at least for the ask a question form.  Not sure if it would work for comments, etc.  Now keep in mind I have only tested this with reCaptcha, using Joomla 2.5.3, EasyCalcCheck Plus 2.5-1 and VM 2.0.3E.

It requires 2 edits in plugins/system/easycalccheckplus/easycalccheckplus.php

1) in
Code: [Select]
private function loadEcc($option, $task, $view, $func, $layout)
around line 2801, after
Code: [Select]
                // ALFContact - tested with version 2.0.1
                case 'com_alfcontact':

                    $this->_extension_info = array('com_alfcontact', '<form[^>]+id="contact-form".+</form>', '<label for=".+>', '<button class="button">');

                    if($this->params->get('alfcontact') AND $view == 'alfcontact' AND empty($task))
                    {
                        $this->_load_ecc = true;

                    }
                    elseif($this->params->get('alfcontact') AND $task == 'sendemail')
                    {
                        $this->_load_ecc_check = true;
                    }

                    break;
before the default case add
Code: [Select]
//Virtuemart 2.0
case 'com_virtuemart':
    $this->_extension_info = array('com_virtuemart', '<form[^>]+id="askform".+</form>', '<input type=.+>', '<input class="highlight-button" type="submit" name="submit_ask".+/>');

    if($task == 'askquestion' AND empty($_REQUEST["submit_ask"]))
    {
        $this->_load_ecc = true;
    }
    elseif($task == 'mailAskquestion' AND !empty($_REQUEST["submit_ask"]))
    {
        $this->_load_ecc_check = true;
    }

    break;

2) in
Code: [Select]
private function callChecks($option, $task)
around line 3182 after
Code: [Select]
        elseif ($option == 'com_alfcontact' AND $task == 'sendemail')
        {
            if (!$this->performChecks())
            {
                $check_failed = true;
            }
        }

add

Code: [Select]
elseif ($option == 'com_virtuemart' AND $task == 'mailAskquestion')
{
if (!$this->performChecks())
{
$check_failed = true;
}
}

Actlas

  • Jr. Member
  • **
  • Posts: 60
Re: ReCaptcha/AntiSpam for VM?
« Reply #20 on: August 10, 2012, 03:43:56 AM »
This last code seems to be already implemented in the latest version of easycal but it doesn't work?

We are using RVS reCaptcha instead but this doesn't work either.

They say custom forms need to be added to rvs_recaptcha.php
http://www.twilight-zone.com/joomla-extensions/rvs-recaptcha/

I already added $form->getName() == ?askform? but nothing appears.

Can anybody help or does anybody have a different method?

DH

  • Beginner
  • *
  • Posts: 37
Re: ReCaptcha/AntiSpam for VM?
« Reply #21 on: October 04, 2012, 12:50:55 PM »
Since there is a "Captcha - ReCaptcha" plugin for Joomla!2.5, why VM doesn't just go for it as well? It should not be a difficult function to apply. We really need the anti-spam function for "ask a question..." that in the product details pages.

Anyone could help out? Thanks in advance.
---------------------------------------
PHP v5.3.1          |  Apache v2.2.41
MySQL v5.1.41   |  XAMPP 1.7.3
phpMyAdmin v3.2.4
Windows 7 SP1 Professional
---------------------------------------

franzpeter

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 319
    • 2in1-online
Re: ReCaptcha/AntiSpam for VM?
« Reply #22 on: October 06, 2012, 06:42:26 AM »
@DH,

I completely agree with you. Joomla re captcha works like a charm and it should be used by virtuemart too for relevant issues like the spammer friendly actual ask a question! Why using modules and components, which may mess up with other components if Joomla has an included reliable solution for that purpose. I do not like to blow up my system with a lot of additional modules, components or plugins just to maybe receive the same result as I can have with Joomla on board tools.

lipes

  • Sr. Member
  • ****
  • Posts: 717
Re: ReCaptcha/AntiSpam for VM?
« Reply #23 on: October 17, 2012, 17:17:01 PM »
Full agree with franzpeter and DH.

I've instaled the ECC+ but didnt work in Virtuemart User Registration (index.php?option=com_virtuemart&view=user), only works in Ask a question about product...

But why dont have a default spam check (captcha) in VM like Joomla already have?!
Hope someone remember to fix this :/
VM V. online: J2.5.9 | VM 2.0.20a | SQL 5.1.68 | PHP 5.3.21

randomdev

  • Jr. Member
  • **
  • Posts: 90
Re: ReCaptcha/AntiSpam for VM?
« Reply #24 on: November 14, 2012, 01:09:27 AM »
Has anyone managed to find a recaptcha solution for the virtuemart 2 (I'm using 2.0.6) user registration page?

jjk

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1877
Re: ReCaptcha/AntiSpam for VM?
« Reply #25 on: December 01, 2012, 09:08:27 AM »
Latest ECC+ version seems to have everything.
However, personally I wouldn't use re-captcha in a shop. In my opinion it doesn't make sense to ask for a "one page checkout" (many shop owners believe they are loosing customers if there is no one page checkout) but at the same time ask for a re-capcha (did you check how re-captcha works on their homepage?). Some time ago I actually gave up to register on a site using re-captcha after 20! unsuccessful attempts to solve it (Next day re-captcha supplied slightly easier ones).

Mihai Rarinca

  • Beginner
  • *
  • Posts: 1
Re: ReCaptcha/AntiSpam for VM?
« Reply #26 on: January 21, 2013, 03:10:54 AM »
I don't know if someone is still looking for this but i found a plugin that works on Joomla 2.5 with Virtuemart 2.0 on both ask a question form and checkout.
EasyCalcCheck PLUShttp://extensions.joomla.org/extensions/access-a-security/site-security/captcha/11964
for me is working on 2 websites with no issues.

gain

  • Beginner
  • *
  • Posts: 16
Re: ReCaptcha/AntiSpam for VM?
« Reply #27 on: February 16, 2013, 12:16:40 PM »
I need to protect the user registration on checkout with captcha.
Anyone knows if one of this tools provides this feature?
I haven't got it from the topic...

Thanks in advance.

VirtueMart Forum

Re: ReCaptcha/AntiSpam for VM?
« Reply #27 on: February 16, 2013, 12:16:40 PM »