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™

Conditions for Membership Billing Modification Pro Forms

s2Member Plugin. A Membership plugin for WordPress®.

Conditions for Membership Billing Modification Pro Forms

Postby ryanseo » November 4th, 2011, 2:09 pm

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
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: Conditions for Membership Billing Modification Pro Forms

Postby Eduan » November 4th, 2011, 2:53 pm

Have you tried WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals
?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Conditions for Membership Billing Modification Pro Forms

Postby ryanseo » November 4th, 2011, 3:37 pm

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!
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: Conditions for Membership Billing Modification Pro Forms

Postby Eduan » November 4th, 2011, 3:40 pm

Good! You're welcome!
Thanks for keeping me posted. ;)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Conditions for Membership Billing Modification Pro Forms

Postby rncpatel » November 13th, 2011, 7:48 pm

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!
User avatar
rncpatel
Registered User
Registered User
 
Posts: 1
Joined: November 11, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron