Thread subject: muscapaul's PHP-Fusion website :: Forum Threads Limiter

Posted by muscapaul on 19-08-2008 20:34
#18

New version: 1.00

Features
- This infusion provides the possibility set a maximum number of new threads that can be created within a certain forum during a certain period.
- Any number of threads can be chosen.
- The period is given in whole days and is always determined in multiples of 24 hours from the present backwards.
So: The limit is set for a maximum of 'x' per 'y' times 24 hours. As soon as the the oldest of x threads falls outside the period, a new thread can be created.

- This infusion provides the possibility set a maximum number of new threads that a user can create within a certain forum during a certain period.
- The period is given in whole days and is always determined in multiples of 24 hours from the present backwards.
So: The limit is set so that a user can a create maximum of 'x' threads per 'y' times 24 hours. As soon as the the oldest of x threads falls outside the period, the user can create a new thread, provided that the maximum number set above is not reached.

- This infusion provides the possibility to set a maximum number of posts a user can do during a certain period.
- The period is given in whole days and is always determined in multiples of 24 hours from the present backwards.
So: The limit is set for a maximum of 'x' per 'y' times 24 hours. As soon as the the oldest of x posts falls outside the period, a new message can be posted.

- The strictest limit is always used.

Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Please note, if you want to upgrade your Forum Threads Limiter Infusion during a PHP-Fusion version upgrade from v6 to v7, there is no need to defuse the infusion. There will be no error messages as long as you upload the infusion files at the same time as the PHP-Fusion files. When you upload the infusion files, you can simply overwrite the existing ones.
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/forum_limits/v6-7upgrade.php) that will at least add the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to the Forum Threads Limiter Infusion and/or whether all admins with Infusion Administration rights should be given those rights.
This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.

Changes in v1.00:
- Code completely updated for compatibility with PHP-Fusion v7.
- Few minor code corrections for calculations.

DOWNLOAD (last version: 27.08.2008)
26.08.2008: locale references in infusion.php capitalized.
27.08.2008: Danish locale updated.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 147
Edited by muscapaul on 27-08-2008 13:53