I'd like to TURN OFF S2Member (making the site completely free) in certain zip codes. Getting the GEO info is being handled by maxmind.com.
Whats the best way to effectively turn off S2member dynamically?
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™
<?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.';
}
?>
Users browsing this forum: No registered users and 2 guests