Email Link Masking

Permalink
Hello... I am hoping someone out there has a slightly better memory than I do...

I remember installing an add-on to my site, which masks any email links, in order to reduce spam. I can't remember the name of that add-on, and I don't see it now listed in my dashboard. I also can't find it in the "my licenses" section of my account on the c5 website.

Problem is the functionality is no longer working, and as a result, no email on my site is working. I can't figure out where to uninstall it, so I can install a working add-on to perform this task. I believe the way it worked was to hide one character in the email, so a robot would pull an invalid email address.

For example, on this page:http://www.apbc.ca/contact-us/

The public code around the email address on that page is:

<p>Email: <a   href="" onclick="location.href='mailto:info@a'+'pbc.ca'" >info@a<span style="display:none;">a</span>pbc.ca</a></p>


Does anyone know how I can turn OFF this functionality?

Thanks in advance.

APBCadmin
 
hutman replied on at Permalink Reply
hutman
When you go to your Add Functionality page, what Add-Ons are installed there?
APBCadmin replied on at Permalink Reply
APBCadmin
A number of add-ons, but none of them related to email masking. Which is why I am puzzled. I've even reviewed the 'packages' folder on the server.

If that add-on was removed from marketplace, would it disappear from my dashboard, but still be active on the site?
hutman replied on at Permalink Reply
hutman
I've never heard of that happening, but I don't use the Connect to the Community feature either. If you go on the server and check your /blocks folder is there a content directory in there with a controller? I'm not sure what add-on this would be, but it would have to override the content controller to save the WYSIWYG content with that altered link tag.
mhawke replied on at Permalink Reply
mhawke
There are 3 listed in a search for 'obfuscat'. Install them all and see if they work.

http://www.concrete5.org/marketplace/addons/-/view/?submit_search=1...
APBCadmin replied on at Permalink Reply
APBCadmin
I have tried installing those, with hopes they would over-ride this behaviour. No luck.
mhawke replied on at Permalink Reply
mhawke
Is it possible that there is some jQuery code added as an HTML block to a Global Area or a Global Area Stack that has some JavaScript/jQuery code added that obfuscates the email address? Shot in the dark.
WillemAnchor replied on at Permalink Reply
WillemAnchor
you could try to turn off javascript on your browser...it will give a mess of course, but then you can check if it's a js thing doing this...

also could be done by a theme or...

nahh...it's not just hardcoded in a content block, is it ?
mnakalay replied on at Permalink Reply
mnakalay
I checked and there is no javascript loaded doing that so it's probably done server side.

A few things you could check:
1- First empty your cache and check if the modification still applies.
2- Check if you don't have a template applied to content blocks that have an email address
3- When you edit the content which has an email, does the email look encrypted or clear while editing?
APBCadmin replied on at Permalink Reply 1 Attachment
APBCadmin
Hi. Thanks for the tips.

I've cleared the cache, but the behaviour still remains. There are no special templates applied to the content block (I do remember it being a site-wide automatic thing).

When editing, the address appears normal (pic attached).
WebcentricLtd replied on at Permalink Reply
you aren't using cloudflare or anything like that? I know they have a default setting that obfuscates rmail addresses automatically.
WillemAnchor replied on at Permalink Reply
WillemAnchor
You could try to search your entire site for a text phrase. Maybe you have a local copy of your complete concrete5 install, that would make searching a bit easier.

Part of that bit of code is probably fabricated, so you might not get the right result immediately.

Good luck !
mnakalay replied on at Permalink Reply
mnakalay
Could you add a fresh content block somewhere with an email address and see if it is converted or not?

There might be a modification of the content block's controller that is doing that.

It is definitely not javascript. I tried it with javascript disabled and the email was still obfuscated.
APBCadmin replied on at Permalink Reply
APBCadmin
Just added a fresh content block to the bottom of that page, still modifying email.
mnakalay replied on at Permalink Reply
mnakalay
could you look in your root blocks directory if there is a directory called content and if inside it you have a view.php and/or a controller.php file?