How to limit the number of entries to the database users a day?

Polska

New Member
How to limit the number of entries to the database users a day?
competition - users can only add two entries to the database for one day.
 
That's only going to apply an overall limit, not a per day one.

You'd have to roll your own plugin to do this.

Or we could quote you for adding a "per day" (or generic "per time period") option to the existing limit plugin.

-- hugh
 
Thanks.
I need a limit for the day (or date). Maximum of two entries per day for user.
Can you help me?

If it costs - write how much.
 
I went ahead and added a more generic "WHERE clause" option, rather than trying to code up specific date handling code. The new option basically lets you add any valid SQL to the WHERE clause we build when counting the rows. There's an example in the tooltip for restricting it to "today".

Doing it this way was much quicker, so not much point quoting you. If you want to take out a paid sub for a month or two, that'd be cool.

https://github.com/Fabrik/fabrik/commit/4d8a88e12f8009b2f56b378128864de270366a01

So do a full github update (see wiki) and give that WHERE clause a go.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top