Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default prevent people from using contact us for spam

    What is the best way to prevent people from using the contact us form to send spam?

    Thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: prevent people from using contact us for spam

    Zencart requires that a user be logged in to use the Contact Us form, so far as I know. That should stop most people. Are you having a problem with it?

  3. #3
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: prevent people from using contact us for spam

    Hi,

    Yes I've had some spam from my contact us form.

    Is there an admin setting to require a user to be logged in to use the contact us form?

    I found something in the admin that said "Emails must send from known domain?" and I set that to yes, but I don't know if that helps or not...

    Thanks.

  4. #4
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: prevent people from using contact us for spam

    Captcha using TTF & GD mod works great for me.

    It puts those admittedly annoying letters to type in before you submit a request. Annoying but necessary these days and this one at least provides readable letters every time.

    http://www.zen-cart.com/index.php?ma...roducts_id=551

  5. #5
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: prevent people from using contact us for spam

    I just started having this problem. I thought about adding one of the captchas, but I'm blind and despise the things, especially those that have no audio. If they have no audio, people with disabilites can not use them.

  6. #6
    Join Date
    Jan 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: prevent people from using contact us for spam

    Quote Originally Posted by stevesh View Post
    Zencart requires that a user be logged in to use the Contact Us form, so far as I know. That should stop most people. Are you having a problem with it?
    Are you sure about this? I can submit a message via the Contact Us form without being logged in. I am a new user using 1.3.8a.

    Is there a way to set a flag so that a user must be logged in?

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: prevent people from using contact us for spam

    Nope - I was led astray on that. Look at this thread:

    http://www.zen-cart.com/forum/showthread.php?t=90119

  8. #8

    Default Re: prevent people from using contact us for spam

    i really don't want to add a captcha. i just want to prevent URL spam at this point and am trying to add something like the following to the tpl_contact_us_default.php file, but cannot get it to work. anyone have any ideas on how to make it work? here is the code:

    <?php
    $SpamErrorMessage = "No Website URLs permitted";

    if (preg_match("/http/i", "$contactname")) {echo "$SpamErrorMessage"; exit();}
    if (preg_match("/http/i", "$email")) {echo "$SpamErrorMessage"; exit();}
    if (preg_match("/http/i", "$enquiry")) {echo "$SpamErrorMessage"; exit();}
    ?>
    http://www.ExtremaHosting.com

    Favorite Quote: "If your output exceeds your input, then your upkeep will be your downfall." (anon.)

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: prevent people from using contact us for spam

    I'd love to find a way to prevent all those "we'll enter your products for you" and "we'll drive new customers to your site" emails, but captcha won't help because they don't appear to be generated automatically. I could be wrong. If anyone has any ideas, I'd love to hear them.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: prevent people from using contact us for spam

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 What modules are people using to prevent contact us page spam
    By RAD1964 in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 20 Nov 2014, 12:20 AM
  2. v151 Why prevent spiders from crawling Contact Us?
    By Feznizzle in forum Basic Configuration
    Replies: 2
    Last Post: 18 Oct 2013, 09:21 PM
  3. How do I prevent people from saving downloaded products?
    By CarolineBogart in forum Basic Configuration
    Replies: 7
    Last Post: 15 Dec 2010, 06:03 AM
  4. Replies: 7
    Last Post: 8 Aug 2009, 06:31 AM
  5. zencart shop Site down after suPHP was installed to prevent SPAM from php mailers
    By tinuzzo in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 May 2009, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR