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™

Edit My Profile

s2Member Plugin. A Membership plugin for WordPress®.

Edit My Profile

Postby denvert » April 20th, 2011, 11:34 am

I'm using the pro widget and have a couple of quick questions regarding the "edit my profile" link.

1) Is there a way to turn off the pop-up window and have it go to the normal profile page? This setting in the general page "Redirect Members away from the Default Profile Panel?" isn't doing anything when I change the settings.

2) Also would like to edit the form if possible, it just says "New Password ( only if you want to change it )" and two lines below without prompt to put in password again.

thanks
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Edit My Profile

Postby Jason Caldwell » April 21st, 2011, 12:48 am

Thanks for the excellent questions.
denvert wrote:1) Is there a way to turn off the pop-up window and have it go to the normal profile page? This setting in the general page "Redirect Members away from the Default Profile Panel?" isn't doing anything when I change the settings.

Yes, in the Pro Login Widget under Appearance -> Widgets -> s2Member Pro Login Widget, you can take out the Replacement Code %%automatic%% and put in a custom URL of your own; which could point to the default WordPress Profile editing panel if you prefer.
SNAG-0023.jpg
SNAG-0023.jpg (17.28 KiB) Viewed 132 times

2) Also would like to edit the form if possible, it just says "New Password ( only if you want to change it )" and two lines below without prompt to put in password again.

Oh, I thought you didn't want to use the s2Member panel?
Which panel are you referring to?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Edit My Profile

Postby denvert » April 25th, 2011, 1:21 pm

I was assuming that I would have it not open in the pop up but just in the browser and the same text would show up. Does that make sense. I'm not sure what I would put in the "my-custom-profile-page" for them to edit the profile.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Edit My Profile

Postby Cristián Lávaque » April 25th, 2011, 3:47 pm

This may help: WP Admin -> s2Member -> API / Scripting -> Member Profile Modifications. :)
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: Edit My Profile

Postby Jason Caldwell » April 26th, 2011, 11:42 pm

Cristián Lávaque wrote:This may help: WP Admin -> s2Member -> API / Scripting -> Member Profile Modifications. :)

Yea, you'll create a new Page, and put this inside it.
[s2Member-Profile /]

That Shortcode generates a Profile Modification panel. So then, you can use the link to your Page, as your Profile Editing Page. This gives you complete control over things.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Edit My Profile

Postby toddz88 » May 12th, 2011, 2:53 pm

Using that shortcode places the Member Profile edit panel on my page, but then how can we control it's contents.. what appears in the profile edit panel (other than the settings that enable/disable/hide my custom registration fields)?

Looking at s2member/profile.inc.php, I do see several hooks available. Is that what you mean about having complete control? Can you give a simple example of how to use them, in this context.

My goal would be to HIDE all fields EXCEPT one of my Custom Registration Fields (a checkbox called "User Agreement"), to allow the member to simply accept the agreement (click the checkbox, and then the submit button), without being confronted with all the other fields that are not relevant to this page/task.

thanks! -todd
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron