Hello,
This is a great module, however what it lacks is an integration with some shopping system. Do you think you will bring that in the future or should I rather ask the Ubercart guys about that?
Thanks!
Martin
Hello,
This is a great module, however what it lacks is an integration with some shopping system. Do you think you will bring that in the future or should I rather ask the Ubercart guys about that?
Thanks!
Martin
Comments
Comment #1
davedelong commentedWhat sort of limitations could you do in Übercart? I've never used it (never had the need to), so I'm not sure how it works. If they integrate with the node system at all, then it can be done. Once I get the API finalized (which it mostly is - Organic Groups are proving difficult), then you're free to create a node_limit_ubercart submodule that implements the correct hooks.
Dave
Comment #2
arski commentedHi Dave,
Thanks for the quick answer. I guess I haven't specified my problem really well: I want to be able to sell the creation of nodes (i.e. allow users to increase their limits on a specific node for money). So what would be required here is to plug Node Limit into Ubercart or so.. Will that be possible with the API as well?
Thanks again,
Martin
Comment #3
davedelong commentedThere is a hook I'll be providing the next time I commit called hook_node_limit_save. As long as you can give it a properly constructed limitation array, then you can do anything you want. Without a doubt it would require custom code. However, it shouldn't be too hard. Just tap into the sale validation process and either update or create a new node_limit based on the submitted data.
Like I said, I have no experience with Übercart. Feel free to submit a patch. =)
Dave
Comment #4
arski commentedHehe, great! There is an Ubercart extension already that gives the buyer access to a certain node.. I'm sure increasing the node creation limit can't be any harder than that :)
Martin
Comment #5
davedelong commentedComment #6
MGParisi commentedHow about user points. Then people can buy points which will unlock more nodes. This would also allow advanced features like earning more access, etc...
Comment #7
duaelfrI think this exceed the primary purpose of node_limit.
It seems you could use User Points and Rules to obtain the features you are talking about.
Please give us some feedback if you try to.
Comment #8
duaelfrCf #7