I've been muddling through using your node access tool for a bit now and I'm coming to the conclusion that it would be faster to just pay you to sit on Skype and help me configure it. Would you be interested?
I've been muddling through using your node access tool for a bit now and I'm coming to the conclusion that it would be faster to just pay you to sit on Skype and help me configure it. Would you be interested?
Comments
Comment #1
danielb commentedNot really, you can ask me anything here - chances are if you need to know others will benefit as well.
Comment #2
bogdog400 commentedI need a basic punch list spelling out how to configure the module and the other modules and I'm happy to help write this up if it helps.
For instance, if I want to sell nodes should I set the data to be sold in a separate type of node or should I make it a product in and of itself? Right now I've got the nodes for sale set up as basic stories and there's a matching product for each story that's supposed to unlock it. But do I need another module to block off access to the stories in general? Or do I just block off all "access to content" from the permissions page.
I realize this is all a bit trivial, but it would be helpful to spell all of this out.
Thanks for all of your hard work. It's a big help.
Comment #3
danielb commentedYou've pretty much worked it out. The data nodes you sell are not the node access products, but some other nodes that you've used a nodeaccess module (such as this http://drupal.org/project/nodeaccess) to disable the default access to. Obviously the people need to be able to access the products in order to pay for them. Don't use the permissions page as that is outside the realm of node access, and this module will not be able to override that - you have to use a node access module.
Comment #4
bogdog400 commentedThanks very much. I hate to be so literal, but it's easy to get this wrong. Now the module is allowing access to all stories when I purchase one. When I created the product I only pointed it to one story, but completing the purchase opens up all of the stories on the front page.
Comment #5
bogdog400 commentedHow about a trade? You spend a few minutes on skype with me poking at my installation and I'll write up a page of documentation suggesting the best way to use this module.
Comment #6
danielb commentedWe need to look into this more, either that is a bug or a bad configuration somewhere. Have you done that whole node access rebuild thing?
Mate I've never used skype, nor do I like to make phone calls, even to my mother. I will unable to help you that way.
Comment #7
bogdog400 commentedI've rebuilt the nodes multiple times-- several times, in fact, during the installation and testing process.
Here's a weird detail: each product is displayed once to the admin account but twice to the fake test user's account.
Would you be willing to test things if I give you an admin account and a user account? I'm hoping you could see some misconfiguration problems immediately.
Comment #8
danielb commentedDisplayed how/where ?
Can you tell me exactly how you have configured the product?
What did you use to disable access for the users that haven't purchased the items?
Could caching be interfering?
Comment #9
bogdog400 commentedThe products listing appears as a navigation menu item when I installed ecommerce. When I click on it, it shows each product twice in the user test account but correctly (only once) in the admin account.
I'm using the nodeaccess module to give individual grants to nodes and the generic permissions to block access. Which module is recommended?
Comment #10
danielb commentedThat doesn't sound right! Permissions and node access are two different things. If they don't have the permissions they will never get the access.
So all the purchasable nodes have individual grants to someone? When a user has not purchased -they don't see it?
The fact that it's the products themselves appearing twice, not the data nodes people are buying suggests you may have confused the two at some point during configuration.
There is also the possibility that the menu does not correctly reflect node access due to caching. Perhaps just make yourself a list of links to the nodes and try to click them and see what happens. Ultimately a reliable way to 'list products' is using the Views module - it tends to respect node access when pulling up listings.
Comment #11
bogdog400 commentedSo which module should I use to block access?
Comment #12
danielb commentedWell that depends on your purposes, as long as it is a module that works on nodeaccess it should be fine. The thing about nodeaccess is you don't block access with it, you grant access with it. You have to grant somebody the access (author/admin) and it will automatically deny access to others.
Comment #13
bogdog400 commentedI hate to be really stupid, but what are my options? Can you name one or two? Thanks for dealing with my incredible denosity.
Comment #14
danielb commentedthis one is good for restricting access for all nodes in a content type to a certain user role: http://drupal.org/project/nodeaccess
this one is good for restricting by taxonomy instead of content type: http://drupal.org/project/tac_lite
I've also made one based on the cck user reference field in a particular node, one where you have access to nodes if you type in a secret password into your user account, and one that gives you access to a node if that node references a node you have access to. Those are probably way too specific to be useful for you though.
Comment #15
danielb commented