UC Node Access

Contrib type: 
Module
Status: 
Complete and working
Compatibility: 
Ubercart 1.x

UC Node Access lets you attach Node access features to products in your Ubercart store. These features allow customers who purchase the product to receive view access to nodes on your site either indefinitely or for a limited time based on the feature's settings. UC Node Access does not handle access grants itself but rather depends on other modules to define handlers that integrate UC Node Access with the various node access modules developed for Drupal.

Currently integrated node access modules include:

  • ACL + Content Access - adds the customer's user account to the ACL defined by Content Access and adds expiration information beside the names in the Grant view access fieldset of the Access control tab for nodes governed by Content Access.

Refer to the project page on drupal.org for more information about the project, to post bug reports or patches, and to download releases packaged from Drupal CVS. An official release will be created for this module once its been tested for feature completeness.

There is sometimes a lag time between when code gets committed and when Drupal packages it up, so CVS users can download the latest code directly from the DRUPAL-5 branch.

Re: UC Node Access

Could it be ported to Drupal 6? Thank you!

Module Help

So I installed the module, with ACL and Content Access, however when I try to add the Node Access feature on a product, I keep getting the following error message:

The node access handler is either not specified or missing. Node access features can be added to products but cannot be processed until this is resolved.

I don't know know how to resolve this. Can any one provide some help? Is there any documentation on how to use this module properly?

Re: Module Help

Can you check out the settings in your product feature settings to make sure you've got a node access handler selected?

Fix It

Thanks for the input, I'm not sure what I was thinking. I didn't see any documentation on needing to set anything in the product feature settings. Thanks, I didn't even know that setting was there.

-Phil

Node access not granting access to node

I'm trying to grant access to some flash videos that I've created. I've got the videos working correctly. I've installed the ACL, Content-Access, and uc_node_access modules and enabled them. There are two nodes that have to have access granted. There is the video itself, then there is the page with the player in it. I've added both nodes to a product both with and without an expiration. I've tested purchasing the product and the permissions never get added to the node to allow my test user to access the node. I don't know what I'm missing. Is there a permission necessary that I've missed? I've used the role assignment feature and that works as expected. I'd really like to be able to grant a user specifically for a node rather than having to create a role for every video that I want to grant access to. I'm using Drupal 5.16 and Ubercart 1.7. Not sure what I'm doing wrong.

Not working.

Hi

I can't get this to work at all. I have the default View options for the node I want to give access to so that nobody can view it. I am providing node access on purchase of the product, but access is not granted.

I've rebuilt permissions, no effect.

Any ideas?

Thanks

Glenn

--UPDATE--

Fixed. I'm a moron. Access was freely available to these nodes once the order had been updated to payment received.....

Glenn

Documentation Available?

Just wondering if there is any documentation available for this module. I've got a project that this would be a perfect match for, but I couldn't quite figure out how to use it. : (

PS: Thanks to everyone that helped build the Ubercart core and contribs! The company I work for has a customer that wants every application of Ubercart imaginable, from selling software to courses to site access to physical products and we're nearing the site's launch. We couldn't have done it without you guys!

sidebar Block view

Terrific 2.x module- thank you. Having tweaked the delay period to 0 (when will this be committed to the module?) I found that it was not obvious to the user how he then got to this premium content he had just bought - so
I created a sidebar Block view with

Fields
Node: Title (linked to node)

Filters
Node: Type = Premium
Node access: Access

This does not normally show up but as soon as you buy content it magically appears. Hope this is of value to others. (maybe worth adding to the module?)