<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Peter&#8217;s Custom Anti-Spam Image plugin with WordPress MU</title>
	<atom:link href="http://www.theblog.ca/anti-spam-mu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.theblog.ca</link>
	<description>Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more</description>
	<lastBuildDate>Fri, 10 Feb 2012 05:51:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Tom</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-11041</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 26 May 2009 03:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-11041</guid>
		<description>I had a problem with MU 2.7.1 and the registration form protection option. 

Even after installing the latest code from Peter&#039;s link &lt;a href=&quot;http://www.theblog.ca/wp-content/uploads/2008/04/anti-spam-mu-patch3.0.3.txt&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, it kept trying to validate again on the second sign up page.  I inserted the following code as the first two lines in the function cas_register_post in custom_anti_spam.php and it fixed the problem.

	if ($_POST[&#039;stage&#039;] == &#039;validate-blog-signup&#039;)
		return $result;</description>
		<content:encoded><![CDATA[<p>I had a problem with MU 2.7.1 and the registration form protection option. </p>
<p>Even after installing the latest code from Peter&#8217;s link <a href="http://www.theblog.ca/wp-content/uploads/2008/04/anti-spam-mu-patch3.0.3.txt" rel="nofollow">here</a>, it kept trying to validate again on the second sign up page.  I inserted the following code as the first two lines in the function cas_register_post in custom_anti_spam.php and it fixed the problem.</p>
<p>	if ($_POST['stage'] == &#8216;validate-blog-signup&#8217;)<br />
		return $result;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cryonic</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-10699</link>
		<dc:creator>Cryonic</dc:creator>
		<pubDate>Tue, 24 Feb 2009 17:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-10699</guid>
		<description>Hey,

There is a problem with the MU instructions using the alternate method.  Following the instructions, I still get this as path, which is wrong. 
wp-content/plugins/mu-plugins/custom_anti_spam.php?antiselect=5

We need to replace all instances of &quot;wp-content/plugins&quot;  with &quot;wp-contents/&quot;, not just the two lines mentioned in the instructions.

&lt;strong&gt;Reply from Peter: Thanks for pointing that out.  I have revised the text accordingly :)&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>There is a problem with the MU instructions using the alternate method.  Following the instructions, I still get this as path, which is wrong.<br />
wp-content/plugins/mu-plugins/custom_anti_spam.php?antiselect=5</p>
<p>We need to replace all instances of &quot;wp-content/plugins&quot;  with &quot;wp-contents/&quot;, not just the two lines mentioned in the instructions.</p>
<p><strong>Reply from Peter: Thanks for pointing that out.  I have revised the text accordingly <img src='http://www.theblog.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-10525</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 22 Jan 2009 05:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-10525</guid>
		<description>Hi Lafty,

It&#039;s fine for blogs created from the back-end, but not for when people register through the front-end, right?  I believe that the problem stems from the fact that a few versions ago, I made the install and uninstall functions in the plugin available only through the back-end of the site (for efficient loading of code).  To solve this problem, find this line:

} // Close the back-end check

And move it to be above this line:

// Install the anti-spam word database table upon plugin activation</description>
		<content:encoded><![CDATA[<p>Hi Lafty,</p>
<p>It&#8217;s fine for blogs created from the back-end, but not for when people register through the front-end, right?  I believe that the problem stems from the fact that a few versions ago, I made the install and uninstall functions in the plugin available only through the back-end of the site (for efficient loading of code).  To solve this problem, find this line:</p>
<p>} // Close the back-end check</p>
<p>And move it to be above this line:</p>
<p>// Install the anti-spam word database table upon plugin activation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lafty</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-10516</link>
		<dc:creator>Lafty</dc:creator>
		<pubDate>Wed, 21 Jan 2009 21:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-10516</guid>
		<description>It looks like just new blogs.. I checked on a blog that was created after I mass activated the plug-in and the anti spam plugin was activated, but the image read * * * INVALID * * * Also, the database tables were not created.   I use plugin commander to automatically activate the antispam plugin.  I had to turn this off because of the invalid message.  I can turn it back on for testing if you have any ideas.</description>
		<content:encoded><![CDATA[<p>It looks like just new blogs.. I checked on a blog that was created after I mass activated the plug-in and the anti spam plugin was activated, but the image read * * * INVALID * * * Also, the database tables were not created.   I use plugin commander to automatically activate the antispam plugin.  I had to turn this off because of the invalid message.  I can turn it back on for testing if you have any ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-10515</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 21 Jan 2009 20:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-10515</guid>
		<description>Hi Lafty, the fact that you say &quot;sometimes&quot; makes it more mysterious.  Is there some sort of common thread between those users that you can identify?</description>
		<content:encoded><![CDATA[<p>Hi Lafty, the fact that you say &quot;sometimes&quot; makes it more mysterious.  Is there some sort of common thread between those users that you can identify?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lafty</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-10512</link>
		<dc:creator>Lafty</dc:creator>
		<pubDate>Wed, 21 Jan 2009 14:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-10512</guid>
		<description>Hi, I&#039;m using your plugin with plugin commander with the latest version of WPMU.  Some times, when a new blog is created, the wp_#_cas_count and wp_#_cas_image tables are not created.  The user has to deactivate and activate the plugin in order for those tables to get created.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m using your plugin with plugin commander with the latest version of WPMU.  Some times, when a new blog is created, the wp_#_cas_count and wp_#_cas_image tables are not created.  The user has to deactivate and activate the plugin in order for those tables to get created.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-9341</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 07 Jun 2008 20:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-9341</guid>
		<description>Hi, try changing the number &quot;7&quot; to &quot;8&quot; or higher (corresponding to the admin user level):

add_management_page(&#039;Custom anti-spam&#039;, &#039;Custom anti-spam&#039;, 7, &#039;custom_anti_spam.php&#039;, &#039;cas_manage&#039;);

(See &lt;a href=&quot;http://codex.wordpress.org/Adding_Administration_Menus&quot; title=&quot;Adding administration menus&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://codex.wordpress.org/Roles_and_Capabilities&quot; title=&quot;Roles and capabilities&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for more information.)</description>
		<content:encoded><![CDATA[<p>Hi, try changing the number &quot;7&quot; to &quot;8&quot; or higher (corresponding to the admin user level):</p>
<p>add_management_page(&#8216;Custom anti-spam&#8217;, &#8216;Custom anti-spam&#8217;, 7, &#8216;custom_anti_spam.php&#8217;, &#8216;cas_manage&#8217;);</p>
<p>(See <a href="http://codex.wordpress.org/Adding_Administration_Menus" title="Adding administration menus" rel="nofollow">here</a> and <a href="http://codex.wordpress.org/Roles_and_Capabilities" title="Roles and capabilities" rel="nofollow">here</a> for more information.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-9339</link>
		<dc:creator>Konstantin</dc:creator>
		<pubDate>Sat, 07 Jun 2008 01:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-9339</guid>
		<description>Hello again, I just created a new blog and noticed that users can access the custom anti-spam page, and its supposed to be seen only bu the site admin (me).

Is there anyway to hide the plugin page from users?</description>
		<content:encoded><![CDATA[<p>Hello again, I just created a new blog and noticed that users can access the custom anti-spam page, and its supposed to be seen only bu the site admin (me).</p>
<p>Is there anyway to hide the plugin page from users?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-9300</link>
		<dc:creator>Konstantin</dc:creator>
		<pubDate>Sat, 24 May 2008 04:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-9300</guid>
		<description>&lt;strong&gt;EDIT: problem solved by using version 3.0.5 of the plugin and following the updated instructions.&lt;/strong&gt;

Hello, I&#039;ve been using your plugin for over a year now. I was using version 2.82 because it worked flawlessly for me and it was enough, but after upgrading to wpmu 1.5.1 I started getting errors so I decided to upgrade.

Now I am using version 3.0.4 but I am getting new errors:

[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Notice:  Undefined variable: cas_displaytext in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 113, referer: some search engine

[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Notice:  Trying to get property of non-object in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 136, referer: some search engine

[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Fatal error:  Call to a member function get_var() on a non-object in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 278, referer: some search engine

I did the setup using the alternative method because first I tried with plugin commander but then I noticed that the script was creating 2 extra tables per blog, and at 3000 blogs thats a lot of tables I didnt want, plus all the different word files in /words/.

Anyway, I followed the instructions and the plugin works fine except when I click on Custom Anti Spam link I get the &quot;no words file found, deactivate and activate the plugin again&quot; error. The /words/ folder is writable and is in /plugins/custom-anti-spam, while the rest of the files are at /mu-plugins/, just like your instructions say. I&#039;ve checked the file and I noticed that there are other instances where $wpdb-&gt;prefix is used. Since that was removed from part 1), maybe I should remove all instances of it? I dont know my way around php so I dont know if I should.

Any suggestions? Thanks. You can mail me if you&#039;d like.</description>
		<content:encoded><![CDATA[<p><strong>EDIT: problem solved by using version 3.0.5 of the plugin and following the updated instructions.</strong></p>
<p>Hello, I&#8217;ve been using your plugin for over a year now. I was using version 2.82 because it worked flawlessly for me and it was enough, but after upgrading to wpmu 1.5.1 I started getting errors so I decided to upgrade.</p>
<p>Now I am using version 3.0.4 but I am getting new errors:</p>
<p>[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Notice:  Undefined variable: cas_displaytext in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 113, referer: some search engine</p>
<p>[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Notice:  Trying to get property of non-object in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 136, referer: some search engine</p>
<p>[Fri May 23 20:05:42 2008] [error] [client 86.22.72.154] PHP Fatal error:  Call to a member function get_var() on a non-object in /xxx/wp-content/mu-plugins/custom_anti_spam.php on line 278, referer: some search engine</p>
<p>I did the setup using the alternative method because first I tried with plugin commander but then I noticed that the script was creating 2 extra tables per blog, and at 3000 blogs thats a lot of tables I didnt want, plus all the different word files in /words/.</p>
<p>Anyway, I followed the instructions and the plugin works fine except when I click on Custom Anti Spam link I get the &quot;no words file found, deactivate and activate the plugin again&quot; error. The /words/ folder is writable and is in /plugins/custom-anti-spam, while the rest of the files are at /mu-plugins/, just like your instructions say. I&#8217;ve checked the file and I noticed that there are other instances where $wpdb-&gt;prefix is used. Since that was removed from part 1), maybe I should remove all instances of it? I dont know my way around php so I dont know if I should.</p>
<p>Any suggestions? Thanks. You can mail me if you&#8217;d like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NeiL</title>
		<link>http://www.theblog.ca/anti-spam-mu/comment-page-1#comment-9276</link>
		<dc:creator>NeiL</dc:creator>
		<pubDate>Wed, 14 May 2008 21:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/anti-spam-mu#comment-9276</guid>
		<description>Hi, firefox&#039;s cache was making me go nuts. Now is working ok. Sorry :P
Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi, firefox&#8217;s cache was making me go nuts. Now is working ok. Sorry <img src='http://www.theblog.ca/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

