=== Email Encoder Bundle === Contributors: freelancephp Tags: email, hide email, mailto, spam, protection, spambots, encoder, encrypt, encode, obfuscate, antispam, spamming Requires at least: 2.8.0 Tested up to: 3.0.5 Stable tag: 0.21 Protect email addresses on your site from spambots and being used for spamming. This plugin encodes all email adresses so spambots cannot read them. == Description == Protect email addresses on your site from spambots and being used for spamming. This plugin encodes all email adresses so spambots cannot read them. = Features = * Encoding all emails: plain text, mailto links and the tags like `[encode_email email="..." display="..."]` * Scanning posts, widgets and comments * Immediatly ready after install and activation * Choose one of the high-quality encoding methods * Supports querystrings like 'info@myemail.com?subject=Plugin' * Tag available `[encode_email email="info@myemail.com" display="My Email"]` * Template function available `` * Supports PHP4.3+ and up to latest WP version = Extra = * Put an Email Encoder Form on your site * Developers can add their own methods [Authors plugin page](http://www.freelancephp.net/email-encoder-php-class-wp-plugin/) == Installation == 1. Upload `wp-email-encoder-bundle.zip` to the `/wp-content/plugins/` directory or add the plugin with 'Add Plugins' in the admin menu 1. Be sure the plugin is activated in the Plugins-list = Tags = * `[encode_email email="..." display="..."]` Encode the given email, "display" is optional otherwise the email wil be used as display * `[email_encoder_form]` Puts an encoder form in your post (check if the option is activated on this page) = Template functions = * `` Encode the given email, the second param is display and optional * `` Filter the given content for emails to encode == Frequently Asked Questions == = Which encoding method should I use? = The `Html Encode` method uses the built-in function of WordPress and does not use any javascript. Although JavaScript methods (like `JavaScript ASCII`) are probably better protection against spambots. = I want to make some adjustment in one of the encoding methods. What is the best way? = The best way is to make a copy of that method and make your adjustments in the copy. Give the new method a unique name. Now you can keep updating this plugin and keep remaining the changes you have made. = My self-written method doesn't work after upgrading to v0.2. How to fix this? = The has been some changes to the structure of the encoding methods. The first is the 3rd param `$encode_display` has been removed, because the display should always be encoded. Second, the methodnames should contain the prefix `lim_email_`. Optionally you can add a name and description to be showed in the admin panel, like: `$lim_email_yourmethodname = array( 'name' => 'YourMethodName', 'description' => '....' );` [Do you have another question? Please ask me](http://www.freelancephp.net/contact/) == Screenshots == 1. Admin Settings Page == Changelog == = 0.21 = * Changed Encoder Form: HTML markup and JavaScript * Made some minor adjustments and fixed little bugs = 0.20 = * Implemented internalization (including translation for nl_NL) * Improved user-interface of the Admin Settings Page and the Encoder Form * Added template function: encode_email_filter() * Kept and added only high-quality encoding methods * Refactored the code and changed method- and var-names within the classes * Removed 3rd param $encode_display out of the encoding methods, display should always be encoded * Added prefix 'lim_email_' to the encoding methods = 0.12 = * Nothing changed, but 0.11 had some errors because /methods directory was missing in the repository. = 0.11 = * also possible to use encode tag in widgets by activating the "filter widget" option = 0.10 = * Works with PHP4 and PHP5 * Methods: default_encode, wp_antispambot, anti_email_spam, email_escape, hide_email * Use the tags: `[email_encode email=".." display=".."]`, `[email_encoder_form]` * Template function: `email_encode()` == Other Notes == = TODO = I've got some nice ideas for the next version(s). If you have a suggestion please [contact me](http://www.freelancephp.net/contact/) = Credits = * [Adam Hunter](http://blueberryware.net) for the encode method 'JavaScript Escape' which is taken from his plugin [Email Spam Protection](http://blueberryware.net/2008/09/14/email-spam-protection/) * [Faycal Tirich](http://faycaltirich.blogspot.com) for using the regular expression from his plugin [WP Emails Encoder](http://faycaltirich.blogspot.com/1979/01/fay-emails-encoder-plugin.html) * [Tyler Akins](http://rumkin.com) for the encode method 'JavaScript ASCII Mixer' == Upgrade Notice == Be carefull when upgrading from version 0.12 or less. The structure of the code has been changed. If you have written your own encoding method you should make some minor adjustments (see FAQ).