VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Hammerhead on October 24, 2011, 15:41:05 PM

Title: ReCaptcha/AntiSpam for VM?
Post by: Hammerhead on October 24, 2011, 15:41:05 PM
Is there a VM extension to prevent bots from registering in the store, or should I be looking for a Joomla component instead?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Bruce Morgan on October 24, 2011, 17:27:06 PM
There is a Re-Captcha for VM module that is available.  It works well but involves hacking a bunch of files.  Check in the extensions section. 

Bruce
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Hammerhead on October 24, 2011, 17:50:22 PM
Quote from: Bruce Morgan on October 24, 2011, 17:27:06 PM
There is a Re-Captcha for VM module that is available.  It works well but involves hacking a bunch of files.  Check in the extensions section. 

Bruce
Ugh.  I was hoping to avoid that.  Wouldn't it be easier to just select the 'require registration' option for checkout?  That would force them through the Joomla registration process where there are more readily available and robust components for such a thing, no?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Bruce Morgan on October 24, 2011, 21:53:09 PM
Im my opinion the Joomla registration is worthless if you are running an e-commerce site.  It confuses the user and prvents them from upgrading to shoppers.  I use only the VM registration.

The Re-captcha for VM is not so bad except that if you have mutliple hacks going on you cannot simply overwrite with the modified files they provide.  They indicated they would come up with a hack-free solution but i have not seen this yet.  I use this one and like it but you need to download a new version everytime VM is updated which I do not like.

Bruce
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Hammerhead on October 25, 2011, 02:16:03 AM
Well, the only reason someone is registering on my site is to shop, so I'm not sure I understand if it mjakes a difference in my case.  However, the only ReCaptcha options I'm finding are for VM 1.x rather than 2.0, unless I'm missing something.  Do you have a link?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Bruce Morgan on October 25, 2011, 18:53:42 PM
Sorry, I did not see that your enquiry was specific to VM2.  I am still using the current stable version.  I woild not expectto see a lot of module puvlished for VM 2 untill the final stable version is released.  Hopefully that will be soon.

Bruce
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Hammerhead on October 25, 2011, 19:14:18 PM
Uh... well, we ARE in the VM2 forum here.   ::)

Ok, so then would you say that a quick fix would be to use a Joomla 1.7x ReCaptcha component in tandem with the 'Require Registration' selection until a more elegant solution appears?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Bruce Morgan on October 25, 2011, 21:52:55 PM
My comments may not be helpful as i am using VM 1.1.9.  If Joola 1.7x and VM 2 still have separate and distinct login modules, my earlier comments are still valid.  There is no reason for you to publish the standard Joomla login module.  It if it not published you will not get spam registrations. 

As regards VM you can alow silent reistration which will allow users to orders without registering.  If you want to require registration then you should show VM as the only registration option whether it be from the home page or from the shopping cart. 

Again I have not evaluated the new programs yet and it is unclear to me whether the J and VM registration are merged or two separate modules

Bruce
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: PRO on November 04, 2011, 18:32:52 PM
2.0 does not have a log in module.

YOU log into joomla
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Milbo on December 15, 2011, 04:02:58 AM
I think I could write it as customplugin in reasonable time, but that includes also triggers for the userfield, not done yet. But the possibility to have captcha is possible, we just need to add triggers instead of the hacks.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: rtwmerchants on December 25, 2011, 03:48:40 AM
I use a plugin called easycalplus. It does all of joomla and is also for VM. You should register with ReCaptcha for plugin keys to protect your site. here is description Protects Joomla! core forms and 3rd party extensions through the integration of anti-spam services and adds an arithmetic problem, a hidden field and a time lock.
Supported 3rd party extensions: ALFContact, AlphaRegistration, CBE, Community Builder, DFContact, Easybook Reloaded, Flexi Contact, Job Board, JomSocial, Kunena Forum, Phoca Guestbook, QContacts und Virtuemart
It does take some setting up but not that hard! Their are times though if things are not working in administrator that you would just simply disable it until your done editing and things. It works great for me! Also think about getting honeypot an anti-spam form that can be set up to help log and block spammers-bots Checkout my site at bottom the "NO SPAM" link, let me know if you tried and did get this plugin to work for you! Here is the link! http://joomla-extensions.kubik-rubik.de/ecc-easycalccheck-plus (http://joomla-extensions.kubik-rubik.de/ecc-easycalccheck-plus)
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: iamalive on December 30, 2011, 10:48:37 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.

Regards and happy new year!

David
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: tennesseepaul on February 03, 2012, 19:47:25 PM
Agreed. I'm getting hammered by spam through the "Ask a Question" link. Ever single Captcha plugin I've tried does not show up on the Ask a Question page. I would be fine with a code hack if some one would supply it. As it is this form is completely vulnerable.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: vapro on February 28, 2012, 00:56:47 AM
Quote from: tennesseepaul on February 03, 2012, 19:47:25 PM
Agreed. I'm getting hammered by spam through the "Ask a Question" link. Ever single Captcha plugin I've tried does not show up on the Ask a Question page. I would be fine with a code hack if some one would supply it. As it is this form is completely vulnerable.
I need some tool for this too...
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: dsrpmedia on March 02, 2012, 07:35:10 AM
please someone.... an anti-spam for the ask a question is desperately needed!

For some reason they seem to have removed VM support in the joomla 2.5 version of easycalc
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: unreal on March 06, 2012, 17:26:09 PM
Quote from: iamalive on December 30, 2011, 10:48:37 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
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: dsrpmedia on March 06, 2012, 18:13:22 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/
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: unreal on March 07, 2012, 23:06:51 PM
Quote from: dsrpmedia on March 06, 2012, 18:13:22 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.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: dsrpmedia on March 07, 2012, 23: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
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: ssustar52 on March 22, 2012, 14:15:55 PM
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
private function loadEcc($option, $task, $view, $func, $layout)

around line 2801, after

                // 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

//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
private function callChecks($option, $task)

around line 3182 after

        elseif ($option == 'com_alfcontact' AND $task == 'sendemail')
        {
            if (!$this->performChecks())
            {
                $check_failed = true;
            }
        }


add


elseif ($option == 'com_virtuemart' AND $task == 'mailAskquestion')
{
if (!$this->performChecks())
{
$check_failed = true;
}
}
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Actlas on August 10, 2012, 11: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?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: DH on October 04, 2012, 20: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.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: franzpeter on October 06, 2012, 14:42:26 PM
@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.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: lipes on October 18, 2012, 01:17:01 AM
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 :/
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: randomdev on November 14, 2012, 08:09:27 AM
Has anyone managed to find a recaptcha solution for the virtuemart 2 (I'm using 2.0.6) user registration page?
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: jjk on December 01, 2012, 16:08:27 PM
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).
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: Mihai Rarinca on January 21, 2013, 10: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 (http://extensions.joomla.org/extensions/access-a-security/site-security/captcha/11964)
for me is working on 2 websites with no issues.
Title: Re: ReCaptcha/AntiSpam for VM?
Post by: gain on February 16, 2013, 19: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.