latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

S2member Pro with WpTouch pro

Home Forums Community Forum S2member Pro with WpTouch pro

This topic contains 2 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 6 months ago.

Topic Author Topic
Posted: Friday Jun 28th, 2013 at 10:55 am #52741

I have seen one other post referencing this that has no answers. Is the re a way to enable S2Member Pro in the WPTouch templates. WPTouch states no conflicts but the Page level restrictions don’t seem to be in effect. Any help appreciated.

Thanks.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Friday Jun 28th, 2013 at 11:09 am #52743

It seems to work if you create a page template within your WPTouch theme to use on all your access restricted pages that wraps the content in a conditional:

<?php if (current_user_can("access_s2member_levelX")){ ?>

# Show restricted stuff #

<?php } else { ?>

# Show unrestricted stuff/call to login #
	
<?php } ?>

However this seems a bit cumbersome if you have multiple access levels.

Posted: Friday Jun 28th, 2013 at 10:04 pm #52772

Thanks for the update.

It seems the s2Member restriction is not being applied when WP Touch queries the posts. You may need this: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced Query Conditionals[/hilite]

I’m not sure if the Alt View protection would help, you could try that. [hilite path]Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection[/hilite]

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.