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™
Jason Caldwell wrote:Yea, unfortunately... I doubt it. This plugin is pretty much a direct conflict with s2Member. I could probably go through and add compatiblity, and/or work-arounds for this plugin; but chances are, future versions of s2Member are going to create new problems between the two.
I recommend this plugin, it IS compatible, and does many of the same things, without encroaching on s2Member. http://wordpress.org/extend/plugins/sidebar-login/
[s2If !is_user_logged_in()]
[theme-my-login]
[/s2If]
johnleblanc wrote: ... instead use a wp_redirect() hooked into 'init' to force SSL ...
// redirect login to ssl
add_action('init', 'my_secure_login');
function my_secure_login() {
if ( strpos($_SERVER['REQUEST_URI'], 'login') == 1 && $_SERVER['HTTPS'] != 'on' ) {
$redirect = sprintf('%s%s', 'https://www.foo.com', $_SERVER['REQUEST_URI'] );
wp_redirect( $redirect, 301 );
exit;
}
}
function bob_login_shortcode() {
$options = array("signup_url" => "%%automatic%%", "login_redirect" => "%%home%%", "my_account_url" => "/account/", "my_profile_url" => "", "logout_redirect" => "/");
return do_shortcode(s2member_pro_login_widget($options));
}
add_shortcode('s2login', 'bob_login_shortcode');
<style type="text/css">
html, body { border: 0 !important; background: none !important; }
html { background-color: #FFFFFF !important; }
html { background-image: url(http://members.learnvisualstudio.net/wp-content/plugins/s2member/images/bg.png) !important; }
html { background-repeat: repeat !important; }
body, body * { font-size: 12px !important; }
body, body * { font-family: 'Verdana', 'Arial', sans-serif !important; }
p#backtoblog a, p#backtoblog a:hover, p#backtoblog a:active, p#backtoblog a:focus { color: #000000 !important; text-shadow: 1px 1px 3px #EEEEEE !important; top: 15px !important; left: 15px !important; padding: 10px !important; border:1px solid #EEEEEE !important; background-color: #FFFFFF !important; -moz-border-radius:3px !important; -webkit-border-radius:3px !important; border-radius:3px !important; }
div#login { width: 500px !important; }
div#login h1 a { background: url(http://members.learnvisualstudio.net/wp-content/plugins/s2member/images/logo.png) no-repeat top center !important; }
div#login h1 a { display: block !important; width: 100% !important; height: 100px !important; }
div#login form { -moz-box-shadow: 1px 1px 5px #EEEEEE, -1px -1px 5px #EEEEEE !important; -webkit-box-shadow: 1px 1px 5px #EEEEEE, -1px -1px 5px #EEEEEE !important; box-shadow: 1px 1px 5px #EEEEEE, -1px -1px 5px #EEEEEE !important; }
div#login p#nav, div#login p#nav a, div#login p#nav a:hover, div#login p#nav a:active, div#login p#nav a:focus { color: #000000 !important; text-shadow: 1px 1px 3px #EEEEEE !important; }
div#login form p { margin: 2px 0 16px 0 !important; }
div#login form input[type="text"].input, div#login form input[type="password"].input, div#login form input[type="text"].ws-plugin--s2member-custom-reg-field, div#login form input[type="password"].ws-plugin--s2member-custom-reg-field, div#login form textarea.ws-plugin--s2member-custom-reg-field, div#login form select.ws-plugin--s2member-custom-reg-field { font-weight:normal !important; color:#333333 !important; background:none repeat scroll 0 0 #FBFBFB !important; border:1px solid #E5E5E5 !important; font-size:18px !important; margin: 0 2% 0 0 !important; padding:3px !important; width:98% !important; }
div#login form input[type="checkbox"].ws-plugin--s2member-custom-reg-field, div#login form input[type="radio"].ws-plugin--s2member-custom-reg-field { vertical-align:middle !important; }
div#login form select.ws-plugin--s2member-custom-reg-field > option { font-size:18px !important; }
div#login form label.ws-plugin--s2member-custom-reg-field-op-l { vertical-align:middle !important; font-size:90% !important; }
div#login form select.ws-plugin--s2member-custom-reg-field { width:100% !important; }
div#login form p.submit { margin-bottom: 0 !important; }
div#login form input[type="submit"], div#login form input[type="submit"]:hover, div#login form input[type="submit"]:active, div#login form input[type="submit"]:focus { color: #666666 !important; text-shadow: 2px 2px 5px #EEEEEE !important; border: 1px solid #999999 !important; background: #FBFBFB !important; padding: 5px !important; -moz-border-radius: 3px !important; -webkit-border-radius: 3px !important; border-radius: 3px !important; }
div#login form input[type="submit"]:hover, div#login form input[type="submit"]:active, div#login form input[type="submit"]:focus { color: #000000 !important; text-shadow: 2px 2px 5px #CCCCCC !important; border-color: #000000 !important; }
div#login form#lostpasswordform { padding-bottom: 16px !important; } div#login form#lostpasswordform p.submit { float: none !important; } div#login form#lostpasswordform input[type="submit"] { width: 100% !important; }
div#login form#registerform { padding-bottom: 16px !important; } div#login form#registerform p.submit { float: none !important; margin-top: -10px !important; } div#login form#registerform input[type="submit"] { width: 100% !important; }
div#login form#registerform p#reg_passmail { font-style: italic !important; }
</style>
<?php
add_filter("ws_plugin__s2member_login_header_styles_important", "__return_false");
?>
<?php
add_filter("ws_plugin__s2member_login_header_styles", "__return_false");
?>
Users browsing this forum: No registered users and 1 guest