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™

Alternative View Protection

s2Member Plugin. A Membership plugin for WordPress®.

Alternative View Protection

Postby drbyte » August 20th, 2011, 3:31 am

Hi Jason

Just noticed that the Alternative View Protection sometimes hangs. You have to reset it for whatever you need to protect. Resting it by choosing another option and save then choose the original option then save.


Updates

Everything seems OK but the search results.
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Alternative View Protection

Postby Jason Caldwell » August 20th, 2011, 4:27 pm

Thanks for reporting this Sam.
Are you running any caching plugins? Or anything that modifies WordPress search results, another plugin perhaps, one that stores its own cache of results maybe?
~ 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

Re: Alternative View Protection

Postby drbyte » August 20th, 2011, 9:44 pm

Hi Jason

Yes, we are running WP Super Cache and Search Tags Plugins. I have disabled both of them and cleared the browser cache when I was testing but the results are the same.

Are custom post types covered under the alternative view types?

Thank You
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Alternative View Protection

Postby Jason Caldwell » August 21st, 2011, 11:39 am

drbyte wrote:Are custom post types covered under the alternative view types?
Yes, Custom Post Types are covered by s2Member's Post Level Restrictions, based on Post ID; and therefore the Alternative View Protection is also good for Custom Post Types. However, Alternative View Protection for s2Member works along with the WP_Query class ( part of the WordPress core ). Some plugins make direct SQL queries instead of doing everything "the WP way", and as a result, queries performed by some plugins may not get covered by s2Member.

Have you tried this against a standard WP search ( i.e. /?s=search+term ), without the additional plugins? If it still happens then, let's take a closer look. Otherwise, post a link to that search plugin you're using and I'll have a look for you. Short of that, you might try a different search plugin, one that uses the WP_Query class to perform searches, either directly, or indirectly.
~ 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

Re: Alternative View Protection

Postby drbyte » August 23rd, 2011, 12:18 am

Hi Jason

Yes we are using the default WP search engine. The weird thing is that these posts have no tags no text..just a title and it's coming up..I am suspecting that the permalink have something to do with it. /%postname% somehow is not being covered.

I will try again, maybe there is something in the function file that is not right. I use that file to go around from installing plugins

Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron