I have a real estate website that uses an idx feed. My goal is to allow readers to view the first couple pages first, but after that be required to login. This means that I do not turn away first visitors, but that I can still capture leads... higher quality than if I made everyone sign up.
Also... do you have a place I can donate? I don't think I have a need for the "premium" s2member plugin, but would still like to contribute.
Statistics: Posted by Jason Caldwell — June 27th, 2010, 7:29 am
Statistics: Posted by seacoast — June 26th, 2010, 12:00 pm
Statistics: Posted by Jason Caldwell — June 26th, 2010, 2:00 am
add_action("template_redirect", "redirect_membership_options_to_login");
function redirect_membership_options_to_login(){
$mop = $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["membership_options_page"];
if($mop && is_page($mop) && isset($_GET["s2member_level_req"])){
header("Location: " . wp_login_url()); exit;
}
}
Statistics: Posted by Jason Caldwell — June 26th, 2010, 1:59 am
Statistics: Posted by seacoast — June 25th, 2010, 9:59 am