Posted by mkdi on March 7, 2008 at 2:34am
Jump to:
| Project: | Node Family |
| Version: | 5.x-1.3 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
I subscribe this request, the superuser cannot be limited in the node creation.
#2
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.
#3
I will do that after my 2 weeks holidays.
Thanks once again.
#4
#5
Automatically closed -- issue fixed for two weeks with no activity.