2006-09-20 09:40:22

GeertAki
Plugin Author
beta
Real name: Geert Van Aken
From: Belgium
Known languages: Dutch, English, French
Website

Re: [ORPHAN] alt_obfuscate: Email Obfuscator

Niconemo, thanks for your suggestion. I will investigate this as soon as I find some spare time.
Perhaps, for the moment, you can use the php-function (wrapping in <txp:php></txp:php>) and dynamically insert the emailaddress that you have specified in the custom field. But then, you need to know how to extract the value from that custom field.

But to me, your suggestion seems a nice improvement.

Thanks,
GeertAki

Offline

 

2006-09-20 13:18:16

colak
Admin
omega
Real name: Yiannis
From: Cyprus
Known languages: el, en
Website

Re: [ORPHAN] alt_obfuscate: Email Obfuscator

Niconemo wrote:

If I understand well, the plugin must be tagged this way :
<txp:alt_obfuscate email="mymailmymail.com”/>@
Could it be be possible to make it work this way too ?
<txp:alt_obfuscate email>mymailmymail.com</ txp:alt_obfuscate email>@
in order to make it work with an “e-mail” custom field tag for example.

If understood correctly, the plugin can easily be used with custom fields like so
<code><txp:if_custom_field name=“email”><txp:alt_obfuscate email=”<txp:custom_field name=“email” />”/></txp:if_custom_field></code>

or … would the tag within a tag problem take over?

Offline

 

2006-09-20 13:34:49

GeertAki
Plugin Author
beta
Real name: Geert Van Aken
From: Belgium
Known languages: Dutch, English, French
Website

Re: [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

 

2006-09-20 15:43:44

akokskis
Plugin Author
êta
Real name: Adrian (Ako)
From: Baltimore-ish, USofA
Known languages: en-gb, ua
Website

Re: [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

 

2006-09-21 13:04:29

colak
Admin
omega
Real name: Yiannis
From: Cyprus
Known languages: el, en
Website

Re: [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?

Offline

 

2006-09-24 18:55:19

hazel
Member
gamma
From: Glastonbury, UK

Re: [ORPHAN] alt_obfuscate: Email Obfuscator

Thanks for this one Geert, much appreciated :)

Offline

 

2006-11-16 14:30:07

Niconemo
Member
mu
Real name: Nico
From: Rhône-Alpes, France
Known languages: FR, some EN

Re: [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

 

2006-11-16 14:33:17

GeertAki
Plugin Author
beta
Real name: Geert Van Aken
From: Belgium
Known languages: Dutch, English, French
Website

Re: [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

 

2006-11-16 15:01:28

Niconemo
Member
mu
Real name: Nico
From: Rhône-Alpes, France
Known languages: FR, some EN

Re: [ORPHAN] alt_obfuscate: Email Obfuscator

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


Nico

Offline

 

2007-03-12 18:39:08

azw
Member
thêta

Re: [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

 

Powered by FluxBB