I am using nodeprofile with nodefamily and can set a maximum population for a specific content type 'say' story to a specific number, for example 5, but when i do so, i as administrator or user1 restrict myself to that limits as well. Any work around, Thanks.

Comments

d.sibaud’s picture

Priority: Normal » Critical

I subscribe this request, the superuser cannot be limited in the node creation.

d.sibaud’s picture

It's only needed to change nodefamily.module file like this:

original:

298  if ($max == 0 || $uid == 0 ) {
299    return FALSE;
300  }

patched:

298  if ($max == 0 || $uid == 0 || $uid == 1) {
299    return FALSE;
300  }

let me know if you agree with this simple modification.

mkdi’s picture

Title: Node creation limit per user » Thanks for your comment

I will do that after my 2 weeks holidays.
Thanks once again.

fago’s picture

Title: Thanks for your comment » Node creation limit for admin
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.