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™

Client Portal And Custom Capabilities...

s2Member Plugin. A Membership plugin for WordPress®.

Client Portal And Custom Capabilities...

Postby pbcunningham » May 5th, 2011, 6:21 pm

Hi,

I am hoping to use s2Member to create a private clients area where they can view reports etc.

I have installed and configured the plugin following the videos etc however I have one problem which I am stumped on - unless I missed an important video!

My theme does not use an actual page for the homepage but it is customised from within the Wordpress admin panel from a theme settings section. I presume that this is writing certain variables into the index.php file. Due to this page being configured from the admin panel the reading settings in Wordpress are set to display the latest blog posts only.

Open registration has been turned on on the site and the login welcome page is set to send them to %%current_user_login%% as long as the page has been created therefore when a client logs in they will be directed automatically to their area.

All of this works fine at this point.....

I have a requirement that only the client logged in can see their page and that no-one else, logged in or not can see it.

I therefore configured the Require Custom Capabilities section on the page so that it matched the Custom Capabilities section on the user.

I then attempted to access this page whilst logged in as the user and could access it. I then logged in as a different user and could still access it. I then logged out and could still access it.

Therefore I tried to enforce the s2Member security restrictions and I had to configure a page within the Membership Options Page section. I have created a page called 'Restricted Content' so that if anyone tries to access a client area they are presented with this page.

The problem I have is that as soon as I configure the Membership Options Page and attempt to go to the homepage when not logged in I am redirected to the restricted content page.

Is there any thing I can do to resolve this so that only the logged in user can see this page and if you are logged in as a different user or not logged in at all you can't access it?

Thanks and regards,

Peter
User avatar
pbcunningham
Registered User
Registered User
 
Posts: 1
Joined: May 5, 2011

Re: Client Portal And Custom Capabilities...

Postby Cristián Lávaque » May 5th, 2011, 7:30 pm

Hello Peter. :)

I'm not fully sure I got what you're trying to achieve, but these videos may help you:

http://www.s2member.com/client-portals-video/
http://www.s2member.com/content-restric ... ble-video/

Let me know if 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: Client Portal And Custom Capabilities...

Postby wesleysoccer » May 6th, 2011, 5:57 am

Did you set your login welcome page inside of general options?
User avatar
wesleysoccer
Registered User
Registered User
 
Posts: 83
Joined: January 31, 2011


Return to s2Member Plugin

Who is online

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

cron