Page 1 of 1

All posts visible with WP 3.0 default theme

PostPosted: June 4th, 2010, 10:25 am
by ssteinerX
I've set up Membership Levels, and attempted to use both Post Access Restrictions and Tag Access Restrictions.

A specific post (named in Post Access Restrictions) and which has the only tag (used in Tag Access Restrictions) shows in its entirety to all comers -- the viewer is not logged in, much less at the proper membership level.

Anyone can see the post when viewing "all posts" on the template's main page or when I click on the post in the "Recent Posts" widget.

Clicking on the header of the post does bring me to the Membership Options page properly and, if I use the API (with exec-php installed), the login levels work as expected. I.E. a conditional for " if (is_user_logged_in() && current_user_can("access_s2member_level1")){" properly shows the enclosed content only if the user is logged in.

Does s2Member work with the WordPress 3.0 default theme, or are the hooks it uses to restrict content viewing not properly called by that theme (or is something else going on?)?

It seems like the state is properly set internally, but the theme just isn't respecting it for some reason.

Thanks,

ssteiner

Re: All posts visible with WP 3.0 default theme

PostPosted: June 5th, 2010, 7:33 pm
by ssteinerX
It's not just the default theme, I've tried a couple of others and they're not working either.

The Tuxedo theme from this site does appear to work properly. In fact, so far, it's the *only* one that works properly with respect to s2Member.

Is there some simple thing that a theme has to do to integrate properly with s2Member that these other themes are just not doing?

Any help would be appreciated -- if I knew what it was that was missing, I could just add it, but I'm completely in the dark at this point as to what's not being done properly in the themes I've tried.

S

Re: All posts visible with WP 3.0 default theme

PostPosted: June 23rd, 2010, 4:12 pm
by Jason Caldwell
Very sorry for my extremely delayed response to this question.
I can confirm that s2Member does NOT need a specific theme installed. There is nothing special required in your theme. I can also confirm that s2Member v3.0.6+ DOES work properly in WP 3.0, and that it works correctly with the default WordPress theme.

If you're still having trouble, please make sure that you've configured your Membership Options Page for s2Member, and also make sure that you're testing s2Member without other plugins running; which could be causing a conflict of some sort.

Please report back if you can. ~Thanks for your patience.