A Better Regular Expression for the Scripturizer 1.5 February 5, 2007
Posted by LO in Development, Releases.trackback
Thanks to Chris
, who has his own great ESV WordPress plugin, the regular expressions in Scripturizer have received the first round of much needed updates. The latest code allows the Scripturizer to parse references that span multiple chapters, such as Genesis 2:1-4:5.
Thanks Chris for sharing your work!
Have you tested Scripturizer on WP 2.1+ ? I’ve been having severe CPU utilization problems (I’m not blaming it on Scripturizer) and so I’ve been disabling the plugins which haven’t stated they specifically have been tested on 2.1 without problems. I cannot afford to parse the text with too many plugins right now when my site’s been crashing in flames on a shared host.
I’ve been considering the Scripturizer JS tool, instead. Any ideas?
Rich.
BlogRodent
I recently updated to the latest version of Scripturizer 1.5 and WordPress 2.1. The new version of Scripturizer allows multiple chapter spans which is very sweet.
However, now after a visitor posts a comment, they get an error message rather than a success page.
ERROR MESSAGE:
WordPress database error: [Unknown column 'ID' in 'where clause']
SELECT * FROM wp_comments WHERE ID = ‘59235′
WordPress database error: [Unknown column 'ID' in 'where clause']
UPDATE wp_comments SET comment_content = ” WHERE ID = ‘59235′
I looked up the error on the WordPress forum to find it is a known issue. (WordPress Forum is down right now). The suggested fix was to change the Scripturizer setting “Set to 1 for dynamic substitutions. Set to 0 for permament changes.” … to “0″ for static.
The setting never “saves”. Even when I refresh as the forum entry suggested. Yet, the other settings “keep” i.e. NIV vs. KJV etc.
Any suggestions?
JD
Dear Rich and JD,
I have not yet gone through the Scripturizer code to make sure it is compatible with 2.1. In the interim I would not not recommend using the “static” mode of Scripturizer. (In fact, I will probably remove static mode altogether in future releases.)
My assumption is that dynamic mode should work just fine since it does not alter any database tables, however I have not yet done sufficient testing.
It may be a few weeks before I’ll be able to do some testing, so if you guys find anything in the meantime, please let me know (LO at LAURENCEO dot COM).
by grace,
LO
Thanks, Laurence. I appreciate it. I’ll subscribe to the feed to watch for future announcements.
Peace,
Rich
BlogRodent