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™
robertohoughton wrote:In firebug, I have gotten rid of the hidden value... do I then copy the edited HTML?
Thanks for the follow-up. In your case, what is the symptom exactly please?sergiobet wrote:Hi Jason,
I follow your instructions but nothing change, my login welcome page doesn't work.
I did eliminate every single entry with the redirect over wp-login.php and still not working.
I have even installed a redirect login page plugin but neither work.
Do you have any news about this problem?
Regards,
Sergio
And, where exactly in the Dashboard please? On the Profile page? Or elsewhere? Also, is the account you've tested with a Member? If so, at what Membership Level please?sergiobet wrote:Always after login, the user gets redirected to the Dashboard, not the login welcome page.
Definitely is not working properly
I see. s2Member will NOT redirect anyone who has the edit_posts Capability.sergiobet wrote:In order to adapt the plugin to my needs, I have setup level 1 as a contributor, because I need them not be able to publish content without admin approval.
So if that is the reason, is there any workaround for this?
<?php
add_filter ("ws_plugin__s2member_login_redirect", "s2_login_redirection", 10, 2);
function s2_login_redirection ($what_s2_says, $vars = array ())
{
return (!$vars["user"]->has_cap ("administrator")) ? true
: /* Else what s2Member says. */ $what_s2_says;
}
?>
Return to Common Questions/Problems/Tips
Users browsing this forum: No registered users and 1 guest