Email Cloaking on an image

Discuss the development and implementation of Joomla! bots/Plugins here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
alinutza
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Feb 25, 2008 5:17 pm

Email Cloaking on an image

Post by alinutza » Mon Feb 25, 2008 5:28 pm

Hi,

My problem is that in an static article I can't insert a button with an email address.

What I tried (using TinyMCE):
1. Insert image(small button)
2. Create link on image with the url: mailto:[email protected]

Can someone tell me where is the problem?

Thanks,
Alina

agusjon
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jan 08, 2007 6:33 am

Re: Email Cloaking on an image

Post by agusjon » Thu Feb 28, 2008 10:06 am

i also having this problem
when using mailto in text, its ok
but when i use mailto for image, the link is corrupt

i'm using 1.0.13 and JCE editor
is someone know how to fix this?

User avatar
mfrans
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jul 19, 2006 6:36 pm

Re: Email Cloaking on an image

Post by mfrans » Thu Feb 28, 2008 7:32 pm

Same exact problem here. Adding a mailto link to an image (or image map) will actually insert the javascript into the address field in the email.

tjlindvall
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jan 15, 2007 3:11 pm

Re: Email Cloaking on an image

Post by tjlindvall » Wed Apr 02, 2008 1:39 am

I found on my site that it was an issue with the sub domain (in my case www) in the configuration.php file remove the www and it will work fine. (you will break the html code editor in JCE unless you change everything else to match)

Hope this helps if not let me know.

raslam
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Oct 14, 2006 7:54 am

Re: Email Cloaking on an image

Post by raslam » Wed Jun 25, 2008 5:00 am

but i can't remove www from configuration.php file.

what else can be done?

tjlindvall
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jan 15, 2007 3:11 pm

Re: Email Cloaking on an image

Post by tjlindvall » Wed Jun 25, 2008 9:37 pm

Are you unable to access the configuration.php?

wajdan723
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Feb 20, 2009 1:21 pm

Re: Email Cloaking on an image :SOLVED

Post by wajdan723 » Fri Feb 20, 2009 1:35 pm

hi!

I don't know why developers assumed that there won't be such links as

Code: Select all

<a href="mailto:[email protected]"><img src="button.gif" /></a>
Email cloaking plugin just ignores such links.

I have updated the "emailcloak.php" to take care of above mentioned scenario. Download the attached file and put it into.

"/plugins/content" folder (For Joomla 1.5)

You can get it from here if you are using Joomla 1.0
Get it for Joomla 1.0
You do not have the required permissions to view the files attached to this post.

tjlindvall
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jan 15, 2007 3:11 pm

Re: Email Cloaking on an image

Post by tjlindvall » Fri Feb 20, 2009 3:43 pm

can you give me the site you are having the issue with?

scopia
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Mar 02, 2009 12:41 pm

Re: Email Cloaking on an image

Post by scopia » Mon Mar 02, 2009 1:00 pm

Hello, same problem here.
Wajdan723, I can't download your zip file. The message "Unable to deliver the file" appears in the forum when I try. :(

wajdan723
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Feb 20, 2009 1:21 pm

Re: Email Cloaking on an image

Post by wajdan723 » Mon Mar 02, 2009 2:00 pm

here are the files again
You do not have the required permissions to view the files attached to this post.

scopia
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Mar 02, 2009 12:41 pm

Re: Email Cloaking on an image

Post by scopia » Mon Mar 02, 2009 2:14 pm

Thank you, it works!!!

:D

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Email Cloaking on an image

Post by dhuelsmann » Mon Mar 02, 2009 3:27 pm

Not well documented and perhaps the easiest option is to simply place this ahead of your email address

Code: Select all

{emailcloak=off} 
to turn off cloaking for that line.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

zeebie
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Mar 03, 2009 3:52 am
Location: Melbourne, Australia

Re: Email Cloaking on an image

Post by zeebie » Tue Mar 03, 2009 4:28 am

Thanks for the improved php script.
It works great.

ptcommerce
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Mar 09, 2009 11:56 pm

Re: Email Cloaking on an image

Post by ptcommerce » Tue Mar 10, 2009 12:05 am

It Really works very well

Thank You!

mfrie01
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Aug 04, 2009 7:34 pm

Re: Email Cloaking on an image

Post by mfrie01 » Tue Aug 04, 2009 7:58 pm

I'm wondering if this is going to be a permanent fix incorporated into the release version, or am I going to need to keep replacing the file every time I update Joomla?

I'm running 1.5.14 and the fix wasn't part of the release. At least it didn't work if your image was part of a section description. When I downloaded this fix and replaced the standard plugin it works.

murraydrive
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jul 07, 2009 2:12 am

Re: Email Cloaking on an image

Post by murraydrive » Sat Sep 19, 2009 4:58 pm

worked for me too...
THANK YOU!!!

User avatar
vdrover
Joomla! Guru
Joomla! Guru
Posts: 609
Joined: Fri Mar 03, 2006 3:26 pm
Location: Canuck via MKE
Contact:

Re: Email Cloaking on an image

Post by vdrover » Tue Sep 22, 2009 5:29 pm

We created a stand-alone plugin for this so no hack needed:

http://dev.anything-digital.com/Blog/Se ... ymore.html
Victor Drover
https://watchful.net - Remote backup, update and security monitoring for Joomla.

Rainbowdelights
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 18, 2009 3:34 pm

Re: Email Cloaking on an image

Post by Rainbowdelights » Wed Oct 14, 2009 6:27 pm

Thanks so much for this plug in!! Works great! :D

TexasChopper
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Fri Jul 31, 2009 3:37 pm

Re: Email Cloaking on an image

Post by TexasChopper » Tue Dec 08, 2009 4:06 pm

I used this plug-in to solve the problems others have mentioned in this thread and it worked great. However I have added a mouse over image, and now I am having the same issue prior to installing the plug-in. Is there a trick I am missing?

I also manually entered {emailcloak=off} however when I save the change it disappears when I go back in to look for it.

Thank you

TexasChopper
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Fri Jul 31, 2009 3:37 pm

Re: Email Cloaking on an image

Post by TexasChopper » Tue Dec 08, 2009 6:47 pm

UPDATE:

I uploaded another image w/o a mouseover and tried to link it to an email, and it no longer worked either. I removed the plug-in, re-installed it, and the image w/o the mouseover worked fine. However now when I try to link the email to the mouseover images they dissappear all together on the webpage. They do however remain present on the article manager. Hmmmmm... very strange

User avatar
vdrover
Joomla! Guru
Joomla! Guru
Posts: 609
Joined: Fri Mar 03, 2006 3:26 pm
Location: Canuck via MKE
Contact:

Re: Email Cloaking on an image

Post by vdrover » Tue Dec 08, 2009 7:32 pm

If you have the most recent Joomla, you should not need the plugin any longer.
Victor Drover
https://watchful.net - Remote backup, update and security monitoring for Joomla.

TexasChopper
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Fri Jul 31, 2009 3:37 pm

Re: Email Cloaking on an image

Post by TexasChopper » Tue Dec 08, 2009 8:02 pm

I have 1.5.12

Nothing worked until I added the plug-in.

User avatar
vdrover
Joomla! Guru
Joomla! Guru
Posts: 609
Joined: Fri Mar 03, 2006 3:26 pm
Location: Canuck via MKE
Contact:

Re: Email Cloaking on an image

Post by vdrover » Tue Dec 08, 2009 8:56 pm

in version 1.5.15, they updated this feature. I recommend than u install the plugin, and then upgrade joomla.
Victor Drover
https://watchful.net - Remote backup, update and security monitoring for Joomla.

TexasChopper
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Fri Jul 31, 2009 3:37 pm

Re: Email Cloaking on an image

Post by TexasChopper » Wed Dec 09, 2009 4:24 pm

vdrover wrote:in version 1.5.15, they updated this feature. I recommend than u install the plugin, and then upgrade joomla.

I did some research in regard to updating my version and it seems as if it's over my head. Any other idea's how to get mouse over images to link to an email address?

BruceLee
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Mar 26, 2009 9:42 am

Re: Email Cloaking on an image

Post by BruceLee » Thu Jan 28, 2010 10:15 am

I'm also facing this issue with Joomla Version 1.5.15.
It was updated but it's not working when you add a subject line like that:

Code: Select all

<a href="mailto:[email protected]?subject=subject"><img src="image" /></a>

User avatar
jojo7
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Thu Apr 12, 2012 11:00 pm
Location: München
Contact:

Re: Email Cloaking on an image

Post by jojo7 » Wed Aug 28, 2013 8:28 pm

Hi, for image + subject fix please look here:
http://joomlacode.org/gf/project/joomla ... m_id=31677


Locked

Return to “Plugins/Mambots”