<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Content Restrictions</title>
        <description> Changelog::

2013-08-20 v1.0.3

	- treat raw email addresses as hyperlinks

2013-08-20 v1.0.2

	- bugged release, sorry!


2012-29-10 v1.0.1

    - Added support to enter -1 to indicate no links are allowed


2012-17-10 v1.0.0

    - Initial revision

From the ReadMe:

This module implements configurable features for enforcing message content restrictions,
for example, to stop new users spamming your forum with lots of links.

Restrictions are configurable based on three types of user:
- Unregistered
- Newly registered
- Registered

[notes on the design of this module can be seen at [www.phorum.org]]

Available restrictions are:

Number of hyperlinks in any one message
Please note, for the purposes of this module, hyperlinks are considered to be clickable links or non clickable strings of the form www.somesite... or &amp;#116;&amp;#101;&amp;#115;&amp;#116;&amp;#64;&amp;#100;&amp;#111;&amp;#109;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#99;&amp;#111;&amp;#109;

Size of message in bytes
Suggested values could be 5000, 10000 and 30000 for unregistered, newly registered and registered respectively.
For 8 bit encoded text, you can assume that bytes = characters, for unicode characters one character may equal more than one byte.
That is why I have specified &amp;quot;bytes&amp;quot; rather than &amp;quot;characters&amp;quot;.

Just to confuse matters more, note if your host uses PHP&amp;#039;s multibyte string overrides these values may represent characters instead of bytes. 
However, Phorum&amp;#039;s core uses the same method as I am (it tests against the hard-coded limit in constants.php, which defaults to 65000).

Remove Restrictions for Premium Subscribers
This option requires the Subscribers module to be installed.
If you have installed this module, presumably your Premium Subscribers are trusted, so you can choose to remove all of the restrictions from this module for those users.
If you haven&amp;#039;t installed the subscribers module you can ignore this setting.

I&amp;#039;m interested to know if anyone uses this module, so please let me know by posting here.

  /\dam</description>
        <link>https://www.phorum.org/support/read.php?62,152289,152289#msg-152289</link>
        <lastBuildDate>Sat, 15 Aug 2026 05:34:29 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154864#msg-154864</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154864#msg-154864</link>
            <description><![CDATA[ Hi Sheik,<br />
<br />
I just install the module. It works, THANKS !<br />
<br />
I translated the language file in French. Included is the french.php file.<br />
<br />
Thanks for you help,<br />
<br />
Yves]]></description>
            <dc:creator>Yves Julien</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 13 Jan 2014 10:59:09 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154303#msg-154303</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154303#msg-154303</link>
            <description><![CDATA[ Hi sheik!<br />
<br />
Is it possible to add &quot;activate moderation checkbox&quot; to new users?<br />
It will be nice to see what new users want to write before they post anything...<br />
<br />
Tom]]></description>
            <dc:creator>Tommy Lee</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 11 Sep 2013 03:52:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154148#msg-154148</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154148#msg-154148</link>
            <description><![CDATA[ zbblock has a registration limiting delay built in, by default it is off.  It may be beneficial to modify it for posting.<br />
<br />
I will enquire on heir forum.<br />
<br />
Scott]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Aug 2013 12:18:20 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154145#msg-154145</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154145#msg-154145</link>
            <description><![CDATA[ Thanks Scott, I am using SpamHurdles and Stop Forum Spam.<br />
I liked the idea of looking at the SpamHurdles code to achieve what I want but unfortunately the &quot;delay check&quot; code in that module is Javascript based, it doesn&#039;t look at the DB timestamps at all.<br />
<br />
What I would like to be able to do is use the Phorum API to return the number of posts the user has made in the past x minutes.  Unfortunately I don&#039;t have time right now to research this from scratch. <br />
This would make the job of a manual spammer much more time-consuming (I&#039;m pretty sure my current spam is coming from humans rather than bots) <br />
<br />
I don&#039;t use zbblock, thank you for the recommendation.  When I have more time I will check it out. It won&#039;t be a straightforward decision for me as it seems to ship by default with aggressive filtering for Chinese IPs. My site is a Chinese Learning one, so that isn&#039;t ideal!  I see they offer alternative config files though so I will investigate.<br />
<br />
Thanks again,<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Aug 2013 04:08:03 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154130#msg-154130</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154130#msg-154130</link>
            <description><![CDATA[ Are you using the &quot;Spam Hurdles Module&quot;? <br />
Has settings to prevent messages from being posted too quickly. Might be able to change the delay required with a (hack).<br />
Has captcha that may be turned on.<br />
<br />
Are you using the &quot;Stop Forum Spam&quot; module? <br />
Checks for known spam email and IP&#039;s on registration. Note, this is intended for registrations only, not for every post. StopForumSpam&#039;s rule.<br />
<br />
zbblock from Spambotsecurity.com   (protects php scripts)<br />
I recommend this for all Phorum installs. Over 8 months using, and I am comfortable with it.<br />
Keeps a local database of spam IP&#039;s from StopForumSpam and prevents those users/bots from posting.<br />
Stops injection (and other) attacks, and adds the IP to a permanent ban database.<br />
Has the ability, and comes configured to block whole ranges of IP&#039;s known to host spammers (including China), other files available that don&#039;t block China and some other countries.<br />
Checks photos and files for executable code and scripts.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 20 Aug 2013 12:49:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154129#msg-154129</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154129#msg-154129</link>
            <description><![CDATA[ A minor new version for this module was released today, see first post for details.<br />
I&#039;d really like some pointers on how to pull back a given user&#039;s post count in the previous x minutes though as that would help prevent some recent spam floods I&#039;ve been getting.  <br />
<br />
Can anyone help?<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 20 Aug 2013 11:06:46 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,154125#msg-154125</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,154125#msg-154125</link>
            <description><![CDATA[ Can somebody please post some sample code to find out how many posts a registered user has made in the past x minutes?<br />
<br />
Thanks,<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 20 Aug 2013 05:30:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,152331#msg-152331</guid>
            <title>Re: Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,152331#msg-152331</link>
            <description><![CDATA[ I&#039;m thinking it would be a nice addition for this module to prevent newly registered users from making multiple posts within a configurable timeframe.<br />
<br />
This would stop spammers using an automated script to flood a forum with dozens of posts per minute.<br />
<br />
Even putting a 60 second restriction in place would slow down such a script.<br />
<br />
Any thoughts?<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 19 Oct 2012 11:53:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,152289,152289#msg-152289</guid>
            <title>Module: Content Restrictions</title>
            <link>https://www.phorum.org/support/read.php?62,152289,152289#msg-152289</link>
            <description><![CDATA[ <u><b>Changelog::</b></u><br />
<br />
2013-08-20 v1.0.3<br />
<br />
	- treat raw email addresses as hyperlinks<br />
<br />
2013-08-20 v1.0.2<br />
<br />
	- bugged release, sorry!<br />
<br />
<br />
2012-29-10 v1.0.1<br />
<br />
    - Added support to enter -1 to indicate no links are allowed<br />
<br />
<br />
2012-17-10 v1.0.0<br />
<br />
    - Initial revision<br />
<br />
<u><b>From the ReadMe:</b></u><br />
<br />
This module implements configurable features for enforcing message content restrictions,<br />
for example, to stop new users spamming your forum with lots of links.<br />
<br />
Restrictions are configurable based on three types of user:<br />
- Unregistered<br />
- Newly registered<br />
- Registered<br />
<br />
[notes on the design of this module can be seen at [<a href="http://www.phorum.org/phorum5/read.php?20,152210,152210" target="_blank" >www.phorum.org</a>]]<br />
<br />
<u><b>Available restrictions are:</b></u><br />
<br />
<b>Number of hyperlinks in any one message</b><br />
Please note, for the purposes of this module, hyperlinks are considered to be clickable links or non clickable strings of the form www.somesite... or <a href="mailto:&#116;&#101;&#115;&#116;&#64;&#100;&#111;&#109;&#97;&#105;&#110;&#46;&#99;&#111;&#109;">&#116;&#101;&#115;&#116;&#64;&#100;&#111;&#109;&#97;&#105;&#110;&#46;&#99;&#111;&#109;</a><br />
<br />
<b>Size of message in bytes</b><br />
Suggested values could be 5000, 10000 and 30000 for unregistered, newly registered and registered respectively.<br />
For 8 bit encoded text, you can assume that bytes = characters, for unicode characters one character may equal more than one byte.<br />
That is why I have specified &quot;bytes&quot; rather than &quot;characters&quot;.<br />
<br />
<span style="font-size:small"><span style="color:#696969">Just to confuse matters more, note if your host uses PHP&#039;s multibyte string overrides these values may represent characters instead of bytes. <br />
However, Phorum&#039;s core uses the same method as I am (it tests against the hard-coded limit in constants.php, which defaults to 65000).</span></span><br />
<br />
<b>Remove Restrictions for Premium Subscribers</b><br />
This option requires the <a href="http://www.phorum.org/phorum5/read.php?16,50056" target="_blank" >Subscribers module</a> to be installed.<br />
If you have installed this module, presumably your Premium Subscribers are trusted, so you can choose to remove all of the restrictions from this module for those users.<br />
If you haven&#039;t installed the subscribers module you can ignore this setting.<br />
<br />
I&#039;m interested to know if anyone uses this module, so please let me know by posting here.<br />
<br />
  /\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 17 Oct 2012 05:54:19 -0500</pubDate>
        </item>
    </channel>
</rss>
