eZ Mail Hide

UNIX name Owner Status
ezmailhide Ronan Guilloux alpha
Version Compatible with
0.1 4.x, >= PHP 5.2
eZ Mail Hide extension helps you protect your customers inboxes from spamming by asking anonymous users to solve a reCAPTCHA challenge before they can view any email address published by the content management system of eZ Publish.
It uses reCAPTCHA API but it does not need you to sign up to reCaptcha.net,
as far as reCAPTCHA Mailhide API key can be freely generated here : http://mailhide.recaptcha.net/apikey
  • The reCAPTCHA can only be solved by humans, so this stops spammers from gaining access to published email addresses through automated programs.
  • With eZMailHide extension, id, css, classes, title, hreflang are ok.
  • no reCAPTCHA challenge is required as far as your are logged in !

Setup

  • Place the freshly checked out ezmailhide extension in your extension folder.
  • Generate reCAPTCHA Mailhide API key freely here : http://mailhide.recaptcha.net/apikey and paste your pub / private keys into the keys array already defined in ./extension/ezmailhide/site.ini.append.php
  • Activate the extension. This can typically be done in settings/override/site.ini.append.php, as shown below :

::

[ExtensionSettings]
ActiveExtensions[]=ezdhtml
ActiveExtensions[]=ezflow
ActiveExtensions[]=ezodf
ActiveExtensions[]=ezwebin
ActiveExtensions[]=ezmailhide

After installation, remember to clear all caches ( or more granularily ). You can do so by running, from eZ Publish's root folder, in a command line prompt :

::

php bin/php/ezcache.php -s<siteaccess_name> --clear-all

Where <siteaccess_name> is the name of a siteaccess using the content ( DB + var directory ) you are enabling the extension for.

Testing & Usage

  • edit an object and create a 'mailto' link.
  • As an anonymous user, have a look at your frontend siteaccess, see how looks your mailto link and how reCAPTCHA challenge works.
  • Login into frontend siteaccess and see how it looks now : no reCAPTCHA challenge is required since you are logged in.
  • If reCaptcha Mailhide doesn't work for you, check that your are not logged in, check your PHP installation is => 5.2 , check your API key, clear all caches, or check reCaptcha wiki

This project has no reviews yet. Be the first one to review it!

No forum messages yet.