Closed (fixed)
Project:
Node Limit Number
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 May 2008 at 00:22 UTC
Updated:
7 Oct 2009 at 20:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
nachenko commentedSorry, I'm not working on this at this moment.
Of course any your help would be greatly appreciated.
I'm more interested in adding per-user limits feature. I think I'll add it someday this summer when I take on a big project this module was written for.
I also should add a hook to user page, so every user can see it's own limits in their user page.
If i port this to Drupal 6, it will be AFTER adding this feature.
Comment #2
ddyrr commentedI actually did a patch for this for Drupal 6, but was not able to create the install file. It was the first install file I had attempted for Drupal 6, and it just doesn't work. I ended up doing a hack and creating it by hand just so I could test it out on my new site, and everything else seems to work great. If someone else can do the install file, then we can put the two together.
Comment #3
meba commentedJust post the patch please and somebody will do the instlal file!
Thanks
Comment #4
jmaties commentedI subscribe
Comment #5
finex commentedI'm interested to the D6 port too.
Comment #6
daadmark commentedHi there, if all goes well we will have a developer starting shortly (1-2 weeks) with reasonable PHP and some Drupal experience. Among their tasks will be to assist in upgrading (if possible) certain modules we require before upgrading some sites to D6.
Can you provide any update on how the upgrade is going and possibly where our developer could assist.
The current modules we're looking to get upgraded are below in order of importance to us.
http://drupal.org/project/matrix
http://drupal.org/project/ad
http://drupal.org/project/node_limitnumber
http://drupal.org/project/remember_me
http://drupal.org/project/taxonomy_batch_operations
Obviously if things are going well and no assistance is required then that's great news.
Thanks
Comment #7
joachim commentedsubscribing.
ddyrr, could you post the patch or the your version of the updated module file? I can look at the install file as I need this module for D6.
Comment #8
ddyrr commentedI'm so sorry I didn't read this thread for all this time! I've been so busy, and never did get around to the install file. I've since learned how to do it, but don't have time, so I'll just upload what I have here. The module file itself works, but the other files need to be looked at and possibly updated (I know code, but don't really know how the Drupal community does things). :) Here ya go.
Comment #9
ddyrr commentedCorrection: I just realized there are a lot of other files in there. What I should probably say is that everything works except the install file. You need to either fix the install file, or install the table shown in the schema by hand. Yes, I did the first part, which was to do the hook_schema, but hasn't been tested since I didn't do the few lines that tell it to actually install. It should be pretty simple to finish it off.
Comment #10
Muskwa commentedCan anybody confirm #8 is working well or add the install pls?
Comment #11
netbear commentedTo install properly you need to add this code to node_limitnumber.INSTALL file
Comment #12
Rosamunda commentedsubscribing!
Comment #13
bomarmonk commentedA bit of a problem with the above code: user warning: Table 'programreview.node_limitnumber_rules' doesn't exist query: SELECT * FROM node_limitnumber_rules WHERE class = 'role' in /home/.muckl/mysite.org/sites/all/modules/node_limitnumber/node_limitnumber.inc on line 132.
Comment #14
bomarmonk commentedBy the way, this error happens when I access the page for the node limit settings in admin.
Comment #15
jcmarco commentedI found this module very interesting as it allows to manage quotes by role.
I have been fixing the installation and also made some coder clean up from #8.
It works fine with Drupal 6.9, and IMHO the maintainer could realease this version as 6.x-dev or also as 6.x-1.0-beta.
After that there could be some new features developed:
- customization of error message/redirection page when a limit is reached (with rules integration is not really needed)
- Leave some log about limit reached (same with rules)
- Integration with rules to trigger an event when the limit is reached in some user in order to take actions (as show a message/redirect to a page/send an email/change role..)
Comment #16
Rosamunda commentedGoing to test it... THANKS!!
Could an Organic Groups integration be possible?
For example: The user can create only one node of the forum type per organic group.
Or this can be achieved with rules?
Thanks again for your help with D6 version!!!
Comment #17
sokrplare commentedSubscribing!
Let us know how the test goes Rosamunda!
.:Joshua
::www.covenantdesign.com
Comment #18
reinholdlange commentedSubscribing - thank you!
Comment #19
Rosamunda commentedWorking like a charm for me!
Comment #20
Rosamunda commentedComment #21
mairav commentedJCMARCO, I installed your fixed version of this module for Drupal 6.9 (#15) and It's working really nice by now. The only problem I found is when i try to modify the limit of a created rule.
If I assigned a 5 node limit to any of my roles, and then I decide to change it for 4 nodes and press the Modify button it says: "Limit field is required.". It's like the module believes I'm trying the create a new rule instead of modifying and old one.
Sorry for my English, and really thanks for the fixes. I'll be expecting the new features.
Comment #22
jcmarco commented#mairav I have been checking your comments, and the module has a really messy form.
I fixed the update process and add a limit validation for creation but not for modification.
(the original field #validate functions are not working)
Comment #23
jdwfly commentedI just put #22 in my site and it works for me. Thanks
Comment #24
mairav commented#jcmarco thanks for the fixes, now I can modify the limit of nodes a role can create.
I really appreciate your work. I hope this can be added as a version for drupal 6.x
Comment #25
Rosamunda commentedMe too.
I´m still testing, and everything is going smooth so far!
Comment #26
Zoologico commentedSubscribing.
Comment #27
netentropy commentedtesting tonight will let yall know how it goes
can we get this committed as a developer version
Comment #28
nachenko commentedFor those that are looking for a D6 version of this module, check this:
http://drupal.org/project/node_limit
Written by davedelong. Hope it helps.
Comment #29
timpiche commentedThis module works very well under Drupal 6.12. I have tested it in all scenarios on my site.
Thank you for the port to D6!!
Comment #30
liliplanet commentedWonderful, thank you! Just to mention that there is a time-based limit for 5.-x at http://drupal.org/node/260055
Perhaps this can be included in 6.-x?
Comment #31
TapSkill commentedNode Limit doesn't allow each user to have their own limit. This module, Node Limitnumber, seems to offer such functionality. I have not tested it, mind you.
Comment #32
altparty commentedWe want each of our members to submit a maximum of 3 pictures in a photo competition. For this #22 appears to be the right solution. We hope this module will have a final D6 version soon.
Comment #33
jdwfly commentedI believe that the maintainer has given me cvs access to this module. I already set up a drupal 6 dev package and barring any bugs with that there will be a 1.0 release very soon.
Comment #34
mairav commented@jdwfly, I installed this version for a while, but due to the lack of support of the maintainer, I moved to node limit, but that module is not making any progress.
It would be great if you can include this features in the drupal 6 version.
- we can assign limits by role that can be applyed to each user of that role (each user can creat 5 nodes of certain type) or to the complete role ( the 5 node limit is between all the nodes created by the users that belong to that role), for example, making an "inclusive" checkbox that makes the second option work.
- we can assign limits by content type with the posibility of multiple content type selection, with an "inclusive" checkbox, so we can define if the specified limit is for each content type or shared by them.
- we can assign time frame limits, for example, create x nodes in one month.
- we can combine all of this limits in one, for example. I create a rule to limit my painters to create 5 nodes of news OR paintings (the inclusive checkbox unchecked) in one month.
- define if the more restrictive o permissive rule is applyed, or order the rules and that the order defines which rule wins.
- that we can define in a multilanguage site if the translations count as a node or not.
- that we can see somewhere (as admins or the user trying to create nodes) how many left nodes can a user create.
This is what I remember now that would be helpful, for me and for a lot of people that is waiting for some good module to limit nodes (as this was just for drupal 5 and node_limit is almost abandoned).
If you think you can make this, I offer myself to test it, and help you remove bugs. In that case please tell me which of this features you think you can make work, and how long would it take. You can contact me through the contact form.
Thanks for taking a drupal 6 version to make a release! (sorry for my english )
Comment #35
blueblade commentedHi All,
I am a little confused. Is the file submitted by jcmarco (Thread #22) working for Drupal 6? Please let me know.
Thanks.
BB
Comment #36
mairav commentedYes, it was working when I tried it last time. It had some problems, but as I understood, @jdwfly has gain cvs access and will launch and official drupal 6 release with bug fixes.
Comment #37
blueblade commentedThanks mairav =D thats a great news!! I hope the official version will be up soon. Do you have any ideas when?
Comment #38
00110000 commentedHello all and thanks for pointing me in this direction mairav.
I'd be glad to help test out in anyway possible, as I definitely need a module with this capability to administer on specific user roles.
Will be keeping a close eye on this.
Thank you.
Comment #39
blueblade commentedHi all,
Are you guys planning to add time interval for each limit for Node Limit Number for Drupal 6?
I personally think it makes more sense to maintain Node Limits module (http://drupal.org/project/node_limit) than node limitnumber module (http://drupal.org/project/node_limitnumber) because Node Limits does do a lot more than Node Limit Number and is actually working quite well even now. It just needs to be updated. What do you guys think?
BB
Comment #40
jdwfly commentedFrom what node_limit says on the project page it only does one more thing (per user limits) than this module. Not to mention the fact that it is no longer updated and I only have cvs access to this module.
I'll be working on new features, so keep the ideas coming. Someone should start a new issue with features requests instead of using this one.
Comment #41
blueblade commentedHi jdwfly,
There are at least two things we can't do with Node Limit Number: Limit by user and time interval for each limit; both are very useful. The second one is especially important for me because my site can't live without being able to set time interval for each limit.
The only problem I have with Node Limit module right now is that the list of limit I created does not sort well alphabetically (bugs?) and it makes my job difficult because I have a very long list for different user roles and content types. The other thing is that the list does not show all details of the limits we set; we have to go to each page or each limit to check for mistakes.
I like how Node Limit Number allows us to set limits without having to go to a different page every single time. It would be real great if it allow us to see the created list by User Roles, Content Types etc too in the future (for example: 'Show Limits or User Role XYZ only').
I hope you will include at those two functions mentioned above in the new Node Limit Number module, especially time interval. Thank you for your work!! =)
BB
Comment #42
mairav commentedHere is the Feature request for Drupal 6. You can add more there: http://drupal.org/node/586064
As jdwfly said, node_limit is not being mantained for month, and its creator its not answering the issues or mails through the contact form.