Page 1 of 1

Conditions for Membership Billing Modification Pro Forms

PostPosted: November 4th, 2011, 2:09 pm
by ryanseo
Hello,

I'm wondering the best way to lay out the conditionals based on the level of current user, I'm utilizing a membership listing site:

I'm doing it by roles because the way the posts are viewed are unique based upon the role of the author that created it.

Featured members get a full fledged post layout
Regular Members get a minimal version of the full fledged post layout
Basic Members get a barebones post listing template to work with

--

My question is I've made a page template for upgrading your membership but not sure how to structure the conditionals to show the right upgrade/downgrade options:

Seems like this is the way to go about it but there might be another solution easier to do:

Level 1 -> Upgrade 2/3
Level 2 -> Downgrade 1 / Upgrade 3
Level 3 -> Downgrade 2 / 3

Is there a way to populate these values into a dropdown box to select what they'd like to upgrade/downgrade to or is there another way to knock this out?

**Note: The pro forms I'm talking about are the actual billing modification forms that you go through paypal to update instead of regular account modification.

Thanks

Re: Conditions for Membership Billing Modification Pro Forms

PostPosted: November 4th, 2011, 2:53 pm
by Eduan
Have you tried WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals
?

Re: Conditions for Membership Billing Modification Pro Forms

PostPosted: November 4th, 2011, 3:37 pm
by ryanseo
Good eye Eduan, I have a good direction for moving forward with this and will keep you updated on how my progress goes. I had seen this section before and have watched Jason's videos on this topic, but suddenly realized something and came up with an idea to streamline it. Thanks bud!

I'll keep you posted!

Re: Conditions for Membership Billing Modification Pro Forms

PostPosted: November 4th, 2011, 3:40 pm
by Eduan
Good! You're welcome!
Thanks for keeping me posted. ;)

Re: Conditions for Membership Billing Modification Pro Forms

PostPosted: November 13th, 2011, 7:48 pm
by rncpatel
ryanseo wrote:Good eye Eduan, I have a good direction for moving forward with this and will keep you updated on how my progress goes. I had seen this section before and have watched Jason's videos on this topic, but suddenly realized something and came up with an idea to streamline it. Thanks bud!

I'll keep you posted!


Ryan, would you mind sharing your idea? I'm also trying to streamline my modification page.

Thanks!