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™

Dynamically Create Pages with Specific Access

s2Member Plugin. A Membership plugin for WordPress®.

Dynamically Create Pages with Specific Access

Postby nodrugads » May 27th, 2010, 6:24 pm

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.
User avatar
nodrugads
Registered User
Registered User
 
Posts: 3
Joined: May 27, 2010

Re: Dynamically Create Pages with Specific Access

Postby Jason Caldwell » June 23rd, 2010, 11:00 pm

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.
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron