Statistics: Posted by johnleblanc — June 1st, 2011, 9:40 pm
Statistics: Posted by codeshed — May 31st, 2011, 9:17 am
Statistics: Posted by johnleblanc — May 30th, 2011, 11:44 pm
Statistics: Posted by codeshed — May 30th, 2011, 11:38 pm
Statistics: Posted by johnleblanc — May 30th, 2011, 7:17 pm
Statistics: Posted by johnleblanc — May 30th, 2011, 7:16 pm
Statistics: Posted by Jason Caldwell — May 18th, 2011, 12:51 am
Statistics: Posted by BobTabor — May 14th, 2011, 11:01 am
<?php
add_filter("ws_plugin__s2member_login_header_styles_important", "__return_false");
?>
<?php
add_filter("ws_plugin__s2member_login_header_styles", "__return_false");
?>
Statistics: Posted by Jason Caldwell — May 13th, 2011, 5:06 pm
Statistics: Posted by BobTabor — May 13th, 2011, 4:20 pm
<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>
Statistics: Posted by BobTabor — May 13th, 2011, 4:04 pm
Statistics: Posted by Jason Caldwell — May 13th, 2011, 3:20 am
Statistics: Posted by toddz88 — May 11th, 2011, 10:02 pm
Statistics: Posted by johnleblanc — May 11th, 2011, 9:02 pm
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');
Statistics: Posted by BobTabor — May 11th, 2011, 8:43 pm
// 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;
}
}
Statistics: Posted by johnleblanc — May 11th, 2011, 8:12 pm
Statistics: Posted by BobTabor — May 11th, 2011, 8:03 pm
[s2If !is_user_logged_in()]
[theme-my-login]
[/s2If]
Statistics: Posted by johnleblanc — May 11th, 2011, 7:53 pm
Statistics: Posted by toddz88 — May 11th, 2011, 7:42 pm
Statistics: Posted by Jason Caldwell — May 10th, 2011, 6:24 pm
Statistics: Posted by toddz88 — May 10th, 2011, 2:19 pm
Statistics: Posted by wringle — October 6th, 2010, 3:33 pm