ingenuity
Member
Posted 2 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.
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
ingenuity
Member
Posted 2 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.
ingenuity
Member
Posted 2 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.
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