Difference between revisions of "noMoreSpam! Quickstart"
m |
m |
||
Line 19: | Line 19: | ||
==Working With Custom Themes== | ==Working With Custom Themes== | ||
The '''Product Review''' and '''Contact Form''' spam checks need some quick edits if you have a custom theme for those pages. But, they're easy changes! | The '''Product Review''' and '''Contact Form''' spam checks need some quick edits if you have a custom theme for those pages. But, they're easy changes! | ||
+ | |||
===Custom Product Reviews=== | ===Custom Product Reviews=== | ||
# Copy {{folder|app/design/frontend/base/default/layout/moogento/nomorespam.xml}} | # Copy {{folder|app/design/frontend/base/default/layout/moogento/nomorespam.xml}} | ||
Line 30: | Line 31: | ||
#: look for <code><?php echo $this->getChildHtml('review_form') ?></code> and add this line right after it: | #: look for <code><?php echo $this->getChildHtml('review_form') ?></code> and add this line right after it: | ||
#:<code><?php echo $this->getChildHtml('nomorespam_review') ?></code> | #:<code><?php echo $this->getChildHtml('nomorespam_review') ?></code> | ||
+ | |||
===Custom Contact Forms=== | ===Custom Contact Forms=== | ||
Usually these are done in the CMS section, so : | Usually these are done in the CMS section, so : | ||
Line 36: | Line 38: | ||
#:<code><nowiki>{{block type="nomorespam/nomorespam" name="nomorespam_contact" template="moogento/nomorespam/nomorespam_contact.phtml"}}</nowiki></code> | #:<code><nowiki>{{block type="nomorespam/nomorespam" name="nomorespam_contact" template="moogento/nomorespam/nomorespam_contact.phtml"}}</nowiki></code> | ||
# Done! Now's a good time to test that you can make a normal product review and send a contact form. | # Done! Now's a good time to test that you can make a normal product review and send a contact form. | ||
+ | |||
+ | ==Cleaning Up== | ||
+ | Now that you've got NoMoreSpam! running, let's clean up your old spam reviews. Some quick tips here, you may find a better way to do this. | ||
+ | *If you have a few thousand spam reviews, you want to remove them without removing legit ones. | ||
+ | # Head to {{menu|Catalog|Reviews and Ratings|Customer Reviews|Pending Reviews}} | ||
+ | # Filter the '''Title''' columns by <code>http</http>: | ||
+ | #: [[File:magento-product-review-filtering.png|link=|630px]] | ||
+ | # Then {{menuchoice|Select All}} and {{menuchoice|Actions > Delete}} | ||
+ | # Now repeat for: <code>www</code> | ||
+ | # Now repeat both for the '''Nickname''' column. | ||
+ | This should have got rid of the majority of easy-to-delete reviews. |
Revision as of 09:16, 26 October 2014
Contents
Aims & Preparation
Short on time? We'll install this for you as part of our Installation & Setup Service
Magento has some basic spam protection built in, but it doesn't evolve - spammers have worked out Magento's system and you probably already have spam Product Reviews and occasional floods of spam contact form submissions.
NoMoreSpam! has a zero-config setup, which will automatically block automated spam from your Contact Form and Product Review pages.
There's no need to use annoying Captcha fields (does anyone not find those really 'nail-down-blackboard' annoying?!), it just works.
- If you haven't installed it yet, follow the Easy Install Guide to get NoMoreSpam! running.
- NoMoreSpam! works great with Magento 1.4x and later.
Double-check it works
- Send a message from your Contact Form.
- Add a product review.
- Check that both arrive where they should...
Working With Custom Themes
The Product Review and Contact Form spam checks need some quick edits if you have a custom theme for those pages. But, they're easy changes!
Custom Product Reviews
- Copy app/design/frontend/base/default/layout/moogento/nomorespam.xml
- to
- app/design/frontend/ *YOUR THEME FOLDER* /default/layout/moogento/nomorespam.xml
- In: app/design/frontend/default/ *YOUR THEME FOLDER* /layout/local.xml
- look for
<reference name="tabreviews">
- and add this before the end of the block (ie. just before
</reference>
): <block type="nomorespam/nomorespam" name="nomorespam_review" as="nomorespam_review" template="moogento/nomorespam/nomorespam_review.phtml" />
- look for
- In: app/design/frontend/default/ *YOUR THEME FOLDER* /template/review/product/view/list.phtml
- look for
<?php echo $this->getChildHtml('review_form') ?>
and add this line right after it: <?php echo $this->getChildHtml('nomorespam_review') ?>
- look for
Custom Contact Forms
Usually these are done in the CMS section, so :
- Go into CMSPages end edit the entry for your Contact Form
- Add add this code into the Content section:
{{block type="nomorespam/nomorespam" name="nomorespam_contact" template="moogento/nomorespam/nomorespam_contact.phtml"}}
- Done! Now's a good time to test that you can make a normal product review and send a contact form.
Cleaning Up
Now that you've got NoMoreSpam! running, let's clean up your old spam reviews. Some quick tips here, you may find a better way to do this.
- If you have a few thousand spam reviews, you want to remove them without removing legit ones.
- Head to CatalogReviews and Ratings
- Filter the Title columns by
http</http>:
- Then Select All and Actions > Delete
- Now repeat for:
www
- Now repeat both for the Nickname column.
This should have got rid of the majority of easy-to-delete reviews.