PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Allow user to select custom capability at registration

s2Member Plugin. A Membership plugin for WordPress®.

Allow user to select custom capability at registration

Postby nathardwick » October 30th, 2011, 1:07 pm

For each of our memebrship types we also have two distinct 'schools' that the member can join - for which we're using custom capabilities. Is it possible to add a drop down to each registration form for the user to choose which 'school' they join?

Thanks,
Nathan
User avatar
nathardwick
Registered User
Registered User
 
Posts: 25
Joined: August 8, 2010

Re: Allow user to select custom capability at registration

Postby stebesplace » October 30th, 2011, 3:56 pm

Nathan,

I posted a question that sort of hovers around this idea. Are you associating a registration field, and a custom capability entry so that a user who is part of a particular school, would have access to a specific page?

Assuming you'd be able to have the dropdown (which someone else will have to answer), how are you making the link between the school, and the specific page? I may be making too many assumptions here. Thanks!
User avatar
stebesplace
Registered User
Registered User
 
Posts: 11
Joined: October 30, 2011
Location: Oakland, CA

Re: Allow user to select custom capability at registration

Postby cassel » October 30th, 2011, 8:53 pm

Instead of a drop down, could you simply use two buttons, one for each course?
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Allow user to select custom capability at registration

Postby Bruce C » October 30th, 2011, 9:11 pm

To answer your question,

no, custom capabilities are created during checkout. To do what you want to do, you'll have to create a custom field, and use that as a custom capability (it really doesn't work that differentently.)

stebesplace and I worked on something similar in this post:

viewtopic.php?f=4&t=15715
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Allow user to select custom capability at registration

Postby nathardwick » October 31st, 2011, 3:23 am

Awesome... that's exactly what I was looking for..! Much appreciated...

I'm assuming that membership levels are created in the same way? Or can I implement one registration page with the ability for users to select their required membership level from a drop-down menu?

Thanks,
N
User avatar
nathardwick
Registered User
Registered User
 
Posts: 25
Joined: August 8, 2010

Re: Allow user to select custom capability at registration

Postby Bruce C » October 31st, 2011, 10:36 am

Hi nathan,

Could you clarify?

Are you talking about creating a dropdown to change the Buttons, or do you want to allow multiple levels to be accessed for free?
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron