CryptX

CryptX ist mein zweites Plugin für WordPress, und soll die verlinkten Email Adressen (mailto:…) vor Spider verstecken. Das ganze sollte allerdings so geschehen, dass bei der Bearbeitung der Inhalte die Email Adressen unverändert bleiben. Über die Einstellungen lässt sich einstellen, ob das verstecken der Emails mittels javascript oder mittels UNICODE geschehen soll. Ebenso lässt sich das ‘@’ Zeichen und die Punkte im Link durch selbstdefinierte Zeichen ersetzen. Standard mässig, wird das ‘@’ durch ‘ [at] ‘ und die Punkte durch ‘ [dot] ‘ ersetzt. Der Link für die Email kann aber auch als definierter Text oder als ein Bild dargestellt werden.
Da CryptX in meiner Freizeit entwickelt und gepatched wird, würde ich mich freuen, – sofern Ihnen CryptX gefällt – wenn Sie mich mit einer kleinen freiwilligen Spende unterstützen würden.
Download
Die aktuelle Version bekommt ihr direkt aus dem Repository von WordPress.org.
ToDo
Warten auf Feedback und wünsche.
Hi, Great plugin, thanks a lot.
On my site the image doesn’t appear. On mouse hover it provides the correct link, and also if you click, but the image comes up as missing. Is something wrong with my setup or style sheet please?
See the contact section at the bottom of the home page for an example of the problem.
thanks, Edwin
Hi Edwin,
i have looked at your site and saw the problem.
Maybe you have to activate the permalinks option for your site? I think this should be the solution. But i will look for a workaround to handle the image without permalinks. Maybe for the next version of CryptX, if i can realise it till then.
Greets
Ralf
Thank you for your excellent plugin CryptX.
The new CryptX version 3.2 has a bug which causes for All the active plugins “Description/ Settings” choice on my wordpress blog to point to CryptX like this: http://mysite.org/wp-admin/options-general.php?page=cryptx/admin.php.
This is for settings only in the plugins “Description” area, not in any plugin dashboard settings.
Thank you
Thanks for your comment. i have found the problem and will submit the patch as soon as possible.
Sorry for the discomfort.
Hello,
Thanks for the plugin. It is very useful.
I noticed a problem with the Options page. The radio buttons for “Type of decryption” and “Where to load the needed javascript” aren’t pre-selected with the right choices. For example, if you choose “Use Unicode” and save the changes, the page will show “Use javascript” as the selected choice, though it is saved correctly.
This is because code like (isset($cryptX_var['java']) == true) will always be true. The code needs to be changed to something like (@$cryptX_var['java'] == true) and (@$cryptX_var['java'] != true) for the “Type of decryption”. The “Where to load the needed javascript” options should be (@$cryptX_var['load_java'] != true) and (@$cryptX_var['load_java'] == true). You can remove the “@” suppression if you think the keys are guaranteed to exist.
DANKE! Super Sache.
Hello Ralf,
plugin is working great. Would it be possible to enable the encoding of the email addresses also within custom fields? As I have 3 elements on each page to be filled with different content, I have to use these fields as well for secondary and tertiary content.
CryptX doesn’t encode the email addresses found filled under custom fields.
Thank you.
Hi,
i will look for a way to solve this wish.
Ralf
Ja bitte, das wäre sowas von genial, da ich sehr häufig mit eigenen custom fields arbeite und nun für ein Kundenprojekt tatsächlich dort auch eMail-Kontakte hinterlegen soll – ohne CryptX mach ich das nicht gern
Selbstverständlich gibt es, sobald die Veröffentlichung für dieses Projekt freigegeben ist, auch wieder ein Dankeschön über PayPal.
Hallo Heike,
ich arbeite schon länger an einer allgemein gültigen Lösung dieses Problems.
Wie soll den auf die Daten zugegriffen werden?
-> the_meta(); ?
-> get_post_meta() ?
-> get_post_custom_values() ?
Ich befürchte ich muss da jeweils ein Workaround für machen. Aber auch das sollte zu bewältigen sein.
Ralf
Hallo Ralf,
leider in ich zu spät hierher gekommen, ich benutze folgendes query um den spezifischen Feld (hier quotes):
$key=”quotes”; echo get_post_meta($post->ID, $key, true);
Pavol