Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-09-20 13:34:49

GeertAki
Plugin Author
From: Belgium
Registered: 2006-03-03
Posts: 24
Website

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

colak, I have just performed some tests with your solution, but it seems that my custom tag does not recognize the email address passed by the <txp:custom_field>-tag.

I think that I have to update my plugin to do this (or someone else, it’s open source after all ;o))
In that case, please post the new source code, so that I can use it to build a new version of the plugin installation file.

Thanks,
GeertAki

Offline

#14 2006-09-20 15:43:44

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

It would be pretty easy to change this plugin around so that it could take an email wrapped in the plugin tags in addition to the current style.

Basically, you’d have to add another parameter to your plugin’s function (by convention, <code>$thing</code>), and that would be the enclosed text. Basically, I suppose you’d then check if there’s enclosed text (<code>if ($thing) { … }</code>), and if so, you’d use that as the email, otherwise you’d have to use the email attribute in the self enclosed tag.

Hope that makes sense.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#15 2006-09-21 13:04:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,006
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

GeertAki wrote:

colak, I have just performed some tests with your solution, but it seems that my custom tag does not recognize the email address passed by the <txp:custom_field>-tag.

Did you try to have the example in an article form?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#16 2006-09-24 18:55:19

hazel
Member
From: Glastonbury, UK
Registered: 2006-09-22
Posts: 36

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

Thanks for this one Geert, much appreciated :)

Offline

#17 2006-11-16 14:30:07

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

It is now possible to have an email custom field in within the alt_obfuscator tag with asy_wondertag plugin !

Example :

<txp:asy_wondertag>
<txp:alt_obfuscate email="<txp:custom_field name="email"/>" text="Courriel" title="Send email to <txp:custom_field name="name"/>" />
</txp:asy_wondertag>

Last edited by Niconemo (2006-11-16 14:44:17)


Nico

Offline

#18 2006-11-16 14:33:17

GeertAki
Plugin Author
From: Belgium
Registered: 2006-03-03
Posts: 24
Website

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

Nico, thanks, I will try this out later on this week, but I’m almost sure it works :)

For the moment I’m also considering a variation of the email obfuscator, so that it also supports xmpp:-protocol intead of just mailto:
But time is not always on my side…

Offline

#19 2006-11-16 15:01:28

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

Yes it works without any problem : it’s active on one site I made. :)


Nico

Offline

#20 2007-03-12 18:39:08

azw
Member
Registered: 2007-01-29
Posts: 279

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

cynicalpink wrote:

Just a quick note: The help info included with the plugin doesn’t have the tag listed with its three letter prefix.

Hello, GeertAki,

Thanks for creating this plug-in. It really helps.

The problem CynicalPink noticed is still there in the latest download.

It would be very helpful if you showed an example of how to use the tag in the instructions.

Offline

#21 2007-07-24 14:00:39

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

I’ve tried using asy_wondertag to reference a field as the email address, but I’m getting the following error (email@somewhere.com represents the address in the field):
An emailaddress should contain exactly one ‘at’-sign (@) instead of 0 (email@somewhere.com )

The code I’m using is this:
<dd><txp:asy_wondertag><txp:alt_obfuscate email="<txp:zem_event_email />" /></txp:asy_wondertag></dd>

Any idea why it isn’t working?

Last edited by lreynolds (2007-07-24 14:02:24)

Offline

#22 2007-07-29 04:01:47

azw
Member
Registered: 2007-01-29
Posts: 279

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

Hello, LReynolds,
I haven’t tried that, but have you tried the method Nico wrote about above? (I’ve quoted it again here.)

Niconemo wrote:

It is now possible to have an email custom field in within the alt_obfuscator tag with asy_wondertag plugin !

Example :

<txp:asy_wondertag>
<txp:alt_obfuscate email="<txp:custom_field name="email"/>" text="Courriel" title="Send email to <txp:custom_field name="name"/>" />
</txp:asy_wondertag>

Offline

#23 2007-10-11 11:30:37

azw
Member
Registered: 2007-01-29
Posts: 279

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

Is there a new link for the plugin? The old ones aren’t working.

Offline

#24 2007-10-12 17:10:07

GeertAki
Plugin Author
From: Belgium
Registered: 2006-03-03
Posts: 24
Website

Re: [plugin] [ORPHAN] alt_obfuscate: Email Obfuscator

I’m sorry, but I have some technical issues with my webserver. That’s why my website is currently offline.
However, you can download the emailobfuscator via this temporary link:
http://altum.be/products/emailobfuscator/EmailObfuscator_V1.1.1.zip

As soon as my website is up and running again, the link will probably change, so if that’s the case, you should check out my site for the correct location.

Regards,
GeertAki

Offline

Board footer

Powered by FluxBB