Page 1 of 1

Dynamically Create Pages with Specific Access

PostPosted: May 27th, 2010, 6:24 pm
by nodrugads
I am in need of a way to automatically create a new page for each member upon signup. I want each new member to have exclusive access to their page and all the other member pages to be hidden. Ideally the page would have their profile information and a spot for comments to be exchanged between an admin and the user only. I am hoping s2Member can help do this somehow.

Re: Dynamically Create Pages with Specific Access

PostPosted: June 23rd, 2010, 11:00 pm
by Jason Caldwell
I can get you half way there.
Go to s2Member -> General Options -> Login Welcome Page.

Now, use the Special Redirection Option, and put in something like this:
Code: Select all
http://yoursite.com/members/%%current_user_login%%/

This will redirect users to their account page after login, and that Special Redirection will become:
Code: Select all
http://yoursite.com/members/johndoe22/

You'll need a theme that understands those /members/username/ URLs
and renders a unique page for each Member.