latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Register and Redirect to Previous Page

Home Forums Community Forum Register and Redirect to Previous Page

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 9 months ago.

Topic Author Topic
Posted: Thursday Mar 14th, 2013 at 7:40 pm #44659

If someone lands on a page with restricted content, how can they register for membership and immediately be redirected back to the page they were wishing to access?
Thanks!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Mar 18th, 2013 at 5:01 am #45036
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in response.

If someone lands on a page with restricted content, how can they register for membership and immediately be redirected back to the page they were wishing to access?

This is not something directly supported by s2Member, but you could possibly set something up for this to work. s2Member does pass the URL that the User was on previously to the Membership Options Page in the URL when they are redirected. These variables are called MOP Vars, and you can find info on using MOP Vars here:

Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)

If you’re using a custom page on success, you could possibly pass this variable via a custom attribute in your Pro Form, and have Users automatically be sent to this page when they log in the first time through some custom code.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.