<?php
add_filter("ws_plugin__s2member_login_redirect", "__return_true");
?>
<?php
add_filter ("ws_plugin__s2member_login_redirect", "my_function", 10, 2);
function my_function ($filter, $vars = array ())
{
if ($vars["user"]->has_cap ("s2member_level1"))
return true;
/**/
else return $filter;
}
?>
Statistics: Posted by Jason Caldwell — April 3rd, 2011, 1:14 pm
Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 10:44 pm
Statistics: Posted by Vinnyo — April 2nd, 2011, 10:15 pm
Statistics: Posted by Vinnyo — April 2nd, 2011, 10:01 pm
Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 9:19 pm
Statistics: Posted by Vinnyo — April 2nd, 2011, 8:00 pm
Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 7:44 pm
Statistics: Posted by Vinnyo — April 2nd, 2011, 7:37 pm
http://yoursite.com/wp-login.php?redirect_to=/the-page-you-want
Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 7:15 pm
Statistics: Posted by Vinnyo — April 2nd, 2011, 6:57 pm
Statistics: Posted by Jason Caldwell — April 2nd, 2011, 1:32 pm
Statistics: Posted by Vinnyo — March 31st, 2011, 10:32 pm
Wordpress has a hidden login redirect form in the wp-login.php file. Should that be removed as well?
Statistics: Posted by Jason Caldwell — March 31st, 2011, 8:54 pm
Statistics: Posted by Vinnyo — March 31st, 2011, 4:12 pm
Statistics: Posted by Jason Caldwell — March 31st, 2011, 3:20 am
Thanks Vince. I got your email. I just took another look at your site. That hidden redirect_to variable is still in your site. You might take another look at your theme files and make sure you've removed all occurrences of that variable. Also, be sure that you reset any WordPress® caching plugins after making those changes. For instance, if you're running Super Cache or Quick Cache, please clear your cache after making theme changes.
Statistics: Posted by Vinnyo — March 28th, 2011, 5:29 pm
Statistics: Posted by Jason Caldwell — March 27th, 2011, 5:04 am
Statistics: Posted by Vinnyo — March 25th, 2011, 2:38 pm
Statistics: Posted by Jason Caldwell — March 24th, 2011, 4:51 pm
Statistics: Posted by Vinnyo — March 24th, 2011, 4:22 pm
Statistics: Posted by Vinnyo — March 19th, 2011, 12:18 am
Statistics: Posted by Jason Caldwell — March 18th, 2011, 11:15 pm
Statistics: Posted by Vinnyo — March 18th, 2011, 5:47 pm
Statistics: Posted by Jason Caldwell — March 15th, 2011, 2:49 pm