Plugin for WordPress allows admins to unload / load S2 based on different criteria (inbound referrer, zip code, city, etc)
Requires s2member plugin
Requires PHP GeoIP module
Tested and working with S2Member Control V120703 + S2Member Pro v120703
Copy “s2member-control” folder to your WordPress Plugins Directory. Activate plugin via WordPress settings.
More info on Must Use Plugins here:
Contributors & Developers
“S2Member Control” is open source software. The following people have contributed to this plugin.Contributors
Verified compat with WP 3.9.1
Added cookie option to allow access if a cookie is set
Added mobile browser option
Moved the options to wp_object_cache to improve performance
Added a safe_unserialize function
Added checks if user is logged in or if is_admin to make we don’t unload for logged in users.
Cleaned up some debugging code I accidentally left in
Rewrite of logic to remove S2 plugins from active plugins rather than try to unload / unhook everything.
** Do not use versions prior to this as they were buggy **
Removed buggy domain / tld code
Added code to make free categories
- Initial version