Needs work
Project:
Node Limit Number
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2010 at 21:14 UTC
Updated:
7 Mar 2014 at 12:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jdwfly commentedThat is confusing. Sorry, but it should actually state create and not publish.
As far as limiting the amount a user could publish, it cannot do that. Now this could be something I might add in, but I just wonder how many would want to do that.
Comment #2
no2x commentedHi,
ah ok. In my oppinion it would be nice if the module can do both, limit the amount a user can create and/or a user can publish. It would be great if you could add this feature as it would bring a huge amount of comfort for users. Let's think about a system where users work in a hierarchical organisation. There could be some role types which are allowed to create maybe 100 nodes but only publish 5 at the same time. So if those nodes are recurring or similar, they can just be unpublished and another one can be published - instead of deleting one and creating a new one with all the typing again.
What do you think?
Comment #3
jdwfly commentedI'm going to see how long this would take me, but I wanted to make a 1.0 release soon. Patches are welcome.
Comment #4
no2x commentedI'm very new to the module, but if you give me some hints, I can start a patch...
My idea is to add a rule type (atm it's only Check a limit when I remember right). There could be one rule type Check a Limit for Node Creation and another type Check a Limit for Node Publishing.
Comment #5
jdwfly commentedYes, that is exactly the method I would take. It needs to be its own rule otherwise rule setup could get confusing.
Comment #6
newToo commentedLimit "Published" nodes would be very helpful.
Comment #7
newToo commentedAny update on limiting "published" nodes and not every node created by the user?
Comment #8
jdwfly commentedI'm about to release the 2.0 so this is probably going to move to the next version.
Comment #9
Shadlington commentedHow about now?
This is exactly the feature I have been looking for.
Comment #10
jdwfly commentedComment #11
YK85 commented+1 subscribing
Comment #12
YK85 commentedDoes anyone know of any workaround for this?
Is there anyway of creating a condition for number of published nodes of content type x that a user has?
Thank you very time
Comment #13
nyleve101 commentedHi, is this a feature that can be sponsored?
Comment #14
jvizcarrondo commentedI have developed a solution to add limit on published nodes rule condition, This work was done on the Node limit number 6.x-2.x-dev (I am including the patch) by request of Evelyn (@nyleve101) and is now working satisfactorily. I hope it helps for someone, can be improved or to be included in a future.
Juan
Comment #15
jdwfly commentedThanks for the patch, but the problem with it is that there is no way we change the existing rule functionality. If something like this were to get into the module it would need to be its own event/condition so as to not break any existing implementations.
But the bigger problem is that there isn't a whole lot of configurability with how it chooses the nodes. It really needs some type of query builder so that you can precisely choose which nodes you want. You want published nodes only, but someone may want both... there is another issue that needs nodes before/after certain dates. Before I keep slapping on new ways to limit there really needs to be some thought put in to how to account for all the different ways people want to limit and how can they be implemented incrementally as needed without having to rework the entire module.
Comment #16
jvizcarrondo commentedThanks for your quick response, well I agree that is possible add more functionality, but it could be the basis for a new update (evelyn just needed this and I shared here), I believe that you would have no problem adding a condition for node types, you could do:
Juan
Comment #17
radoya commentedHi!
I saw that patch#14 is included in latest 6.x-2.0-beta2, but I am not sure how to figure it.
When I try to edit "Example: Authenticated Users create only 1 page" rule there is no event to "check a published node limit". Only "check a node limit" is available.
Did I miss something?
Sorry if my question has no sense :D
Comment #18
user654 commented.