A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Email links encrypted email addresses
Mar 17, 2010
8:02 pm
Member
Forum Posts: 68
Member Since:
Aug 31, 2009
Offline

I am using the plugin CryptX to hide email address links from bots using Javascript encryption The plugin works fine on non-SPF pages in my WP site. Mailto: email address links used in SPF topics do appear encrypted – at least when the link is displayed in the page footer when moused over – but clicking the link fails to start Outlook as happens when one of these email links is clicked from a non-SPF page.   Any suggestions? 

Tom

Mar 17, 2010
8:08 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

afraid I have never heard of that plugin…  where are you seeing mailto:links in the forum????

Mar 17, 2010
9:36 pm
Member
Forum Posts: 68
Member Since:
Aug 31, 2009
Offline

When editing a SPF post, adding an email link to a name with the link tool results in a message asking if mailto: should be added to the link since it is email.

Cryptx is found just by searching for Cryptx in WP plugins.

Mar 17, 2010
11:39 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

and when inspecting the source after making your edit, what do you have for the url?

Mar 18, 2010
6:01 am
Member
Forum Posts: 68
Member Since:
Aug 31, 2009
Offline

This is the source when used in an SPF post. Clicking this link opens a new window but fails to start Outlook and pass the unencrypted address to Outlook's To: field…

<div>2. Send email to <a class="sfcode" href="javascript:DeCryptX('lsjtujbmufsAtbjoukpfijhi/dpn')" rel="nofollow" target="_blank">Kristi Alter</a><span class="sfcode"><em><strong></strong></em></span></div>
<div>3. Fax to 123-456-7890,&nbsp; attn: Jim Smith</div>

=====

This is the source when used on a non SPF page. Clicking this opens a new window and starts Outlook, passing the unencrypted address to Outlook's To: field…

<tr class="row-3">
<td class="column-1">Jim Smith – President</td><td class="column-2"><a href="javascript:DeCryptX('xpmhjftAbpm/dpn')">Email</a></td>
</tr>

Mar 18, 2010
7:23 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

I am trying it here and I admit that it does not open my email client but simply opens up a blank browser page – and that is something I can look into later.

But – regardless of that – the source code you have posted above is NOT what I see using the normal link tool. You appear to have wrapped that link using the 'code' toolbar button. Why is that? When I try this my source in the forum post looks exactly like your second example. Doesn't work but the format is identical…

Yellow Swordfish
Mar 18, 2010
7:48 am
Member
Forum Posts: 68
Member Since:
Aug 31, 2009
Offline

Trying to understand what I may have done differently where one instance works but not within SPF.

For the SPF post, I used the link tool as follows:

 

Link URL: typed the email address…the script then asks if mailto: should be added since it appears to be an email address.

Title: left blank

Class: Have tried both not set and sfcode options with no success

 

If it helps, I can provide the site URL's

Mar 18, 2010
9:25 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Don't need the url I have installed it on my dev system.
The only options I seem to be able to get to work out of the box is by typing the email address into the actual post (not using the link) and using the 'Replacement' options and having add the mailto automatically. That works real well.

I think the actual problem is that this was written for standard blog posts so it does not take into account the other filtering system imposed upon forum posts. I suspect that when using the javascript option it is actually getting encoded twice.

We could actually support this fairly easily and I will table this for discussion but at the moment I don't see it can work as is – other than as specified above.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: SPQC
59 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79131

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23587)