latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Separating capabilities and membership plans

Home Forums Community Forum Separating capabilities and membership plans

This topic contains 6 replies, has 4 voices. Last updated by  Raam Dev 4 years, 3 months ago.

Topic Author Topic
Posted: Friday Sep 14th, 2012 at 11:26 am #25310

I watched the video tutorial about using custom capabilities. I like the approach, in principle, but have a few questions.

Let’s say I want to give access to members-only material, with the custom capability “M.O.M.” .

1) When a subscription expires, a member is switched to membership role S0. Are their custom capabilities changed, or would they still have that M.O.M. capability? Can I depend on expiration to change their access?

2) The tutorial suggested using a minimal number of roles – make all members S1 and give them custom capabilities as they purchase. I need to be able to see who bought what subscription plan. It’s necessary to understand sales, to provide customer support, and because there are membership plan benefits that I can’t automate. The way I’m doing it now is for one plan to buy S2, another to buy S3, etc. Is there another way to save and retrieve what plan a person bought?

3) Is there a way to use custom capabilities in Restriction Options? e.g. the /forum URI requires the M.O.M. capability? It looks like no, just want to confirm.

Thank you.

List Of Topic Replies

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Saturday Sep 15th, 2012 at 6:47 am #25400

Hi Clayton.

1) When a subscription expires, a member is switched to membership role S0. Are their custom capabilities changed, or would they still have that M.O.M. capability? Can I depend on expiration to change their access?

Demotion on EOT also removes all custom capabilities. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

Is there another way to save and retrieve what plan a person bought?

In the user’s profile you can see all the custom capabilities he has. What do you mean by “saving”?

3) Is there a way to use custom capabilities in Restriction Options? e.g. the /forum URI requires the M.O.M. capability? It looks like no, just want to confirm.

No, not yet.


I hope that helps. Please let us know if you have other questions. :)

Posted: Monday Sep 17th, 2012 at 8:42 am #25565

That does help, thank you.

>> Is there another way to save and retrieve what plan a person bought?
> In the user’s profile you can see all the custom capabilities he has. What do you mean by “saving”?

How can I preserve information about what subscription plan a customer purchased? When a customer calls for support, I need to know what plan they purchased.

If I make one membership level per subscription plan it’s obvious: the membership level tells me what they purchased. The downside is then I have S1, S2, … S20 … S50 roles. How can I use one role plus custom capabilities, and immediately identify what plan a user purchased?

Posted: Tuesday Sep 18th, 2012 at 1:44 am #25662

How can I use one role plus custom capabilities, and immediately identify what plan a user purchased?

In the user’s profile there’s a field for his custom capabilities.

Posted: Tuesday Sep 18th, 2012 at 11:38 am #25698

I don’t understand what you’re suggesting.

I want a user to be marked as “PURCHASED XYZ LEVEL MEMBERSHIP”, in a place I can see it immediately if they call. This is about saving order history.

Custom capabilities are about permissions. You’ve also said the capabilities will automatically be removed when the subscription expires, so that information is lost.

How can I save this piece of information automatically, as part of the purchase process, and find it immediately if they call? How could I select all “PURCHASED XYZ LEVEL” users with SQL? ( That is, auditing PayPal transactions one user at a time is not a workable solution.) Is it stored in wp_user_meta somewhere?

Thank you.

Posted: Tuesday Sep 18th, 2012 at 3:07 pm #25724

If you use a user list plugin, like amr-users, you can set up a user list that includes the custom capabilities that you are trying to track.

Otherwise, you can extend the WP_List_Table class so that it outputs what you want.

Posted: Wednesday Sep 19th, 2012 at 6:25 am #25760
Raam Dev
Username: Raam
Staff Member

Clayton,

You can use Signup Notifications (Dashboard -› s2Member® -› API / Notifications -› Signup Notifications) to send yourself an email with all the details about their signup (including their Level and Custom Capabilities using the %%item_number%% replacement code).

You might want to send the notifications to a GMail address so you can use their great search capabilities to find exactly what you’re looking for when someone calls in.

Viewing 6 replies - 1 through 6 (of 6 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.