• Hi Guys,

    Been an S2Member pro user for a while and I’m working on a new site where I’ll need to have the ability to change ccaps from a dropdown on a custom field in the sign up form.

    The premise is simple, user signs up. Picks whether they’re Red or Blue from a dropdown and this adds the ccap ‘red’ or ‘blue’ depending on which one they’ve selected.

    Let’s say they picked red – I’ll then get an email handled by the API/Payment Notifications telling me I have to send out a red box and they’ll get access to red posts on the site.

    However, 3 months down the line, the customer decides they want to be a blue member. They change red to blue on the dropdown in their profile and it changes the ccaps automatically so they can now access blue posts on the site instead of red. Then when the payment fires again, the email will let me know they’re a blue member and i’ll send a blue box out.

    I’ve had a look at the old forums and the new ones on here but I’m a little confused as to whether it’s a really easy thing to implement, or a really hard.

    Do I need to do the following?

    Edit the pro forms to include the ccaps dropdown in there?

    or

    Create a cron job that runs to update a users profile and remove/add the old/new ccaps?

    https://wordpress.org/plugins/s2member/

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

The topic ‘Add CCaps from custom fields automatically’ is closed to new replies.