CryptX

CryptX Logo

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.

Kommentare

110 Antworten zu “CryptX”
  1. Salü Ralf

    Merci für CryptX! Feedback:
    - Zumindest im Default-Style (http://allen.projectbay.net/blog/?page_id=533) wird beim Modus “convert to image” (Zeile 214 in Deinem Code) das Bild durch “align:text-bottom” zu hoch gesetzt. “align:inherit” ist hier die bessere Wahl
    - Wieso verwendest Du die uncodierte Emailadresse im Image-title und dem Dateinamen? Hier könnte man doch ganz problemlos das @ durch at und . durch dot ersetzen…

    Beste Grüsse & Merci nochmals für all Deine Arbeit!
    Bruno

  2. Andreas sagt:

    Hallo Ralf,
    ich habe aufgrund eines anderen Problems auf meiner Seite einmal den Debug-Mode von WordPress eingeschaltet, und dabei festgestellt, dass auch von diesem Plugin einige Fehlermeldungen produziert werden.
    Magst du vielleicht einmal das selber noch testen? (einfach mal in der wp-config.php, “define(‘WP_DEBUG’, true);” einschalten)

    Anonsonsten muss ich sagen: Top Tool!

    LG Andreas

    • Ralf sagt:

      Hallo Andreas,

      vielen dank für Deinen Hinweis.
      Ich konnte jedoch bei meinem Testsystem (PHP 5.3.2, WordPress 3.1, CryptX 2.7.1) keine Fehlermeldungen von CryptX finden.
      Kannst Du mir einen Screenshot mit den Fehlermeldung mailen, damit ich da mal nachgucken kann?

      Grüße
      Ralf

  3. Jessica sagt:

    Thanks for developing such a useful and flexible plugin. I would like to use CryptX in my template to encrypt email addresses, however I was hoping to make the “text” of the mailto link the same as the email address (either by making it an image or also encrypting the text. Is there any way to get cryptx() to do this?

  4. Will sagt:

    Hi, I’m interested in cleaning up my HTML for speed and SEO. Any chance we can get this plugin to hook in only on requested pages (rather than excluded pages as it stands right now), and have all JS removed for pages that don’t use this plugin?

  5. tacochamp sagt:

    Hello,
    The plugin is not working in my custom footer. I have activated it and it is working on this page:
    http://dharmasangha.org/cmszen/about-cmzc/contact-us

    But if you look into the footer, the e-mail address here is not being changed to an image.

    Please advise!
    Keith

  6. Chris Booth sagt:

    Hi – thanks for a very useful plugin!

    One useful addition would be a class on the image that replaces the email link text, so that I can apply styles to it:

    (And, as another chris has noted, there needs to be a closing / on the img tag.)

    - Chris

  7. chris sagt:

    First of all: Excellent plugin!

    A small w3c incompliance occured to me though. I am using version 2.6.4 and the option where the email address is replaced by a small icon. The img tag does not close with a / . I fixed it for myself in the cryptx.php, but thought I could share this issue here.

  8. BlueLight sagt:

    Hi

    The ampersands used in the encrypted string throws a w3c html warning – any fix?

    Thanks
    K

  9. Zaphod sagt:

    I have installed the plugin on a WordPress site and it works great – except that in the footer I have an mailto: and it’s not encrypting that address.

    Is there something further I need to do?

  10. Interested sagt:

    Is there a way to use this plugin to only encrypt part of a post? For example I want to encrypt the location of a video file in the post so a user cannot view source at then download the video. Please let me know. Thanks!

    • Ralf sagt:

      Hi,

      there is no feature like this on my roadmap.

      You can use a plugin like “WordTwit” to shorten your URLs, but this is no protection against downloading. If you want real download protection, you have to use a streaming server for your videos.

      Ralf

Trackbacks

Sieh nach, was andere über diesen Artikel sagen...


Geben Sie Gedanken eine Stimme

Sagen Sie was Sie denken...
und wenn Se ein Bild mit Ihrem Kommentar haben möchten, dann holen Sie sich einen gravatar!