July 28 2017 09:36:28
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· News Categories
· Contact Me
· Search
Demos
· Glossary
· Netquery
Users Online
· Guests Online: 2

· Members Online: 0

· Total Members: 1,892
· Newest Member: skalsted
Last Seen Users
· batbaru131 weeks
· Froberg37 weeks
· skalsted42 weeks
· muscapaul42 weeks
· webcheck53 weeks
· HopeyS54 weeks
· WildHaggis105 weeks
· grover114 weeks
· fawwaz120 weeks
· tigracar135 weeks
PHP Classes
Support sites
Fusion Sites
PHP-Fusion
PHP-Fusion Mods
PHP-Fusion Themes
PHP-Fusion Beta

PHPfusion-mods.net
StarglowOne
SiteMaster style
wibix.de

Noyoshi.dk



Fuzed Themes
View Thread
Who is here? 1 guest(s)
 Print Thread
Forum Threads Limiter
muscapaul
#1 Print Post
Posted on 11-05-2007 11:53
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

The first public alpha is presented for a Forum Threads Limiter.

In the whole forum there may be forums (like Off-topic, or Lounge) that are (ab)used too often and that muddle or obscure the on-topic forums. The Forum Threads Limiter will enable you to set a limit on the number of new threads created in a forum during a certain period (measured in multiples of 24 hours).
Also, it can happen that certain members flood forums and you want to prevent that. The Forum Threads Limiter also enables you to set a limit on the number of new threads a single user can create in a forum during a certain period (again measured in multiples of 24 hours).

DOWNLOAD:
Threads_Limiter_20070510.zip (last updated: 10.05.2007)
Edited by muscapaul on 26-08-2008 19:58
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
muscapaul
#2 Print Post
Posted on 24-05-2007 14:40
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Small update to first public alpha is presented for a Forum Threads Limiter.

Changelog
V0.21 (alpha_24052007)
* Bug fixed: Corrected an error in the check whether a new thread could be posted or not.

DOWNLOAD:
Threads_Limiter_20070524.zip (last updated: 24.05.2007)

Uploading the files should suffice, if you have not modified the involved forum files. Otherwise, only upload the contents of the php-files folder and perfom the manual change of ../forum/postnewthread.php.
Edited by muscapaul on 24-05-2007 14:52
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#3 Print Post
Posted on 13-07-2007 16:43
Member

Posts: 8
Joined: 12.07.07

How hard would it be to alter this so it limits the number of threads and replies you can do globally on the forum?
 
muscapaul
#4 Print Post
Posted on 13-07-2007 19:54
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Not sure. Maybe it is not that difficult. I will see if I have time to figure it out next week. My weekend has a rather full schedule...
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#5 Print Post
Posted on 14-07-2007 20:04
Member

Posts: 8
Joined: 12.07.07

Ok

If you can figure out a sysem that will limit the users posts only within a 24 hour period i'll pay you for it Wink
 
muscapaul
#6 Print Post
Posted on 09-11-2007 11:56
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

An update is available for the Forum Threads Limiter.

Added functionality: limited number of new threads / limited number of posts for members in the whole forum during a certain period (measured in multiples of 24 hours).

All modified files are based on PHP-Fusion v6.01.13.

DOWNLOAD:
Threads_Limiter_20071109.zip (last version: 29.02.2008)
Updates after initial release:
Addition of Danish and Dutch locales.
Edited by muscapaul on 29-02-2008 11:28
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
helmuth
#7 Print Post
Posted on 25-02-2008 09:10
User Avatar

Member

Posts: 23
Joined: 26.04.06

attached the Danish locales Wink
helmuth attached the following file:
danish_1.zip
 
http://helmuth.dk/
muscapaul
#8 Print Post
Posted on 25-02-2008 09:37
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

I will add them soon. Thx!
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
muscapaul
#9 Print Post
Posted on 29-02-2008 11:29
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Danish and Dutch locales added, download link above in http://www.muscap...4#post_204
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#10 Print Post
Posted on 28-07-2008 11:42
Member

Posts: 8
Joined: 12.07.07

"Added functionality: limited number of new threads / limited number of posts for members in the whole forum during a certain period (measured in multiples of 24 hours)."

Hiya

I downloaded this to take a look, i dont see any option to limit posts Wink
 
muscapaul
#11 Print Post
Posted on 28-07-2008 11:52
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Go to the settings page in Admin Panel -> Infusions -> Forum - Threads Limiter. There you find two tables: Forum - Threads Limiter - Set Global Forum Limitation (with Global in Forum per User) and Forum - Threads Limiter - Add Setting for Specific Forum. You use the top one to limit the total number of new threads/posts per user over the whole forum.
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#12 Print Post
Posted on 28-07-2008 11:59
Member

Posts: 8
Joined: 12.07.07

Well Yea,

I know that Pal. But it's for Threads created in each forum, for example i can set myself to only be able to post a thread once in a particular forum, i then go back to post another one and of course - it wont let me.

But i can post as many replies as i want, there isnt an option to limit the number of replies a member can do
 
muscapaul
#13 Print Post
Posted on 28-07-2008 13:44
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Isn't the "Limit all Posts" doing the trick...?
muscapaul attached the following image:


[35.86Kb]
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#14 Print Post
Posted on 28-07-2008 16:27
Member

Posts: 8
Joined: 12.07.07

Huh

I dont see that, i downloaded the version from this thread. I will reinstall it pal cheers
 
Wheeler
#15 Print Post
Posted on 28-07-2008 16:32
Member

Posts: 8
Joined: 12.07.07

Meh, I reinstalled and it aint there - the locals aint there either could you check the download package or point me int he correct direction Smile
 
muscapaul
#16 Print Post
Posted on 28-07-2008 19:46
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

The download package is the same as the version I use on my website from which I took the screenshot. I found out that Set global Forum Limitation is still hard-coded into the settings script. Sad
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Wheeler
#17 Print Post
Posted on 28-07-2008 20:52
Member

Posts: 8
Joined: 12.07.07

Do you have the code by any chance? Pfft
 
muscapaul
#18 Print Post
Posted on 19-08-2008 15:34
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

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.
Edited by muscapaul on 27-08-2008 08:53
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Mimer
#19 Print Post
Posted on 26-08-2008 18:10
Member

Posts: 8
Joined: 23.08.08

I get this error after installing v. 1:
Download source  Code
Notice: Undefined index: flim101 in /mounted-storage/home10/sub001/sc15863-WIQP/fjotte.dk/forum/infusions/forum_limit/infusion.php on line 32

Notice: Undefined index: flim102 in /mounted-storage/home10/sub001/sc15863-WIQP/fjotte.dk/forum/infusions/forum_limit/infusion.php on line 33

Notice: Undefined index: flim101 in /mounted-storage/home10/sub001/sc15863-WIQP/fjotte.dk/forum/infusions/forum_limit/infusion.php on line 75




Mimer B)
 
muscapaul
#20 Print Post
Posted on 26-08-2008 20:02
User Avatar

Super Administrator

Posts: 368
Joined: 24.03.06

Last minute update going awry. All locale definitions were capitalized, but infusion.php skippd attention. Download was updated. Should be okay now.
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator)
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Forum - Accepting Code of Conduct Infusions 19 20-11-2010 00:55
Admin User's Threads List Modifications 11 15-12-2009 22:52
Donate
Please help to make
muscapaul.com
possible and enable
further improvements!
Login
Username

Password



Forgotten your password?
Request a new one here.
Temporary email addresses
Please note: While activating new accounts I usually check them out. If I notice an account registered with a temporary email address it will be deleted.
Newsletter
Newsletters are for registered members only.
Shoutbox
You must login to post a message.

10/11/2013 18:48
Cool! This site is still around!

18/10/2013 15:28
hey! Smile

24/06/2011 20:40
My name is Andreo, I'm new member Smile

24/06/2011 20:39
Hello Muscapaul, is there anyone here ?

12/09/2010 20:02
nice mod thanks Smile

10/07/2010 10:01
Paul, hows thing?

06/07/2010 22:47
Who becomes the world champion on football? We wil

02/07/2010 10:11
Do you like buritas or tako? Britney likes it

01/07/2010 09:38
And after all and the truth it has well turned out.

25/06/2010 15:53
I hate Spammers, and whats about that very silly cop-thing?

Render time: 0.16 seconds 3,729,745 unique visits