Although the daily, weekly, monthly and annually options are OK for the majority of implementations, there are many cases when you are going to need a more granular configuration.

Adding a setting for Custom Time Limit would be nice. A simple way of doing this would simply be using a drop down menu with:

- Minutes
- Hours
- Days
- Weeks
- Months
- Years

Then a number field to type in the limit.

This should count from when the last X nodes was created. If a user has reached the limit then they are blocked, but when the oldest node is older than the time limit, then they can create a new node.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jdwfly’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Assigned: Unassigned » jdwfly

Good idea, I'll see what I can create the next couple of days.

jdwfly’s picture

Status: Active » Postponed

Anybody want to work on this?

vkareh’s picture

Assigned: jdwfly » vkareh
Status: Postponed » Needs review
FileSize
2.53 KB

I created a patch that adds two more options: Per minute and Hourly. If using Rules Scheduler, cron has to be set up to run every minute for the Per minute option to make sense.

Please review and let me know.

vkareh’s picture

Re-made the patch using the Patch contributor guide so that it's easier for the maintainer to patch.