Author Topic: [SOLVED] Lots of spam through "ask a question about this product"  (Read 17538 times)

markholland8

  • Beginner
  • *
  • Posts: 37
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

  • Beginner
  • *
  • Posts: 37
Re: Lots of spam through "ask a question about this product"
« Reply #1 on: January 01, 2012, 21:26:44 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3737
  • using Matomo instead of Google Analytics
Re: Lots of spam through "ask a question about this product"
« Reply #2 on: January 01, 2012, 22:07:44 pm »
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

  • Beginner
  • *
  • Posts: 37
Re: Lots of spam through "ask a question about this product"
« Reply #3 on: January 01, 2012, 22:36:00 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3737
  • using Matomo instead of Google Analytics
Re: Lots of spam through "ask a question about this product"
« Reply #4 on: January 01, 2012, 22:52:31 pm »
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

  • Beginner
  • *
  • Posts: 37
Re: Lots of spam through "ask a question about this product"
« Reply #5 on: January 02, 2012, 00:04:50 am »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28224
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10431
  • VirtueMart Version: 3+

Jawloms

  • Beginner
  • *
  • Posts: 4
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #8 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.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10431
  • VirtueMart Version: 3+
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #9 on: January 25, 2012, 20:28:37 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

Jawloms

  • Beginner
  • *
  • Posts: 4
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #10 on: January 25, 2012, 20:36:22 pm »
Thanks   ;D

jndm

  • Beginner
  • *
  • Posts: 20
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #11 on: April 14, 2012, 10:41:29 am »
solved?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #12 on: May 09, 2012, 00:49:39 am »
jjk found something else, imho not writtne down here http://forum.virtuemart.net/index.php?topic=101916.0
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

  • Full Member
  • ***
  • Posts: 720
Re: [SOLVED] Lots of spam through "ask a question about this product"
« Reply #13 on: March 30, 2013, 18:01:38 pm »
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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10431
  • VirtueMart Version: 3+