If you run a blog, you know that SpamBots can be the bane of any blog's existence. We have an awesome workaround you can implement in about 5 minutes that will add basic captcha protection to all of your blog posts!
1) Go to article.liquid under Themes > Template Editor
2) Add this code to the very top of the file, starting on line 1:
It should look like this:
3) Add the following code in the form at the end, but before the submit button (default is line 88):
<div> <br/>How much is: <input type="text" disabled="disabled" id="question"/> <br/>Answer:* <input type="text" id="answer"/> </div>
Make sure you save your changes, and the finished product will look like this:
Happy blogging, everyone! :)
Shopify | Guru Pod Lead
Any tip to reduce some spam is a good! Keep em coming.
The drawback to this method of course is that it assumes
Jason, you are definitely right.
This solution was put together to stop some of the less intelligent bots while a smarter solution is built.
This is something that is being looked into, and we hope that a solution that is up to Shopify's standards is able to be released.
Hang tight :)
We're proud to say that our spam filtering is now in a much better state!
Previously, we had been marking the comment as spam, but letting it stay in the comments list. This was creating the unwanted noise.
Now, when marked as spam, it is filtered from the list on the next refresh. These comments still exist, just in case a comment is marked as spam accidentally.
To view the comments marked as spam, click "Filter blog comments" and change the comment status to spam. (like the image below).
Julian Nadeau :)
With regards to your question about the question cell, I would have to see the code you are using to tell you why its not woking. The only issues I could see without looking is that you are not importing JQuery or you have not made the class of the form "comment-form" or made the id's the ones used in the code.
With regards to marking them all as spam, simply click the checkbox on each "spam" comment and then click bulk action > "Mark as Spam".
You are more than welcome to "Delete" them, but I would advise against that. We employ a complicated spam detection in the background that learns what spam is the more you mark comments as spam. Ideally, no spam should show up on your blogs as it should be automatically marked as spam (and hidden in the admin).
Essentially what we do for spam protection is automatically mark spam comments as spam and hide them in a "spam folder" in the admin (just in case our automatic protection made a mistake). Sometimes a spam comment gets through, and its kinda sucks... but if you mark it as spam, then the service we employ will learn and mark future similar comments as spam automatically!
Unfortunately, spam is not something that can every be fully stopped. Even with advanced captcha systems spam will get through. After a bit of research, our team decided this "learning spam" firewall approach would be the best approach :)
Hope this helps!
Yes there would be. If you use the code below (assuming your cart form as an id that is "cartForm"), and the inputs above, you should be able to implement this in the cart.
Can I ask as to why this would need to be implemented in the cart? Adding something like this would only deter people from buying. Any extra steps in the purchase process will result in a decline in customers that purchase.
|an hour ago|
|2 hours ago|