5 replies [Last post]
specmav's picture
Offline
Joined: 01/06/2008
Juice: 32

Maybe this can be accomplished, but I havent seen a way to do this.

I have organic groups and ubercart running on my site. I would like to be able to have find a way to set up a method to charge money for joining a group. Granted most users would simply create a group as normal and do whatever they wanted. Those groups would be open to the public and free, but I would like to create "Premium" groups. Where either the user or the admin would enter that this is a non-free group and the amount due. The listing would show in the shopping cart and normal checkout would follow.

Would there be a way to do this (charge for joining group) with or without Ubercart (better if Ubercart).

Thanks!

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Ubercart and Organic Groups

Yeah, you can set Organic Groups to be visible only to users of certain roles. And with the uc_roles module in Übercart, you can create products which grant users a certain role.

I think from there you'd want to create a node type called "group" (or whatever you wanted but this one is found automatically) and enable Access Control in your OG config menu. Then you can enable access control for the "premium" user role to "edit own group content" etc etc.

Is this kind of what you wanted? Hopefully you'll be able to find your way - I haven't played with OG much but am doing so relatively soon for our new site.

--
Help directly fund development: Donate via PayPal!

specmav's picture
Offline
Joined: 01/06/2008
Juice: 32
Re: Re: Ubercart and Organic Groups

What I would ideally like:

1. Assign a group of users to a role, say "moderator"
2. Allow "moderator" to create group, set it so regular users have to pay a fee
3. moderator sets fee
4. users pay fee to access only the group that they requested. All other fee-based groups are still non-accessible.

I don't think the roles method would work all that well, it would make all "premium" groups accessible with only one payment. When I would like to see user buys access to only one group (in this case one node).

I think a better way to look at it would be how moodle handles enrollments. the moodle student pays to enter a class, but all other classes are still not accessible.

Would the pay per node module help with this?

Thanks!

jblank's picture
Offline
Joined: 08/25/2008
Juice: 56
Re: Re: Re: Ubercart and Organic Groups

Did you ever come up with a solution for this? We are looking to do something similar.

yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Me too! The best I can come

Me too!

The best I can come up with is a different role for each product which would map 1-1 to an organic group. But that seems icky, makes for a really long roles page.

yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: Me too! The best I can come