Page 1 of 1

Group membership

PostPosted: July 19th, 2011, 11:51 am
by ZebEl
Is it possibe to create a group membership instead of user membership?

I have created a custom field representing groups and assigned wp users to these groups through Role Scoper. If possible, how can I establish such group membership?

/Zeb

Re: Group membership

PostPosted: July 20th, 2011, 12:15 am
by Cristián Lávaque
Hi Zeb. I'm not sure I understand what you want. Could you please explain a little more what you're trying to achieve? Thanks. :)

Re: Group membership

PostPosted: July 20th, 2011, 9:45 am
by ZebEl
Thanks for your reply Cristián :)

Here is the use case:

I have registered a user representing a school class which is considered to pay for my services. I have created custom fields representing information about the class (So far, this function is supported by s2Member which handles the class as a user and member).

It is obvious that there are also students in the class who are registered as wp users too. I'm intended to make it possible for the students to have access to the services through the class membership, when the parent account (the class) is an eligible member and has paid for the class membership. It is considered that the students Inherit same access rights as the parent (the class).

It is not pactical for this kind of services to let each student pay small fee for individual usage and therefore it should be handled in a group. It is therefore essential to implement such group membership if there is any possibility.

However, As far as I've undestood the features, s2Member prevents access if several users trying to use the same account. The question is if I can configure a group membership in s2Member through assigning several users to another member (class) or a group, for instans, through a feature or in combination with plugins such as Role Scoper or BuddyPress?

I hope that I make myself undestood this time :)

Re: Group membership

PostPosted: July 20th, 2011, 9:38 pm
by Cristián Lávaque
I think I understood what you want. Watch this video and see if it helps you get an idea of how to achieve that: http://www.s2member.com/free-registrati ... nts-video/

Re: Group membership

PostPosted: July 21st, 2011, 5:24 pm
by ZebEl
Thanks Cristián :) ,

It seems that my problem could be solved the way suggested in the video attached to your reply. There is only a question remaining. What happens when the payeing member cancels the account or renews the membership. It seems that I have to go through the same procedure again or manually cancel the accounts related to that member for each of the associated users. Is it so?

However, it could be a challenge for me but I'll try to see if it works. Meanwhile, if there are similar feature requests, I appreciate if you also consider group membership feature to make s2Member much more powerful.

Thank you!

Re: Group membership

PostPosted: July 21st, 2011, 10:39 pm
by Cristián Lávaque
Yeah, looks like you will need to demote the guest accounts manually if the parent one is.

In the users list you can tick the account and change their role in bulk, and the Screen Options tab lets you change the number of users listed per page. WP Admin -> Users

Here's a screenshot of the page viewtopic.php?f=4&t=10041&hilit=+screen+options#p20190

I hope that helps. :)