Code Monkey home page Code Monkey logo

honeyspam's Introduction

About Hackathon Magento Honey Spam

This Magento Extension adds a field which is hidden with JavaScript to the Customer Register and the Product Review Form which looks like the URL Field of a Wordpress Comment Form. If this field gets filled and the Form is send, there appears a error message and nothing will be saved.

There is also a check if this form is too fast transmitted, a human normally takes a couple of Seconds or more.

You can enable and disable the functionalities or set the time how long it should take to transmit this forms in the Magento Admin Backend.

Freshly added: Regex-checking on all input-fields to determine a loose index for spam-level. It is not the most accurate thing at all, but it may prevent the low-end spam ("broadband spam"). You also can enable/disable this feature in the backend and set a maximum spam index trust level.

Installation

Compiler

Please disable Compiler. In our experience it doens't give performance wins and costs a lot of time while debugging.

Installation with modman

Clone it within modman via https:// or git://:

modman clone https://github.com/magento-hackathon/HoneySpam.git
modman clone [email protected]:magento-hackathon/HoneySpam.git

Installation without modman

Copy all the files in your magento root directory

After installation

Clean the cache after installation!

Contacts form modifications

Copy the file app/design/frontend/base/default/template/contacts/form.phtml to your own theme and insert the code

 <?php echo $this->getChildHtml('form_fields_before') ?>

within the <form> ... </form> tag.

Newsletter Subscription Form Modifications

Copy the file app/design/frontend/base/default/template/newsletter/subscribe.phtml to your own theme and insert the code

 <?php echo $this->getChildHtml('form_fields_before') ?>

within the <form> ... </form> tag.

Testing

After the Installation you should be able to find a input field with the id="url" in the Customer Register and in the Product Review Form, which should be hidden with our JS.

Further Information

Core Contributors

  • kortwotze
  • Celldweller
  • Andreas Emer
  • Bastian Ike
  • Fabian Blechschmidt

Current Status of Project

Complete and working.

If you found errors or have ideas, open an issue on github or a pull request!

honeyspam's People

Contributors

peterukena avatar schrank avatar celldweller avatar bastianccm avatar amenk avatar sprankhub avatar tobiasdalhof avatar andreasemer avatar schmengler avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.