Limit User Posts

Hi Everyone,

Glad there is a drupal UK site. I tried to drop in last Friday, but unfortunately the woman at the counter didn't know anything about it, and I wasn't sure if it was still on.

At the moment, I am working on a jobs board for the media agency I work for. Once I finished this project I am going to release an installation profile to the drupal community as I think this would be something lots of potential users would want.

However, one key feature of job boards is the ability to limit the number of job posts a user can make (if you are selling job adverts for example, you don't want the advertiser to have an unlimited number of posts they can make). I'm at a complete loss though, as to how one limits the number of nodes a user can publish within drupal. What would be ideal of course, would be limiting the number of CCK content types a user can publish, and setting this variable, per user.

Can anyone point me in the right direction...

Looking forward to any thoughts, a new, let rapidly learning drupal developer
Todd

RichardD's picture

Node access

Hi Todd

I've got a feeling you're after Node Access http://drupal.org/project/nodeaccess

Once installed if you go to Content Types and edit the relevant one you should see this appear:

Maximum population:
0
Maximum number of nodes of this content type per user. Enter 0 for no limit.

If this doesn't do the job let me know and I'll test a few modules I have to find out which one I used on a specific project.

Richard

Thanks!

Thanks for the help Richard, shall let you know how it goes, and what solution I come up with in the end.

Cheers,
Todd

only one node

I'm looking for the same thing. I installed nodeaccess on Drupal 6, but didn't see that option.

It looks like nodefamily has the feature, but only for Drupal 5. Also one called "Node - limit number" for D5.

Robert Castelo's picture

Solutions?