WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
Custom fields for different membership levels - please suggest a reg (11 posts)

  1. Caps
    Blocked
    Posted 1 year ago #

    If a membership level requires that the registration process ask for specified data like "gender," or "birthplace" which registration form or form plugin do you suggest?

    Thank you in advance,

    Caps

    http://wordpress.org/extend/plugins/paid-memberships-pro/

  2. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    To integrate with PMPro during registration, you would have to custom code it. Example here:
    https://gist.github.com/1389944

    If you change your workflow where people (1) sign up for a WP account --> (2) choose a PMPro level to checkout once signed in, you would be able to use other plugins to change the #1 signup form there.

    I don't have direct experience with any current plugin for doing this, but some people have used the User Meta plugin: (has a pro version as well I believe)
    http://wordpress.org/extend/plugins/user-meta/

    I think at some point, we may develop a plugin of our own to work alongside PMPro to add an easy GUI interface for adding fields to checkout. No timeline for that yet though. Just a dream ;)

  3. izzaboo
    Member
    Posted 1 year ago #

    Looking at using this on an existing site. Was not entirely enthused about altering registration process. But I'm not seeing where I can choose between signing up for WP account and signing up via PMPro's checkout.

    Feeling slightly stoopider than usual.

    Please advise?

  4. RonDsy
    Blocked
    Posted 1 year ago #

    Izzaboo,

    Using both WP account entry screen and PMP would be redundant. Most memberships integrate the WP user data into its plugin UI via the WP API.

    The entire idea of having a membership plugin is to be able to get away from the vanilla WP routines and look (site registration and login) while being able to brand the site.

  5. izzaboo
    Member
    Posted 1 year ago #

    Hi RonDsy,

    Thanks for your reply!

    Yes, in a lot of ways it is redundant.

    I was looking for a quick way to have additional fields, when registering, specific to the site's purpose. I was able to utilize a couple other plugins and have login/registration on a particular, non-PMP, page with the necessary form fields, but there are still various loose ends that move unregistered users towards the PMP registration process.

    Having thought things through a little more, members will be able to opt out of certain features so it works to have registration go through PMP, with a FREE membership level, and have an additional set of forms restricted to various levels of membership asking for this specialized info I need.

    The next trick will be to have the members' profiles searchable (an opt-in feature) on the front end by other members using this specific data I collect.

  6. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    Izzaboo, I think you got the right idea. PMPro takes over WP's default registration page. You can add a Free membership level to allow people to sign up "without a membership level" (they will really have the free level).

    There are ways to re-enable the WP registration page as well. We have some of that documented at http://www.paidmembershipspro.com.

  7. izzaboo
    Member
    Posted 1 year ago #

    I'll look through the docs some more. Thank you!

    It looks like PMPro really does try to mostly separate itself from the WP login/registration. e.g. many of the meta-key entries BMPro creates.

    I see that, among other benefits, this allows for a user to be created without forcing a record in the PMPro tables which is a good thing, I suppose.

    But I'm finding a little inconsistency with the membership_id being stored in wp_pmpro_memberships_users and not as a meta-key. Yet it is only changed via the WP user profile? This might be a little off-topic, I only mention it because it seems to add a step when querying the other meta-key data on users. And other PMPro data can't be added/edited in the WP profile page (e.g. Billing Address)?

    It's late, and been a long day, and my head's a little cloudy, so maybe I'm missing something. Please don't take this as anything but honest curiosity about your terrific plugin!

  8. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    So as a general disclaimer, PMPro has been developed over many years, over many versions of WordPress, and with a focus on getting things done vs. reworking things that aren't broken.

    So if you ever wonder, "why is it coded this way", it's possible that it isn't actually well thought out (with respect to the current version of WordPress and state of PMPro as a whole) and just happened to be a good idea at the time. :)

    Still it's okay to bring up these questions.

    Specifically RE the user values stored in user meta. We store the billing information there so we can auto populate it later if the user checks out for another level. That was the original intent.

    Per current standards, that data should probably be stored in one meta value as an associative array. (So should the other PMPro settings values.) I may change this at some point.

    So if you view those meta values as just for auto-complete, you see why they aren't on the profile page to change. Users can change their billing information via the /membership-account/membership-billing/ page which will update these meta values and also ping the gateway to update their subscription and CC information.

    We chose to use a separate table to store the user-membership relationship so we could easily query it for reports and honestly to make sure that our plugin doesn't break if WP updates how they do user meta. A lot relies on that memberships_users table. We're currently reworking it to support multiple memberships, and all of that is more complicated if we have to map it to user meta queries and worry about changes to that API.

    Hope this helps you understand some of the decisions we made.

  9. RonDsy
    Blocked
    Posted 1 year ago #

    I created a post which was removed, I hope it was not offensive. The topic was about how PMP is more of a paid subscription plugin than membership - My apologies.

    Ron

  10. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    RonDsy, your original thread is here:
    http://wordpress.org/support/topic/plugin-user-meta-pmp-should-be-renamed-subscription-pro?replies=1

    I'll follow up there. Not offensive at all. I don't know why it seems to have been removed to you.

  11. RonDsy
    Blocked
    Posted 1 year ago #

    I see it now - thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic