Difference between revisions of "noMoreSpam! Quickstart"

From Moogento How-to Guides
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:nomorespam_magento_antispam.png|link=http://www.moogento.com/nomorespam|border|323px]][http://www.moogento.com/nomorespam Get NoMoreSpam!((.buy))]
+
{{#description2:Who doesn't like Captchas? We don't! Your customers don't! Probably nobody does. So, let's install NoMoreSpam! from Moogento to stop spam in its tracks, without the need for Captchas.}}
 +
[[File:nomorespam_magento_antispam.png|link=https://moogento.com/nomorespam|border|323px]][https://moogento.com/nomorespam Get NoMoreSpam!((.buy))]
 
==Aims & Preparation==
 
==Aims & Preparation==
{{idea|Short on time? We'll install this for you as part of our [http://www.moogento.com/installation Installation & Setup Service]}}
+
{{idea|Short on time? We'll install this for you as part of our [https://moogento.com/installation 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.
 
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.
Line 15: Line 16:
 
# Send a message from your Contact Form.
 
# Send a message from your Contact Form.
 
# Add a product review.
 
# Add a product review.
* Check that both arrive where they should...
+
# Check that both arrive where they should...
  
 
==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===
+
===Product Reviews with Custom Reviews Extensions===
# Copy {{folder|app/design/frontend/base/default/layout/moogento/nomorespam.xml}}
+
# Open this file : {{folder|app/code/local/'''**Your Custom Extension**'''/Reviewnotify/controllers/ProductController.php}}
#:to
 
#:{{folder|app/design/frontend/ *YOUR THEME FOLDER* /default/layout/moogento/nomorespam.xml}}
 
# In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /layout/local.xml}}
 
#:look for <code><reference name="tabreviews"></code>
 
#:and add this before the end of the block (ie. just before <code></reference></code>):
 
#:<code><block type="nomorespam/nomorespam" name="nomorespam_review" as="nomorespam_review" template="moogento/nomorespam/nomorespam_review.phtml" /></code>
 
# In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /template/review/product/view/list.phtml}}
 
#: 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>
 
 
 
====Using with 'Custmreview'====
 
# Open this file : {{folder|app/code/local/Custmreview/Reviewnotify/controllers/ProductController.php}}
 
 
# Find this line:
 
# Find this line:
 
#:<code>if (($product = $this->_initProduct()) && !empty($data))</code>
 
#:<code>if (($product = $this->_initProduct()) && !empty($data))</code>
Line 43: Line 32:
  
 
===Custom Contact Forms===
 
===Custom Contact Forms===
Usually these are done in the CMS section, so :
+
If yours is made in the CMS section, you'll need to add a simple bit of code :
 
# Go into {{menu|CMS|Pages}} end edit the entry for your Contact Form
 
# Go into {{menu|CMS|Pages}} end edit the entry for your Contact Form
 
# Add add this code into the {{menuchoice|Content}} section:
 
# Add add this code into the {{menuchoice|Content}} section:
Line 60: Line 49:
 
# Now repeat both for the '''Nickname''' column.
 
# Now repeat both for the '''Nickname''' column.
 
This should have got rid of the majority of easy-to-delete reviews.
 
This should have got rid of the majority of easy-to-delete reviews.
 +
 +
==Bugs==
 +
This is a Community release, and unfortunately we don't offer support for free extensions. We hope it works well for you and saves you as much time and stress that is has saved us and many other people.
 +
This is a ''totally free'' extension that we have provided to the Magento Community. We have spent a lot of time developing it, and it works well for a lot of people. At the moment, we can't spend more time on it unfortunately. But, it's a community here, and a community extension.
 +
 +
If you find that it doesn't work for you, or you'd like to add more features - please go ahead. Be a part of the community and give back, make the street run both ways and not one-way. Send us your fixes and add-ons and we'll add them to the codebase and Guide so that other people in the Community can benefit as well.
 +
 +
Please don't send us emails like "You might have spent all this time on this and given me the code for free, but in my totally customised store it doesn't work - you need to fix this TODAY or I will leave bad comments about you all over the internet." This is not fair on us - we're releasing this as something to help out the community. It's free. It's community. Please don't get upset when we say that we cannot work for you for free to support this free extension. :) Instead, get into the code if you have an issue, and pay forward some of that time that we've put into it, fix whatever issue you have, and then let us know so that we can release your changes and acknowledge your efforts, while helping other people in the future. A community is not a one-way street where everyone works for you for free - if you're not a developer and have issues, please get in touch with your dev team to help, or hire a developer. Then send us a message and we'll add in your changes (and credit you) and the Community will benefit.
 +
 +
''* Send us a polite message with your bug, describing it in detail, together with FTP and Magento connection details, and we will add it to our job list - but we'd much prefer you to work it out in the spirit of Community, and then let us know the fix.''
 +
 +
==Uninstalling==
 +
If you want to uninstall the NoMoreSpam! extension, the easiest thing is to check the folders and files that come with the initial zip, and remove those on your server.
 +
 +
1. Delete this file first:
 +
|-app
 +
|---etc
 +
|-----modules
 +
|-------{{file|Moogento_NoMoreSpam.xml}}
 +
 +
2. Clear the cache at this point, and the module should be disabled once you log out.
 +
 +
3. You can remove the other folders/files, which at the time of writing are at these locations:
 +
|-app
 +
|---code
 +
|-----community
 +
|-------Moogento
 +
|---------{{folder|NoMoreSpam}}
 +
|---design
 +
|-----adminhtml
 +
|-------default
 +
|---------default
 +
|-----------layout
 +
|-------------moogento
 +
|---------------{{file|nomorespam.xml}}
 +
|-----------template
 +
|-------------moogento
 +
|---------------{{folder|nomorespam}}
 +
|-----frontend
 +
|-------base
 +
|---------default
 +
|-----------layout
 +
|-------------moogento
 +
|---------------{{file|nomorespam.xml}}
 +
|-----------template
 +
|-------------moogento
 +
|---------------{{folder|nomorespam}}
 +
|-------default
 +
|---------default
 +
|-----------layout
 +
|-------------moogento
 +
|---------------{{file|nomorespam.xml}}
 +
|-----------template
 +
|-------------moogento
 +
|---------------{{folder|nomorespam}}
 +
|---locale
 +
|-----en_US
 +
|-------template
 +
|---------email
 +
|-----------{{folder|moogento_noremorespam}}
 +
|-skin
 +
|---adminhtml
 +
|-----default
 +
|-------default
 +
|---------moogento
 +
|-----------{{folder|nomorespam}}
 +
 +
4. Once those files are deleted you will have completely removed NoMoreSpam!

Latest revision as of 13:27, 28 September 2020

nomorespam magento antispam.pngGet NoMoreSpam!

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

  1. Send a message from your Contact Form.
  2. Add a product review.
  3. 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!

Product Reviews with Custom Reviews Extensions

  1. Open this file : app/code/local/**Your Custom Extension**/Reviewnotify/controllers/ProductController.php
  2. Find this line:
    if (($product = $this->_initProduct()) && !empty($data))
  3. and change to:
    if (($product = $this->_initProduct()) && !empty($data) && $nomorespam_check)
  4. and add above that:
    $nomorespam_check = Mage::helper("nomorespam")->checkHashKey_f($data,$rating);


Custom Contact Forms

If yours is made in the CMS section, you'll need to add a simple bit of code :

  1. Go into CMSPages end edit the entry for your Contact Form
  2. Add add this code into the Content section:
    {{block type="nomorespam/nomorespam" name="nomorespam_contact" template="moogento/nomorespam/nomorespam_contact.phtml"}}
  3. Done! Clear your cache and you should be good to go.

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.

  1. Head to CatalogReviews and Ratings
  2. Filter the Title columns by entering http and Enter (or click Search)
    magento-product-review-filtering.png
  3. Then Select All and Actions > Delete
  4. Now repeat for: www
  5. Now repeat both for the Nickname column.

This should have got rid of the majority of easy-to-delete reviews.

Bugs

This is a Community release, and unfortunately we don't offer support for free extensions. We hope it works well for you and saves you as much time and stress that is has saved us and many other people. This is a totally free extension that we have provided to the Magento Community. We have spent a lot of time developing it, and it works well for a lot of people. At the moment, we can't spend more time on it unfortunately. But, it's a community here, and a community extension.

If you find that it doesn't work for you, or you'd like to add more features - please go ahead. Be a part of the community and give back, make the street run both ways and not one-way. Send us your fixes and add-ons and we'll add them to the codebase and Guide so that other people in the Community can benefit as well.

Please don't send us emails like "You might have spent all this time on this and given me the code for free, but in my totally customised store it doesn't work - you need to fix this TODAY or I will leave bad comments about you all over the internet." This is not fair on us - we're releasing this as something to help out the community. It's free. It's community. Please don't get upset when we say that we cannot work for you for free to support this free extension. :) Instead, get into the code if you have an issue, and pay forward some of that time that we've put into it, fix whatever issue you have, and then let us know so that we can release your changes and acknowledge your efforts, while helping other people in the future. A community is not a one-way street where everyone works for you for free - if you're not a developer and have issues, please get in touch with your dev team to help, or hire a developer. Then send us a message and we'll add in your changes (and credit you) and the Community will benefit.

* Send us a polite message with your bug, describing it in detail, together with FTP and Magento connection details, and we will add it to our job list - but we'd much prefer you to work it out in the spirit of Community, and then let us know the fix.

Uninstalling

If you want to uninstall the NoMoreSpam! extension, the easiest thing is to check the folders and files that come with the initial zip, and remove those on your server.

1. Delete this file first:

|-app
|---etc
|-----modules
|-------Moogento_NoMoreSpam.xml 

2. Clear the cache at this point, and the module should be disabled once you log out.

3. You can remove the other folders/files, which at the time of writing are at these locations:

|-app
|---code
|-----community
|-------Moogento
|---------NoMoreSpam
|---design
|-----adminhtml
|-------default
|---------default
|-----------layout
|-------------moogento
|---------------nomorespam.xml
|-----------template
|-------------moogento
|---------------nomorespam
|-----frontend
|-------base
|---------default
|-----------layout
|-------------moogento
|---------------nomorespam.xml
|-----------template
|-------------moogento
|---------------nomorespam
|-------default
|---------default
|-----------layout
|-------------moogento
|---------------nomorespam.xml
|-----------template
|-------------moogento
|---------------nomorespam
|---locale
|-----en_US
|-------template
|---------email
|-----------moogento_noremorespam
|-skin
|---adminhtml
|-----default
|-------default
|---------moogento
|-----------nomorespam

4. Once those files are deleted you will have completely removed NoMoreSpam!