Community Support Forums — WordPress® ( Users Helping Users ) — 2011-01-14T23:08:49-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1616 2011-01-14T23:08:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1616&p=5596#p5596 <![CDATA[Re: Correct logic here?]]>
nphaskins wrote:
Am I doing this the most efficient way possible?

*Edit* Actually in thinking no this isn't because the content is the same for the SUBSCRIBED user as it is for the PRO user.


So you mean Levels 0 and 1 should see the same content for that page? If that's the case, then current_user_can(access_s2member_level0) would be enough.

Statistics: Posted by Cristián Lávaque — January 14th, 2011, 11:08 pm


]]>
2011-01-13T18:32:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1616&p=5564#p5564 <![CDATA[Correct logic here?]]>
I have a general public, SUBSCRIBED (0) level and PRO (1) levels of subscription setup. When a SUBSCRIBED user tries to access a page that has a Page Level Restriction of Level #1 or higher or PRO set (in wordpress upper right hand corner), they are immediately sent to the standard signup page, asking for the full credentials as if they were a new user.

To prevent this I've taken off the Page Level Restriction, and have used Shortcodes (image attached) for the page marked for PRO users. Now, when a SUBSCRIBED user visits the page, it tells them that they need to upgraded to PRO. Great! My only problem, is that now the page is public and it's content is only protected with PHP shortcodes?

Is my logic and thinking correct on this? The only things on this site that are protected are pages. My main issues is, that page shouldn't even come up, but instead forward them to the signup page, but it also forwards the SUBSCRIPTION level users. I hope this makes sense.

Here is the page in question: (dont worry about SSL cert issues I haven't transferred over domain yet)
https://72.47.253.57/?page_id=57

The shortcodes in the post are attached as an image.

Am I doing this the most efficient way possible?

*Edit* Actually in thinking no this isn't because the content is the same for the SUBSCRIBED user as it is for the PRO user.

Statistics: Posted by nphaskins — January 13th, 2011, 6:32 pm


]]>