obfuscate emails?

Permalink
sure this has been covered elsewhere, but I can't find it. C5 automatically creates links from web addresses, correct? but it does not automatically create a mailto link from email addresses, is that right? and certainly no option to automatically create a pseudo spambot safe email (obfuscation)? I realize of course that nothing is completely safe, but other CMS programs I've used at least do the javascript routine. I'm not a programmer, just not sure the best way to keep from putting emails out there to spam (like in the employee profile block)

jleinbaugh
 
tallacman replied on at Permalink Reply
tallacman
Some time back I posted this as a good block for someone to develop. I was met with a rousing silence.

Steve
Shotster replied on at Permalink Reply
Shotster
There should be something appearing in the marketplace relatively soon.

-[other] Steve
jleinbaugh replied on at Permalink Reply
jleinbaugh
yes, I remember the thread now... it actually took me to the privatedaddy option... Anyone have any feedback on how that option rates as a solution? you basically load a php script into your header and their site obfuscates all emails... is it safe? does it work? that's basically what I'm looking for - autodetect of emails and encrypt in some form (my end users are used to just typing out email addresses and having them magically become links as opposed to doing the <a href... thing)
Shotster replied on at Permalink Reply
Shotster
> that's basically what I'm looking for - autodetect
> of emails and encrypt in some form

Well, my solution certainly doesn't do that. That seems like a lot of overhead - i.e. to parse every page looking for email addresses (if I understand you correctly). What I've done is created a C5 package that contains a block with a simple UI for site maintainers and page editors as well as a simple API for theme and add-on developers so that they too can easily encrypt addresses programmatically. I hope to have it submitted for approval by the end of the week.

-Steve
jleinbaugh replied on at Permalink Reply
jleinbaugh
not a programmer, so I'm not sure I can speak to what all it takes, but I'll be looking for your solution soon!
Shotster replied on at Permalink Reply
Shotster
> not a programmer, so I'm not sure I can
> speak to what all it takes

There's no programming required at all, jleinbaugh. It's a C5 block with a simple editing/configuration UI. I was just saying that I did provide an option for developers should they want to access the functionality programmatically. I'll post back here if/when it's approved for the marketplace.

-Steve
jleinbaugh replied on at Permalink Reply
jleinbaugh
any update on this? haven't seen anything in the marketplace
Shotster replied on at Permalink Reply
Shotster
> any update on this? haven't seen
> anything in the marketplace

You can now find it here:

http://www.concrete5.org/marketplace/addons/encrypted-e-mail-addres...

It does require Concrete 5.4 or higher to add/edit blocks, but the API should work fine with earlier versions.

Regards,

-Steve
jleinbaugh replied on at Permalink Reply
jleinbaugh
any update on this? haven't seen anything in the marketplace
Shotster replied on at Permalink Reply
Shotster
Hi jleinbaugh, thanks for your interest.

Yes, I submitted the add-on for approval about 10 days ago. As this is my first submission, I have no idea what to expect in terms of the vetting/approval process. Whenever I'm updated on the status, I'll certainly post back here.

Thanks again,

-Steve
AWCwebmaster replied on at Permalink Reply
AWCwebmaster
I bought and installed the Encrypted E-Mail Address add-on but it looks like it can only be used as a stand-alone block. Is there any way it can be used in a sentence like "Email me for more info" where "Email me" is a hyperlink?
Shotster replied on at Permalink Reply
Shotster
> Is there any way it can be used in a sentence like
> "Email me for more info" where "Email me" is a hyperlink?

Yes of course, but NOT from within the rich editor (i.e. TinyMCE) which it sounds like what you're wanting. It is, as you point out, a separate block, so you'd have to add the encrypted email address (EEA) block before or after the content block. If you'd like the same email address on every page (e.g. a contact email in the page header/footer) or want the ability to quickly add a particular email address to a given page (e.g. add a support email address to specific pages), you should check out the global scrapbook. It's a C5 feature that allows you to "paste" a block into any page but maintain/update that block from just a single location. In other words, editing the block in the global scrapbook will update all occurrences of that block throughout your site.

That said, I will soon be releasing an update to the EEA block (which will of course be free to existing users). Among the improvements will be support for a more "verbose" context. In other words, instead of being limited to a single line input field, you'll be able to enter multiple lines of text. I'll be posting more about the new features when I'm ready to release it.

If you have any other questions, let me know.

-Steve
AWCwebmaster replied on at Permalink Reply
AWCwebmaster
Thanks for the quick reply Steve, Yes, that's where I wanted to put the email addresses, but I need to put them in the text on the Committee page athttp://www.mgabingdon.co.uk/ - I'll use a Javascript obfuscator for now.
Shotster replied on at Permalink Reply
Shotster
I've encountered a similar situation where I've needed to list contact information for staff and board. If those users are in the C5 DB, then you might be interested in another block I'll be releasing which will allow for such lists, including contact info.

At any rate, there's no reason you couldn't use the EEA block for that page. You'd just have to create a separate block for each person. It's not as elegant as the solution I'll be coming out with, but it would work and be quite secure.

-Steve