<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brain Goo &#187; phpbb</title>
	<atom:link href="http://www.popmartian.com/tipsntricks/category/phpbb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.popmartian.com/tipsntricks</link>
	<description>Carpe Crap 'em</description>
	<lastBuildDate>Thu, 20 May 2010 17:52:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stop spam-bots in PHPBB 2.x.  Cheap, easy BOT stopper</title>
		<link>http://www.popmartian.com/tipsntricks/2007/06/05/stop-spam-bots-in-phpbb-cheap-easy-bot-stopper/</link>
		<comments>http://www.popmartian.com/tipsntricks/2007/06/05/stop-spam-bots-in-phpbb-cheap-easy-bot-stopper/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 22:21:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How Tos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.popmartian.com/tipsntricks/2007/06/05/stop-auto-bots-in-phpbb-cheap-easy-bot-stopper/</guid>
		<description><![CDATA[WARNING!  As of this writing, this information pertains to the 2.x branch of phpBB.  I strongly recommend you upgrade to the latest phpBB.  As of April 28, 2009 that version is 3.0.4.  Please see http://phpbb.com
NOTICE: I have an updated phpBB patch for the 3.0.x version of phpBB.  Please search this blog for phpBB or look [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>WARNING!  As of this writing, this information pertains to the 2.x branch of phpBB.  I strongly recommend you upgrade to the latest phpBB.  As of April 28, 2009 that version is 3.0.4.  Please see <a href="http://phpbb.com">http://phpbb.com</a></p>
<p>NOTICE: I have an updated phpBB patch for the 3.0.x version of phpBB.  Please search this blog for phpBB or look at the phpbb category for more tips and tricks.</p></blockquote>
<p>In your active template file profile_add_body.tpl find the line:</p>
<p><code> </code></p>
<pre>&lt;!-- Visual Confirmation --&gt;</pre>
<p><strong>ABOVE</strong> that line, add:</p>
<pre>&lt;!-- BOT HACK --&gt;
   &lt;tr&gt;
      &lt;td class="row1"&gt;&lt;span class="gen"&gt;Are you a robot? *&lt;/span&gt;&lt;/td&gt;
      &lt;td class="row2"&gt;&lt;select class="post" name="imarobot"&gt;
      &lt;option value="yes"&gt;yes&lt;/option&gt;
      &lt;option value="yes"&gt;of course&lt;/option&gt;
      &lt;option value="nope"&gt;Humans choose this one&lt;/option&gt;
      &lt;/select&gt; &lt;span class="gen"&gt;Bot buster... choose the right one.&lt;/span&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;!-- BOT HACK --&gt;</pre>
<p>In your forum file includes/usercp_register.php find this section of code:</p>
<p><code> </code></p>
<pre>   else if ( $mode == 'register' )
   {
      if ( empty($username) || empty($new_password) || empty($password_confirm) || empty($email) )
      {
         $error = TRUE;
         $error_msg .= ( ( isset($error_msg) ) ? '&lt;br /&gt;' : '' ) . $lang['Fields_empty'];
      }</pre>
<p><strong>AFTER</strong> that part, add this:</p>
<p><code> </code></p>
<pre>// BOT HACK
         if ( empty($HTTP_POST_VARS['imarobot']) )
         {
            die('NO BOTS');
         }
         else
         {
            if ($HTTP_POST_VARS['imarobot'] != 'nope')
            {
               die('NO BOTS');
            }
         }
// BOT HACK</pre>
<p>And there you go.</p>
<img src="http://www.popmartian.com/tipsntricks/?ak_action=api_record_view&id=9&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.popmartian.com/tipsntricks/2007/06/05/stop-spam-bots-in-phpbb-cheap-easy-bot-stopper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
