Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: rsw686 on August 13, 2008, 12:41:34 PM

Title: Limit Posts Per Day
Post by: rsw686 on August 13, 2008, 12:41:34 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1327)

This mod allows you to limit the number of posts per day a member can make. The number of posts is calculated 24 hours from the current time. It adds a "Posts Per Day Limit" field in the profile account settings.
Title: Re: Limit Posts Per Day
Post by: Negative on August 22, 2008, 03:33:25 AM
hello!

this mod blocks and posts form quick reply box?
Title: Re: Limit Posts Per Day
Post by: rsw686 on August 22, 2008, 07:36:12 AM
Yes it will block posts from the quick reply box.
Title: Re: Limit Posts Per Day
Post by: Nathaniel on August 22, 2008, 09:58:12 AM
Nice little mod! :)
Title: Re: Limit Posts Per Day
Post by: HecKel on August 22, 2008, 12:45:42 PM
Hi!

One question, this can be set by usergroup? This should be great to "punish" spammers :P
Title: Re: Limit Posts Per Day
Post by: rsw686 on August 22, 2008, 01:33:25 PM
No it is only definable by member. I don't have plans to include this feature either. I had built this mod to deal with a select few members on my forum and decided it would be nice to share with the community.
Title: Re: Limit Posts Per Day
Post by: Negative on August 22, 2008, 05:29:08 PM
thank you...nice&useful mod  ;)
Title: Re: Limit Posts Per Day
Post by: SiL on August 24, 2008, 08:11:54 PM
For those members who get out of hand at certain times of the evening (after a few to many perhaps!) is it possible to add an option so that you can limit the number of posts between certain (forum) times {not local user times as they would be able to bypass it by changing their timezone}?

Also for those forums that haven't moved for 1.1.4/1.1.5 yet - a version possibly? please?
Title: Re: Limit Posts Per Day
Post by: unformatted_ on August 26, 2008, 10:57:41 AM
works on 1.1.5?
Title: Re: Limit Posts Per Day
Post by: rsw686 on August 26, 2008, 11:18:21 AM
Quote from: vasco on August 26, 2008, 10:57:41 AM
works on 1.1.5?

Nope it does not. However I thought I saw a mod for 1.1.x that does basically the same thing.
Title: Re: Limit Posts Per Day
Post by: unformatted_ on August 26, 2008, 11:41:11 AM
Yes, it's true. But not suporting 1.1.5
I've upgraded from 1.1.3 to 1.1.5 and now have lost this feature :'(
Title: Re: Limit Posts Per Day
Post by: rsw686 on August 26, 2008, 11:57:59 AM
Not much was changed between 1.1.3 and 1.1.5. It doesn't install? If so look at the parse error as it probably just requires a small tweak.
Title: Re: Limit Posts Per Day
Post by: c a g a t a y on August 30, 2008, 10:49:23 AM
I need this mod for 1.1.5

Is there any limiting setting in Admin panel or limiting setting for each user in USER PROFILE ?

Regardss
Title: Re: Limit Posts Per Day
Post by: rsw686 on August 30, 2008, 12:07:52 PM
Quote from: c a g a t a y on August 30, 2008, 10:49:23 AM
I need this mod for 1.1.5

Is there any limiting setting in Admin panel or limiting setting for each user in USER PROFILE ?

Regardss

Again it is not available for 1.1.5. The limiting setting is in each user's profile under account settings.
Title: Re: Limit Posts Per Day
Post by: rommul on November 11, 2008, 04:31:52 PM
how exactly is calculate the 24H interval?

can it be done to take regular day settings (from 0h00 to 23h59)?

can the user see in personal profile his posting limits, if any?
Title: Re: Limit Posts Per Day
Post by: rsw686 on November 11, 2008, 08:29:31 PM
Quote from: rommul on November 11, 2008, 04:31:52 PM
how exactly is calculate the 24H interval?

can it be done to take regular day settings (from 0h00 to 23h59)?

can the user see in personal profile his posting limits, if any?

When you click the post or reply button it looks back 24hrs from the current time and counts the number of posts made.
Title: Re: Limit Posts Per Day
Post by: rommul on November 12, 2008, 02:28:32 PM
the "limited" user is able to see how many posts remaining he has?
Title: Re: Limit Posts Per Day
Post by: tarantula14 on November 20, 2008, 08:20:53 PM
Is it possible to limit post for all members at the same time?
To put some value by default, and to change later, if it`s necessarily.
Title: Re: Limit Posts Per Day
Post by: vkot on April 08, 2009, 03:58:50 AM
I have done this too, before I saw that a mod already existed...

But how about limiting new topics per day?
I have built a code for this but it uses subqueries, which is something that SMF doesn't like (http://www.simplemachines.org/community/index.php?topic=240523)
Can you think of a sql query for this purpose, without using subquery?
Title: Re: Limit Posts Per Day
Post by: unformatted_ on September 24, 2009, 09:58:05 AM
Hi!

Its possible to work with 1.1.9?
Title: Re: Limit Posts Per Day
Post by: unformatted_ on November 23, 2009, 08:19:40 AM
Hi!

Someone can help me to limit members post?

This mod doe not work with 1.1.9 and the other mod is for 2.0

Is there any solution to limit posts per day?

thanks
Title: Re: Limit Posts Per Day
Post by: risla on November 25, 2009, 01:48:29 AM
Help me to limit members post plz!
I need this mod for 1.1.10
Title: Re: Limit Posts Per Day
Post by: Yiorgos on January 15, 2010, 04:27:34 PM
The attached file is now installable to all 1.1  up to   1.1.xx   SMF versions.
It works fine with SMF 1.1.11 on my httρ://sdtv.gr/smf/  and it should work on earlier versions too.

I am not the author of that mod and I take no responsibility for any possible malfunction it may cause.

Please make sure that you have taken a copy of your database and backup your forum files before applying this mod.
Title: Re: Limit Posts Per Day
Post by: ACAMS on March 21, 2010, 05:38:57 PM
There were parcer instructions for SMF 2.0 RC2, so I tried to install it on my 2.0 RC2 forum and got this error...

Database Error
   Table 'gtmforums.members' doesn't exist
File: /home/.monsieur/gametechmods/gametechmods.com/forums/Packages/temp/dbmodify.php
Line: 19     


  Is there a way to make this work?
Title: Re: Limit Posts Per Day
Post by: KensonPlays on March 21, 2010, 11:48:29 PM
2.0RC3 update?
Title: Re: Limit Posts Per Day
Post by: ACAMS on March 22, 2010, 12:27:25 PM
I use RC2 because my theme has not been updated for RC3.....neither has my other mods!
Title: Re: Limit Posts Per Day
Post by: ACAMS on March 28, 2010, 02:27:54 AM
Wonder if this guy is gonna update.....of if it can be updated?
Title: Re: Limit Posts Per Day
Post by: ACAMS on March 30, 2010, 07:04:42 PM
Would somebody else consider making this work for 2.0 RC2?

This sure would be a nice mod to have.
Title: Re: Limit Posts Per Day
Post by: TheListener on March 30, 2010, 07:11:54 PM
Quote from: Kcmartz on March 21, 2010, 11:48:29 PM
2.0RC3 update?
Quote from: ACAMS on March 28, 2010, 02:27:54 AM
Wonder if this guy is gonna update.....of if it can be updated?

Has anyone considered either using the emulate function or asking in the requests board?
Title: Re: Limit Posts Per Day
Post by: ACAMS on April 04, 2010, 05:13:24 PM
I made a request, but it seems there are no modders around anymore. (I heard several got banned)
Title: Re: Limit Posts Per Day
Post by: Arantor on April 04, 2010, 05:24:03 PM
All were unbanned but they didn't want to write mods any more.
Title: Re: Limit Posts Per Day
Post by: Yiorgos on March 11, 2011, 07:28:30 PM
With all my respect to the developer of this Modification, rsw686, i modified one of his files and managed to make it work for SMF RC5.
The attached file installs and works fine with package manager.

This Mod modifies the language file /Themes/default/languages/Modifications.english.php
If you use other language file, you have to add in it the following lines just before the ?> at the end.



$txt['posts_limit'] = 'Posts Per Day Limit';
$txt['posts_limit_desc'] = 'Selecting 0 allows for unlimited posts';
$txt['posts_until_limit'] = 'Posts Until Limit';
$txt['posts_day_exceeded'] = 'You have exceeded the number of posts you can make in a 24 hour period. Please try again later.';
Title: Re: Limit Posts Per Day
Post by: mwg on August 11, 2011, 07:37:23 PM
Thank you Yiorgus.

so far, it works. now to run it with real users...
Title: Re: Limit Posts Per Day
Post by: Yiorgos on August 12, 2011, 10:43:25 AM
You can be sure mwg, it works (on my forum) for some (over enthusiast) real users too...  :)
Title: Re: Limit Posts Per Day
Post by: Cola-Coca on October 18, 2011, 05:40:21 PM
With great respect I leave mode for SMF version 2.0 and 2.0.1
Title: Re: Limit Posts Per Day
Post by: senyor35 on May 29, 2014, 05:30:27 PM
Hello. When I install this mod to my 2.0.7 version I am getting this error;

Table 'bestmusic_senio3.members' doesn't exist
File: /home/bestmusic/public_html/Packages/temp/dbmodify.php
Line: 19

What can I do? Help me about this issue please!
Title: Re: Limit Posts Per Day
Post by: Marina3 on December 27, 2022, 10:01:56 AM
Table 'forum.members' doesn't exist.
Please tell me what needs to be done?
Title: Re: Limit Posts Per Day
Post by: -Rock Lee- on December 29, 2022, 08:06:04 PM
Quote from: Marina3 on December 27, 2022, 10:01:56 AMTable 'forum.members' doesn't exist.
Please tell me what needs to be done?

Make sure it is the prefix of the table and also does not generate an error record?


Regards!