Hiya,
Just posting this in case it is of any help to people out there. This is a very very basic plugin that I created for a site that I am currently working on. It works in conjunction with an SAEF and all it does is allows you to restrict how many entries users are allowed to post.
The plugin as said above is exceptionally simple. I may (if I ever get the time) update this so you can set different amounts of entries per user or per member group but at the moment it is one amount for everybody as that is all I needed on the site I am creating.
It is exceptionally simple to use and was exceptionally easy to make. I hope that I haven’t done anything silly in there but as always please do check it out on a non-live site before trusting it to your data. It shouldn’t hose anything due to the way in which it operates but just be careful never-the-less! ![]()
Hope it helps someone out there.
Best wishes,
Mark
USAGE :
Put this tag pair around the Stand-Alone Entry Form to check if the user has reached their maximum amount of posts.{exp:maximum_posts_reached entries=“2”}
{if maxed_out}
FAILED!!
{if:else}
Yay!!! This is allowed!
{/if}{/exp:maximum_posts_reached}
The entries=“20” parameter is the only parameter and is a required value and sets how many entries users can post at any one time. If they try to post any more than this number then the form won’t show.
Also I must bring in a disclaimer here and say that this plugin must not under any circumstances be used to allow a blog site to be set up. You must still operate this plugin within the EE licensing regulations.
