Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-06T05:57:17-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6330 2011-05-06T05:57:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6330&p=14235#p14235 <![CDATA[Re: Client Portal And Custom Capabilities...]]> Statistics: Posted by wesleysoccer — May 6th, 2011, 5:57 am


]]>
2011-05-05T19:30:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6330&p=14222#p14222 <![CDATA[Re: Client Portal And Custom Capabilities...]]>

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.

Statistics: Posted by Cristián Lávaque — May 5th, 2011, 7:30 pm


]]>
2011-05-05T18:21:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6330&p=14216#p14216 <![CDATA[Client Portal And Custom Capabilities...]]>
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

Statistics: Posted by pbcunningham — May 5th, 2011, 6:21 pm


]]>