Recently on one of the websites I maintain, a strange message cropped up:

This email address is being protected from spambots. You need JavaScript enabled to view it.

Here's how to fix it.

For a moment, I was three things

1) Surprised

2) Pleasantly surprised

3) Somewhat disappointed

I was suprised because I wasn't aware that the message was there, pleasantly surprised because "somebody" was trying to protect the email address from spambots. Disappointed, because really and truly, that message should simply not be visible to a human eye (especially if Javascript is actually enabled) :) So despite being happy about the protection, I was annoyed that there was something not working. 

There are two ways to fix this message - which fixed our problem

1) Fix your HTML code - Many times what happens is that this content has either been migrated from a previous version of Joomla or migrated from somewhere else. Try opening the article in the back end and save the article. Many times, this will fix the problem. Your 2nd option is to actually switch to the HTML code of the article, find the email address and see if there are any mismatched html tags surrounding it, such as non-closed <span> tags, or other mismatched tags or HTML issues which will interfere with the cloaking functionality.

2) Disable the email cloaking - In case you want to disable this in Joomla, the only thing you need to do is Extensions Manager > Plug-In Manager > find the "Content - Email cloaking" plugin and disable it. Now that message will be gone, but so will your Spambot protection. For Spambot protection in Joomla, we do use a very good script, ZBBlock which works well on any PHP based website. We also use Joo Recaptcha, to protect registration and contact pages from Spambots. The two together have worked very very effectively to rid us of the huge amount of SPAM we used to receive. Now it's mostly legit requests which we get!

 

Let's help you manage your Joomla better

joomla

Free Joomla tips ebook button

About the Author
David Attard
Author: David AttardWebsite: https://www.linkedin.com/in/dattard/
David has been working in or around the online / digital industry for the last 18 years. He has vast experience in the software and web design industries and niches surrounding them. As a digital consultant, his focus is on helping businesses get a competitive advantage using a combination of their website and digital platforms available today.

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!

 

 

Get Started Now With ShutterstockShutterstock

Best Rated Caching Plugin

Make your website faster 

How to make your website FAST!

Step-by-step - free email course, how to make your website load in less than 1 second 

 

Work with CollectiveRay.com

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

 

Disclosure: CollectiveRay is funded personally out of a pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale. We usually partner with vendors to make your purchase cheaper than buying direct.

 

InMotion Hosting CollectiveRay Deal

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard