WordPress Tips

I’ve been working on WordPress sites a lot lately.  The other day, it was Charlene’s blog.  Today, it was the CCF Alumni Foundation website, of which I’m the Chairman.

Since the early days of the web, I’ve often used the JavaScript Enkoder form by Hivelogic to obfuscate my e-mail address in order to protect it from spammers.  The problem is that because it’s based on JavaScript, it’s not super-compatible with WordPress pages and posts.

Fortuitously, I ran across a PHP plugin version written specifically for WordPress.  It’s called PHPEnkoder.  So now, any plaintext e-mail addresses as well as any mailto: links on the website are now automatically encoded using the Javascript Enkoder.  Fantastic!

This is what my e-mail address looks like when it’s been “enkoded.”

<script type="text/javascript">
var x="function f(x){var i,o=\"\",l=x.length;for(i=0;i<l;i+=2) {if(i+1<l)o+=" +
"x.charAt(i+1);try{o+=x.charAt(i);}catch(e){}}return o;}f(\"ufcnitnof x({)av" +
" r,i=o\\\"\\\"o,=l.xelgnhtl,o=;lhwli(e.xhcraoCedtAl(1/)3=!97{)rt{y+xx=l;=+;" +
"lc}tahce({)}}of(r=i-l;1>i0=i;--{)+ox=c.ahAr(t)i};erutnro s.buts(r,0lo;)f}\\" +
"\"(5),5\\\"\\\\{w`qyjj'.x\\\\-\\\\\\\"n\\\\ZZOT\\\\\\\\\\\\\\\\VTwOTXA]7P01" +
"\\23\\\\05\\\\03\\\\\\\\0L6W01\\\\\\\\03\\\\06\\\\02\\\\\\\\\\\\[email protected]\\\\`?px8" +
"8$7>'f=*2-'_K\\\\U\\\\\\\\\\\\\\\\(\\\"}fo;n uret}r);+)y+^(i)t(eAodrCha.c(x" +
"\\\\\"\\\\o=i,r va){,y(x fontincfu)\\\"\")"                                  ;

The other problem I solved this afternoon was the implementation of a prayer requests form for the CCFAF.  It’s built on Google Docs technology, which I then embedded using an <iframe> into the WordPress post.  The problem wasn’t creating the form, that’s easy enough.  The problem was figuring out how to get notified each time the form was filled out.  But I ran across this article, and now we should be good to go.

Go try it out!  When someone fills out the form, I automatically get an e-mail notification.  Then I can either pray for it directly, or have someone from the Board pray for them.  Excellent!  Technology at its finest: serving the Kingdom of God.

Leave a Reply

Your email address will not be published. Required fields are marked *