<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
        <description>Here&#039;s the Spam Hurdles module. This module sets up some hurdles for forum spammers. Let&#039;s all hope they will trip over them! The module was written to combine several anti-spam tools in a single, easy to use module.

[size=large]Features:[/size]

[b]Very easy to install[/b]
Install the module files and enable the module. That&#039;s all there is to it. Only one very small template change is needed if you want to enable a CAPTCHA during registration of a new account for Phorum versions prior to 5.1.16. For 5.1.16 and later, this module is a pure drop-in module.

[b]CAPTCHAs can be enabled for registering accounts and/or posting messages[/b]

[b]5 types of CAPTCHA built-in:[/b]
- plain text 
- ASCII art
- GIF image, with ttf font support, so easy customization of the used fonts
- Javascript based image (javascript builds a character matrix using  elements)
- Mathematical CAPTCHA (a.k.a. MAPTCHA)

[b]An option to create spoken CAPTCHAs[/b]
A lot of CAPTCHAs are hard to solve for vision impaired people. For those people, an integration with [url=http://www.speech.cs.cmu.edu/flite/]Flite (Festival-Lite)[/url] was built. If you have the program &quot;flite&quot; installed on your server, then you can configure this module to use that program to enable spoken CAPTCHAs.

[b]Blocking of message forms that are submitted multiple times[/b]
If this option is enabled, then a unique key will be generated for each new message. As soon as the message is posted, this key will be invalidated for posting. This effectively prevents people from going back in the browser and resubmitting a (slightly changed) message (flooding) as well as spammers who directly submit posting forms to Phorum&#039;s post.php, without fetching a fresh unique key first.

[b]Blocking of message forms that are submitted too quickly[/b]
If this option is enabled, Phorum will check how much time there is between starting a new message and actually posting it. If a message is posted too quickly, then it&#039;s considered to come from a posting robot. To prevent users from accidentally posting the message too quickly themselves (For example by typing only &quot;yes&quot; in the body and hitting the submit button), the posting button is disabled as long as the server would block the message. On the button, a countdown is shown to display how many seconds the user has to wait before posting.

[b]Blocking of bots that post form fields that are embedded in HTML comments[/b]
If this option is enabled, then an extra form field is added to the posting form. However, this form field is embedded within an HTML comment block. Because of that, normal web browsers will fully ignore this extra field. On the other hand, some badly written spam bots will recognize the code as a form field. If such a spam bot posts a message including this extra form field, the message will be blocked.

[b]Let the browser sign the message using JavaScript[/b]
If this option is enabled, then the browser will retrieve two pieces of data from the server. The browser will have to create a signature for this data (using MD5) and does so by running some JavaScript. The signing JavaScript code is put in the message editor in a scrambled way (using iScramble) and the browser will have to descramble it using JavaScript to be able to run the signing code.
Functionally, this is all done to force the use of JavaScript when posting a message. This can block those spambots that do not interpret JavaScript, but only try to post the unmodified form information that is found on the message posting page.

[size=large]Examples:[/size]

This module is installed and enabled on my development server. There you can see it in action on both the stable (5.1) and development (5.2) versions of Phorum:

[url=http://phorum-dev.gitaar.net/phorum_5_1/register.php]Phorum 5.1 registration[/url]
[url=http://phorum-dev.gitaar.net/phorum_5_1/posting.php?5]Phorum 5.1 post anonymous message[/url]
[url=http://phorum-dev.gitaar.net/phorum_trunk/register.php]Phorum 5.2 registration[/url]
[url=http://phorum-dev.gitaar.net/phorum_trunk/posting.php?17]Phorum 5.2 post anonymous message[/url]</description>
        <link>https://www.phorum.org/phorum5/read.php?16,116023,116023#msg-116023</link>
        <lastBuildDate>Sun, 08 Mar 2026 14:15:36 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,149944#msg-149944</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,149944#msg-149944</link>
            <description><![CDATA[ Sorry abou that. I&#039;ll post there.]]></description>
            <dc:creator>mac</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Wed, 26 Oct 2011 01:29:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,149941#msg-149941</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,149941#msg-149941</link>
            <description><![CDATA[ You know that you just posted in a thread for this module for Phorum 5.1?<br />
I hope that you used the spamhurdles module that is included in the distribution.<br />
<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Does this mean it is not is not in the emerald template...?</div></blockquote>
<br />
The emerald template IS the default template and therefore it contains all needed changes.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Tue, 25 Oct 2011 12:03:14 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,149940#msg-149940</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,149940#msg-149940</link>
            <description><![CDATA[ Mmm. Also got this error as reported here above when I upgraded to the latest downloadable version (on version 5.2.18). <br />
<pre class="html4strict bbcode_geshi"><div class="head">Language: HTML</div>phorum_mod_spamhurdles_tpl_editor_before_textarea(): Can';t determine whether we';re editing a new message</pre>
<br />
Then I realised I have made so many changes to template files over the years and have rewritten newer template files with older ones without careful checking of what is new in the new template files.. . <br />
<br />
So I did a complete new install of 5.2.1.8<br />
Everything is working but this module. No error messages. Sanity check is OK. It simply does not show. <br />
<br />
OK, it does now on the registration form. <br />
<br />
<pre class="html4strict bbcode_geshi"><div class="head">Language: HTML</div>For versions 5.1.16 and higher, this code is already in the default  template.</pre>
<br />
Does this mean it is not is not in the emerald template...? <br />
<br />
And is this is what I must add (I seem to remember from the earlier version)<br />
<pre class="html4strict bbcode_geshi"><div class="head">Language: HTML</div> {HOOK &quot;tpl_editor_before_textarea&quot;}
<span class="sc2">&lt;<a href="http://december.com/html/4/element/small.html"><span class="kw2">small</span></a>&gt;</span>{LANG-&gt;Message}:<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/small.html"><span class="kw2">small</span></a>&gt;</span></pre>
<br />
The above is what we want, not so, and it is there?]]></description>
            <dc:creator>mac</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Tue, 25 Oct 2011 04:10:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,149417#msg-149417</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,149417#msg-149417</link>
            <description><![CDATA[ (post removed... I think I have the module working now, maybe.)]]></description>
            <dc:creator>BritishV8</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Wed, 17 Aug 2011 14:41:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,147090#msg-147090</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,147090#msg-147090</link>
            <description><![CDATA[ Great to hear that the new version works for you and thanks for reporting back!]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Dec 2010 08:47:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,147089#msg-147089</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,147089#msg-147089</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
it works now !  Thanks a lot for your work and the great mod!<br />
<br />
Cheers,<br />
Torsten]]></description>
            <dc:creator>wawibu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Dec 2010 08:05:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,147088#msg-147088</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,147088#msg-147088</link>
            <description><![CDATA[ Please try upgrading to Phorum 5.2.16-RC2. A fully rewritten spam hurdles module is available in that version. I have no idea if that will fix your problem (frankly, I have no idea why you see this error), but I&#039;d rather debug and fix the issue in the new module than in the old one.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Dec 2010 07:04:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,147087#msg-147087</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,147087#msg-147087</link>
            <description><![CDATA[ Hi,<br />
<br />
I&#039;ve tried to use this mod to prevent the SPAM registrations for my Phorum, but as soon as I enable the Captcha Function for new user registration I got the following error message:<br />
<pre class="bbcode">
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/xxx/yyyy/DAF_Forum/mods/spamhurdles/db.php on line 72
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/xxx/yyyy/DAF_Forum/mods/spamhurdles/db.php on line 72</pre>
<br />
It is equal which kind of Captcha Code was selected. Below this error message, the Captcha information and icon was shown.<br />
<br />
I&#039;m using:<br />
* Phorum version 5.2.15a<br />
* Spam Hurdles (version 1.1.2)<br />
<br />
The SQL table was created, but it seams that the script couldn&#039;t write any data to this table.<br />
<br />
Any idea?<br />
<br />
Thanks,<br />
Torsten]]></description>
            <dc:creator>wawibu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Dec 2010 05:18:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,145309#msg-145309</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,145309#msg-145309</link>
            <description><![CDATA[ start with telling us what you are using and doing:<br />
1. the thread you are posting in talks about this module on the really outdated phorum 5.1.x. Which Phorum version are you using? Which version of this module?<br />
<br />
2. When do you get this message? What did you do to get it?<br />
<br />
3. Did it work before and the message just happened now? What was changed?]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 01 Aug 2010 09:10:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,145306#msg-145306</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,145306#msg-145306</link>
            <description><![CDATA[ I have this message :<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />phorum_mod_spamhurdles_tpl_editor_before_textarea(): Can&#039;t determine whether we&#039;re editing a new message</div></blockquote>
<br />
what this ?]]></description>
            <dc:creator>kooolman</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 31 Jul 2010 01:50:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,124137#msg-124137</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,124137#msg-124137</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>sheik</strong><br />I&#039;ve just checked my Phorum DB and the phorum_spamhurdles table had 14MB of overhead (i.e. wasted space).  An OPTIMISE sorted that out, but it might be worth noting in the Readme for this module that such maintenance may be required.<br />
<br />
(I&#039;ve never understood why MySQL isn&#039;t clever enough to optimise its own tables, but there you go...)<br />
<br />
/\dam</div></blockquote>
I run this periodically via cron on my servers:<br />
mysqlcheck --all-databases -o # optimize  -a analyze  -r repair]]></description>
            <dc:creator>freedman</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 30 Aug 2007 10:58:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,124130#msg-124130</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,124130#msg-124130</link>
            <description><![CDATA[ I&#039;ve just checked my Phorum DB and the phorum_spamhurdles table had 14MB of overhead (i.e. wasted space).  An OPTIMISE sorted that out, but it might be worth noting in the Readme for this module that such maintenance may be required.<br />
<br />
(I&#039;ve never understood why MySQL isn&#039;t clever enough to optimise its own tables, but there you go...)<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 30 Aug 2007 09:49:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,121191#msg-121191</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,121191#msg-121191</link>
            <description><![CDATA[ Maybe a post button double clicker? There are people who double click anything on the computer, which will have the message form posted twice to the server. The second post will be seen as spam.<br />
<br />
The only way to diagnose, would be by disabling options one by one, until the user has no more problems. Then you found the check that hits te user. After that we can try to find out why it is happening.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 26 Mar 2007 03:07:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,121180#msg-121180</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,121180#msg-121180</link>
            <description><![CDATA[ Nope, the user does not have Javascript disabled. In fact, it&#039;s going to be hard to diagnose because he says it only happens maybe every other time he tries to post, and it doesn&#039;t seem to be related to anything like content or length of the message.]]></description>
            <dc:creator>statolith</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Mar 2007 19:47:09 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,121160#msg-121160</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,121160#msg-121160</link>
            <description><![CDATA[ Does the user have javascript disabled? In that case, the javascript signing check will not work. Disable that check and see if the user can post.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Mar 2007 12:34:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,121158#msg-121158</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,121158#msg-121158</link>
            <description><![CDATA[ I&#039;m having trouble with (at least) one of my users getting any message he tries to post marked as spam. Spam Hurdles is the only spam module I have installed, so I&#039;m wondering if it&#039;s causing this, but I just don&#039;t know. Here are my SH settings:<br />
<br />
What action has to be taken when blocking a message?	Fully block and show an  error<br />
Block message forms that are submitted multiple times	Enable for all users<br />
Block message forms that are submitted too quickly	Enable for all users<br />
Check if an HTML commented form field is submitted	Enable for all users<br />
Let the browser sign the message using JavaScript Enable for anonymous users<br />
<br />
I realize this isn&#039;t much to go on, but does anyone have any ideas?]]></description>
            <dc:creator>statolith</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Mar 2007 12:25:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120839#msg-120839</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120839#msg-120839</link>
            <description><![CDATA[ The jury will disregard your remarks.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 08 Mar 2007 16:17:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120836#msg-120836</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120836#msg-120836</link>
            <description><![CDATA[ my heavens.. I missed a page of messages..   my most sincere appologies, yes it was done and I&#039;m sitting in shame for not having updated already.<br />
<br />
I withdraw my question.<br />
<br />
:)]]></description>
            <dc:creator>freedman</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 08 Mar 2007 15:56:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120834#msg-120834</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120834#msg-120834</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>freedman</strong><br />Mourice... any luck moving the captcha stuff into the database?</div></blockquote>
<br />
as far as I remember this was done weeks ago? Or was it something else?]]></description>
            <dc:creator>Panu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 08 Mar 2007 15:38:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120831#msg-120831</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120831#msg-120831</link>
            <description><![CDATA[ Mourice... any luck moving the captcha stuff into the database?<br />
<br />
I tend to run my servers in pairs, with mysql master-master replication and the filesystems aren&#039;t clustered, so they get synced every few minutes.  With the captcha stuff on disk, if somoenes browser decides to send them to the second server (round-robin DNS) to submit the login and the first one created the captcha then it doesn&#039;t work as well as one might hope :P]]></description>
            <dc:creator>freedman</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 08 Mar 2007 14:49:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120826#msg-120826</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120826#msg-120826</link>
            <description><![CDATA[ An interesting captcha from Microsoft<br />
<br />
[<a href="http://research.microsoft.com/asirra/" target="_blank"  rel="nofollow">research.microsoft.com</a>]]]></description>
            <dc:creator>DavidVB</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 08 Mar 2007 09:33:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120543#msg-120543</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120543#msg-120543</link>
            <description><![CDATA[ Thank you! I&#039;ll include it in the next release.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Feb 2007 13:13:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120540#msg-120540</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120540#msg-120540</link>
            <description><![CDATA[ Czech (win1250) language file ;-)]]></description>
            <dc:creator>tom_czag</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Feb 2007 10:36:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120142#msg-120142</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120142#msg-120142</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>barcino</strong><br />...our /tmp-partiton was full... not full of data, but all i-nodes have been used... </div></blockquote>
<br />
I&#039;d suggest, especially for tmp which you want to be fast, you use a filesystem with dynamic i-node creation and high-quality journaling.<br />
<br />
tmp tends to get used for large numbers of small files, so this is especially important.<br />
<br />
my personal preference is to allocate my tmp disk space to swap and then run tmp as a tmpfs -- I&#039;ve found huge performance improvements with this configuration.]]></description>
            <dc:creator>freedman</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 09 Feb 2007 13:12:46 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120136#msg-120136</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120136#msg-120136</link>
            <description><![CDATA[ doh! Thought I downloaded it 2 days ago, but info.txt says, it&#039;s version 1.06! Guess I had an older version still hanging around... stupid me! :-)]]></description>
            <dc:creator>barcino</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 09 Feb 2007 07:45:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120135#msg-120135</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120135#msg-120135</link>
            <description><![CDATA[ You&#039;re not running the latest version of the mod, are you? The latest version does not use the cache files, but the database instead.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 09 Feb 2007 07:31:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,120134#msg-120134</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,120134#msg-120134</link>
            <description><![CDATA[ Hm, there *is* a problem with the cached data... Not so much because of its size but its number:<br />
<br />
We have a partition of 1 GB fpr /tmp, which is usually quite sufficient. Now we upgraded from Phorum 5.0.20 to Phorum 5.1.19 and switched from MathCapthca to Spam-hurdles. After 2 days our /tmp-partiton was full... not full of data, but all i-nodes have been used... I guess espacialle the above mentioned point of spiders/robots crawling through a big forum, all messages one by one, will generate quite a lot of files/directories ... at the moment, we just have to stop to use spam-hurdles, keeping me thinking about an unexpensive solution (changing partition sizes is *not* unexpensive in this definition ;-))... &quot;purge expired cache data&quot; is running and running and running... doesn&#039;t seem to do much, as number of used i-nodes doesn&#039;t change... (?)]]></description>
            <dc:creator>barcino</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 09 Feb 2007 07:29:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,119974#msg-119974</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,119974#msg-119974</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />This may be a solution, even if it is not a bot but a spammer imitating a bot, writing will not be possible.</div></blockquote>
<br />
A spammer imitating a bot would get a closed thread and cannot answer the post for that reason. Whether a capthca would be generated is something that&#039;s up to the Spam Hurdles module. I&#039;ll have to look into that to make sure that it skips that step on closed threads (maybe it already does so, but I can&#039;t remember putting that in the code).<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />will be still indexed by the bots ?</div></blockquote>
<br />
Sure, why not? The threads are closed, which means that replying is no longer possible. The bot is still able to read the pages for the discussion and index its contents. Only the reply option isn&#039;t available in that case.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Don&#039;t let to users decide of what developers hesitate to decide themselves!</div></blockquote>
<br />
The dev could always program anything in the way he likes it. But that ignores the fact that there are a lot of users that do want to tweak things. The option I was talking about, really is one that can be used differently based on the type of site you have. Big sites with lots of visitors want the caching, small sites on disk space tight shared hosting environments want no caching. I agree that coding choices are to be made by the dev, but this is a clear example of a choice which would upset users (if not, why is this discussion about disk space going on here in the first place? ;-).]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 03 Feb 2007 08:55:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,119973#msg-119973</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,119973#msg-119973</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />That means that less data we have and less operations we have, better it is for everyone.</div></blockquote>
<br />
Not really. Less data (which is mostly cached data) leads to more processing / computation needed. so you trade harddisk-space for processing time.<br />
IMO harddisk-space is much less expensive than processing-time and is usually the way to go.<br />
with all that told by you you will be probably one of the guys who will need to disable all caching features which were added to 5.2 as they need addiditional space to give more speed.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 03 Feb 2007 08:33:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,116023,119972#msg-119972</guid>
            <title>Re: Spam Hurdles Module (CAPTCHA&#039;s and other anti-spam tools)</title>
            <link>https://www.phorum.org/phorum5/read.php?16,116023,119972#msg-119972</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>freedman</strong><br />I&#039;m happy with the module as it is</div></blockquote>
Me also but this is not a reason for not improving it. I find the logic of this module much more cleaver than any other solutions I&#039;ve seen for phorum as well as for the rest of my site, and this is one more reason to see it working the most efficient way it can be. So I think that it must follow the initial principle of Phorum and be powerfull by itself regardless of the available disk space for storing or processors/servers capacity. That means that less data we have and less operations we have, better it is for everyone. <br />
<br />
I agree with Sheik that <b>reusing captcha&#039;s</b> is a good way to economize a lot of captcha&#039;s. In my site I use tree listing of answers, so users have to see messages one by one, which means that, currently, for only one discussion, <u>one user will generate as many captcha&#039;s as there are answers in the discussion although he will post only one or two messages</u>.<br />
<br />
The other important issue I think is <b>bots activity</b>. As they go through all messages of the forum, they generate a lot of useless captcha&#039;s. By one way or an other, this should be avoided to be conform with the principle no useless data, no useless operations.<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>makaay</strong><br />if the user agent field is matching a bot&#039;s name. If yes, then it virtually closes down viewed threads, so replying is not available, nor possible</div></blockquote>
This may be a solution, even if it is not a bot but a spammer imitating a bot, writing will not be possible. Thats what we all want no ? But shall &quot;closed viewed trees&quot; will be still indexed by the bots ?<br />
<br />
And a last observation for today concerning <b>data quantity/redondance</b>: <blockquote class="bbcode"><div><small>Quote<br /></small><strong>makaay</strong><br />If you guys are really this much into shrinking the size of the table for the spam hurdles mod, then <b>I could create an option in the admin interface</b> for configuring whether the object generated data should be cached or not</div></blockquote>
In general, I don&#039;t like thinks with a lot of tuning parameters. Some are usefull, too many they are always a source of errors and misunderstanding. If redundant data can be economized, they must be done in the module&#039;s code. Don&#039;t let to users decide of what developers hesitate to decide themselves!]]></description>
            <dc:creator>milos</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 03 Feb 2007 08:28:33 -0500</pubDate>
        </item>
    </channel>
</rss>
