Limiting Number of Posts
rgraves - April 14, 2008 - 15:48
I know you can limit the number of posts by a particular user for a particular content type. Is there a way to accomplish either of the following:
1. Limit the total number of posts for a particular content type (no matter who is posting)
2. Limit the total number of posts for a particular taxonomy (no matter who is posting)
Rob

I don't know of any existing
I don't know of any existing modules that address this. It should be pretty easy to create a module that uses hook_nodeapi to tap into the validate or submit operations and taxonomy_term_count_nodes to check # of nodes and either proceed with submit or display an error.
=============
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
I want this too.
I want something like this too, please I'd like to have a module or just a piece of code to build my own module based on that code. Thanks.
Juan Timaná
www.ezwp.com
any solutions yet?
any solutions yet?