[SOLVED] Lots of spam through "ask a question about this product"

Started by markholland8, January 01, 2012, 11:36:12 AM

Previous topic - Next topic

markholland8

Hi ,
I'm getting a lot of spam from the "ask a question about this product" anyone got any ideas how I can protect it or turn it off.

Using joomla 1.7.2 and virtuemart 2

Thanks Mark

markholland8

#1
Ok so the easy option is to turn this into a link, i would like to send this link to a secure form as there is no captcha with the virtuemart one.

So what i need to know is where is the file i need to edit.

Any help would be appreciated.

Thanks Mark

jjk

Perhaps this is a possible solution: http://extensions.joomla.org/extensions/access-a-security/site-security/captcha/11964?qh=YTozOntpOjA7czo0OiJzcGFtIjtpOjE7czo4OiJzcGFtbWluZyI7aToyO3M6NToic3BhbXMiO30%3D
But I don't know if it works for VM2 already - I didn't try it myself yet.

The other options that come into my mind is:
cut out the relevant code in ...\components\com_virtuemart\views\productdetails\tmpl\default.php (lines 268 -271 in my version), rename it, i.e. 'mydefault.php' and select this one as your default in configuration.

BTW: I think I have seen that there are a few more selectable layouts for the product details page in the pipeline. Perhaps one is without the "Ask a Question..." link.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

markholland8

No it did not work, i have a secure form on the site so i gues the easy way would be to forward the "ask a question about this product" button to this form.

Thanks Anyway.

Mark

jjk

Just updated my previous message while you sent a reply...
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

markholland8

Hi,

Thanks i found it, its line 251, i have now coded it to forward to my spam protected form and removed the current virtuemart one. Thanks for your help.

Mark

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


Jawloms

Is there a way of removing the button completely?  I've spent ages Googling and can only find how to do it on Virtuemart 1.1, not 2.

PRO

Quote from: Jawloms on January 25, 2012, 20:20:15 PM
Is there a way of removing the button completely?  I've spent ages Googling and can only find how to do it on Virtuemart 1.1, not 2.

http://forum.virtuemart.net/index.php?topic=92756.0



Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

It's not solved yet... I've also instaled the spambotcheck but i continue receiving many spam emails... sometimes 15 emails by hour in product ask for question.

Can someone provide a good solution, please?

thanks!
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25