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™

Stand alone profile page redirects to page_id=0 after saving

s2Member Plugin. A Membership plugin for WordPress®.

Stand alone profile page redirects to page_id=0 after saving

Postby tugboss » February 13th, 2011, 8:55 pm

I have the stand alone profile modification page embedded into a page using iframe. When users save changes to their profile..it saves successfully but then redirects to http://mysite.com/?page_id=0

How can I change where users are directed to after saving changes to their profile?

Thanks
Tim
User avatar
tugboss
Registered User
Registered User
 
Posts: 1
Joined: October 18, 2010

Re: Stand alone profile page redirects to page_id=0 after sa

Postby daveha » August 12th, 2011, 2:00 pm

I have the same issue, how do you change where the profile page is directed after update?
User avatar
daveha
Registered User
Registered User
 
Posts: 27
Joined: July 21, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby Bruce C » August 12th, 2011, 10:58 pm

The form automatically links to the Login Welcome Page.
If there is no page specified, it defaults to page_id=0.
I believe that's why you're getting that error.


Set the page your iframe is on for the Login Welcome Page, that should fix it.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby daveha » August 14th, 2011, 8:29 pm

I use a Special Redirection URL for the welcome page like the one below:

http://www.mydomain.com/membership%%current_user_level%%/

I dont wany the Stand alone profile page to redirect to page_id=0
User avatar
daveha
Registered User
Registered User
 
Posts: 27
Joined: July 21, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby Bruce C » August 14th, 2011, 9:21 pm

Oh. Okay I see now. Yes, that appears to be a glitch of some sort. It appears to be a problem with the code in that particular page. I'll try to contact a Mod about it.

In the meantime, try using one of the other options.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby daveha » August 14th, 2011, 9:38 pm

I really need a fix for this, is there a work around?
User avatar
daveha
Registered User
Registered User
 
Posts: 27
Joined: July 21, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby Cristián Lávaque » August 15th, 2011, 4:33 pm

If the Special Redirection URL is used, then it shouldn't default to Page 0, I'll let Jason know about this.

In the meantime, what you could do is use a normal page for the Login Welcome Page instead of a URL with the replacement code, then have alternative content depending on the user's level using conditionals. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals -> Example #3

Code: Select all
[s2If current_user_is(s2member_level2)]
    Some premium content for Level 2 Members.
[/s2If]

[s2If current_user_is(s2member_level1)]
    Some premium content for Level 1 Members.
[/s2If]

[s2If current_user_is(s2member_level0)]
    Some content for Free Subscribers.
[/s2If]


I hope that helps.
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: Stand alone profile page redirects to page_id=0 after sa

Postby daveha » August 15th, 2011, 5:53 pm

Thank you for the reply: not ideal as it will create allot of work for me to implement as temp measure. I would rather the software function correctly inline with the way it is currently configured using the Redirection URL.

How long until you release the next version with the fix?
User avatar
daveha
Registered User
Registered User
 
Posts: 27
Joined: July 21, 2011

Re: Stand alone profile page redirects to page_id=0 after sa

Postby Jason Caldwell » August 15th, 2011, 8:14 pm

Thanks for bringing this thread to my attention.
I've just had this corrected, and the new release with this fix should go out in the next day or so.
~ 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: Stand alone profile page redirects to page_id=0 after sa

Postby daveha » August 16th, 2011, 10:13 am

that's great thank you
User avatar
daveha
Registered User
Registered User
 
Posts: 27
Joined: July 21, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests

cron