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™

Interesting Question -- Return Page Variables

s2Member Plugin. A Membership plugin for WordPress®.

Interesting Question -- Return Page Variables

Postby einstein101 » December 23rd, 2011, 2:43 pm

After Paypal Pro checkout, how do you get someone to return to a specific page in wordpress and show the variables for that customer on a new wordpress page?

Example:
%%user_first_name%%
%%user_last_name%%
%%Address%%

How do you make this information show on a page? Thanks so much!
User avatar
einstein101
Registered User
Registered User
 
Posts: 8
Joined: December 23, 2011

Re: Interesting Question -- Return Page Variables

Postby Eduan » December 23rd, 2011, 3:03 pm

Hi,
you can look under WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants, I believe you will find everything there, it's in shortcode and PHP format, if you want it in PHP format you will need the Exec-PHP plugin for WordPress.
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: Interesting Question -- Return Page Variables

Postby einstein101 » December 26th, 2011, 1:23 pm

Thanks so much for your help. Is there a way to display the password on a page as well (unencrypted) like it shows in the email when using %%pass%%?

I tried [s2Get user_field="user_pass" /] but it shows encrypted version. I know it's a security issue, but, can it be done?
User avatar
einstein101
Registered User
Registered User
 
Posts: 8
Joined: December 23, 2011

Re: Interesting Question -- Return Page Variables

Postby Eduan » December 26th, 2011, 1:27 pm

I'm not sure it can be done, for the security reasons.
Maybe you can put a script that un-encrypts it before showing it up though. But it's going to be very difficult to un-encrypt it, especially if it's a high level encryption.
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: Interesting Question -- Return Page Variables

Postby Cristián Lávaque » December 27th, 2011, 5:25 am

I don't think it can be unencrytped.

You may want to Google this, because others probably pondered the same question. It's not really an s2Member question, this is how WordPress handles the passwords.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Interesting Question -- Return Page Variables

Postby einstein101 » December 27th, 2011, 12:33 pm

Thank you very much for your responses!
User avatar
einstein101
Registered User
Registered User
 
Posts: 8
Joined: December 23, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

cron