tags:

views:

42

answers:

2

I was considering using drupal to solve this problem, but not sure if it can be done with drupal.

I'm trying to implement access to content through points.

  • If the user does not have sufficient points, they should not be able to access the content
  • and as they access content, points get removed from their existing points

Can this be done with drupal?

A: 

This sounds to me like simple access restriction that could be accomplished by using php/mysql to store user information, authenticate users and restrict access to the content based on how many points/credits they have left.

let the users log in, then when the user accesses the page query their account to see if they have any points left, if so then display the content and update their account to deduct points. One thing to think about with this though is some way to keep it from charging them multiple times for the same page.. They might get mad if they do something like refresh the page a couple times and get charged repeatedly :D

If on the other hand you also need a CMS to manage your content, it could get a little more difficult. I don't know of any that handle something like this.. You might end up writing a plugin or modifying the code by hand.

Kelly Copley
+2  A: 

This module is still in development, but it looks like the answer to your question: Userpoints Node Access. Maybe you can help the developer test and improve the module.

marcvangend
By the way, if you decide to give this module a try, I'd like to hear how it works for you.
marcvangend
@marcvangend Are you one of the developers/maintainers?
Kamo
No, sorry, I'm not.
marcvangend