• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

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