WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
How to encrypt email address displayed in tables? (5 posts)

  1. ingenuity
    Member
    Posted 3 years ago #

    The WP-Tables plugin provides a great way to display a searchable directory of Yoga teachers.

    See http://66.147.240.198/~iytaorg/teachers-directory/find-an-integral-yoga-teacher

    My question: Is there a way within this table (which was imported from Filemaker Pro to an .xls to a .csv and imported into WP), to ENCRYPT the email addresses so they are less likely to be harvested by spam bots? The only way I can think of is clumsy, to change name@domain.com to name [at] domain [dot] com. Is there a better approach?

    I looked over the documentation and saw that Javascript can be used in the tables, but I didn't understand enough to determine if this might contain the solution.

  2. TobiasBg
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    what you could do is to use a plugin filter to replace the email addresses with some "unreadable" form.

    You could start with the "URL conversion" Extension from http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/.
    Then, instead of using the make_clickable() function, you could use antispambot() or a custom function, to do the text replacing.
    I do not know a good replacement though, as spambots are very well trained nowadays.

    Best wishes,
    Tobias

  3. ingenuity
    Member
    Posted 3 years ago #

    Thank you for the fast response. I'm hoping to get some help for the custom function.

    I have another unrelated question / possible bug, I'll post as a new topic.

  4. ingenuity
    Member
    Posted 3 years ago #

    Thank you for the fast response. I'm hoping to get some help for the custom function.

    I have another unrelated question / possible bug, I'll post as a new topic.

  5. TobiasBg
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    sorry, as mentioned I don't know such a custom function to protect email addresses. However, once you find one, the described way with the Extension is how you can make the function work with the addresses in a table.

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic