What comes to mind is to use conditions where you'd protect content, instead of protecting the whole page. If you have a function that checks the user's location, you can then determine if s2Member should have anything to do with him or not.
- Code:
<?php
if (dont_use_s2member_with_this_user() || current_user_is('s2member_level1')) {
echo 'The content goes here.';
} else {
echo 'A message asking him to purchase access.';
}
?>
You could probably also have anything that s2Member would moderate access to, go through the function automatically using a hook, and decide there if s2Member has to mess with that person or not.Statistics: Posted by Cristián Lávaque — March 23rd, 2011, 8:26 pm
]]>