Spambot Email Protector and RSS Feeds
3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: April 18, 2013 (RSS)
Hello, All
I've just stumbled upon an issue with the plugin which is giving me a headache. I've set-up an RSS feed for a site but much of the code is being declared invalid due to the <BDO> tags used by Spambot Protector.
My guess is that I should be able to strip these out (and any code in between) using preg_replace and some smart regular expression code.
Can anyone help, please?
:0/
Perch
By Dave - March 16, 2013
Hi Perch,
You can just turn off BDO encoding like this (in the top of the plugin):
$GLOBALS['SEP_ENCODING_METHODS']['bdo'] = false;
Or if you need I can update the plugin with a couple lines of code so you can turn it off for select pages (or your RSS feed).
Hope that helps, let me know if either of those options will work for you.
interactivetools.com
By Dave - April 18, 2013
Hi Perch,
Just a further update on this thread. We've released a minor upgrade to Spambot Email Protector that lets you turn it off on a per page basis by setting:
<?php $GLOBALS['SEP_DISABLED'] = true; // Disable Spambot Email Protector ?>
You can read more here: http://www.interactivetools.com/forum/forum-posts.php?Spambot-Email-Protector-v1.01-Released-78688
And download the latest version here: http://www.interactivetools.com/add-ons/my_purchases.php
Hope that helps!
interactivetools.com