Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-01T21:40:49-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=251 2011-06-01T21:40:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16535#p16535 <![CDATA[Re: Theme my login plugin]]>
1.) Is password reset working without s2member and theme-my-login active? (if not, try testing again using the twentyten theme)

2.) Try with only TML running or only s2member running.

3.) Try again with both active.

Statistics: Posted by johnleblanc — June 1st, 2011, 9:40 pm


]]>
2011-06-01T10:43:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16490#p16490 <![CDATA[Re: Theme my login plugin]]> Statistics: Posted by codeshed — June 1st, 2011, 10:43 am


]]>
2011-05-31T09:17:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16411#p16411 <![CDATA[Re: Theme my login plugin]]> /login/?action=rp&key=npBpL2cNzUJVQNJXWcABH&login=ebuud

I put this into the template use for login and I get the reset form, but it doesn't re-set the PW.

<?php if($_GET['action'] == 'rp'){
include('resetpass-form.php'); }else { ?>

What is the work flow for the re-set process? I thought WP usually sends a new password in a second email?

Statistics: Posted by codeshed — May 31st, 2011, 9:17 am


]]>
2011-05-30T23:44:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16378#p16378 <![CDATA[Re: Theme my login plugin]]>
It seems like /?action=rp&key=npBpLcNzUJVQNJXW1cABH&login=ebuud would more commonly be /login/?action=rp&key=npBpLcNzUJVQNJXW1cABH&login=ebuud if /login/ was the permalink of your login page.

Statistics: Posted by johnleblanc — May 30th, 2011, 11:44 pm


]]>
2011-05-30T23:38:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16376#p16376 <![CDATA[Re: Theme my login plugin]]>
/?action=rp&key=npBpLcNzUJVQNJXW1cABH&login=ebuud

and that takes you back to the site with a form that contains 2 fields for re-setting your password....it all seems to work, but the password does not get changed.

Suggestions?

What is the work flow for the re-set process? I thought WP usually sends a new password in a second email?

Statistics: Posted by codeshed — May 30th, 2011, 11:38 pm


]]>
2011-05-30T19:17:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16348#p16348 <![CDATA[Re: Theme my login plugin]]> s2member_force_ssl = yes custom post field and instead use .htaccess rules to force the login page to use SSL.

Statistics: Posted by johnleblanc — May 30th, 2011, 7:17 pm


]]>
2011-05-30T19:16:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16347#p16347 <![CDATA[Re: Theme my login plugin]]> ?s2ssl=true is set on the login/lostpassword page. It's because the form tries to POST to the page URL without the ?s2ssl=true suffix, so the redirect drops the POST.

Statistics: Posted by johnleblanc — May 30th, 2011, 7:16 pm


]]>
2011-05-30T19:09:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=16346#p16346 <![CDATA[Re: Theme my login plugin]]> Statistics: Posted by codeshed — May 30th, 2011, 7:09 pm


]]>
2011-05-18T00:51:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=15247#p15247 <![CDATA[Re: Theme my login plugin]]> Oh, you're so welcome! :D
Thanks for the KUDOS too, very much appreciated!

Statistics: Posted by Jason Caldwell — May 18th, 2011, 12:51 am


]]>
2011-05-14T11:01:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=15019#p15019 <![CDATA[Re: Theme my login plugin]]>
On a personal note ... I've built 5 payment + membership systems in .NET over the past 12 years using various technologies, approaches, etc. for our business, and was one of the first to integrate with Website Payments Pro. But maintaining self-built software took me away from making money creating the "product". I know how much effort goes into creating this, and it's more appreciated than you can imagine. If I'm ever in Georgia, I'm taking you to the best steakhouse to purchase you the most expensive steak dinner money can buy (in Atlanta?)

Statistics: Posted by BobTabor — May 14th, 2011, 11:01 am


]]>
2011-05-13T17:06:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14952#p14952 <![CDATA[Re: Theme my login plugin]]> Yes, you can do this if you like.

Option #1
Remove !important declarations.
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter
("ws_plugin__s2member_login_header_styles_important", "__return_false");
?>
* This simply prevents s2Member from attaching the !important declarations. It does NOT remove the CSS completely though. This just makes it easier for other plugins to override s2Member's design options that a site owner has configured.

Option #2
Don't use s2Member's CSS at all.
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter
("ws_plugin__s2member_login_header_styles", "__return_false");
?>
* This prevents the CSS from being used at all.

Statistics: Posted by Jason Caldwell — May 13th, 2011, 5:06 pm


]]>
2011-05-13T16:20:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14941#p14941 <![CDATA[Re: Theme my login plugin]]>
body, body * {
font-size: 12px !important;
}

This erases the h2's font size defined in my theme. I tried to delete the setting in the "s2Member General Options --> Login/Registration Design" ... specifically, I attempted to set the "Overall Font Size" to blank, however, you require a value there, so it just gets automatically filled back in with 12px. :(

And yes, this is an extremely minor issue -- I've gotten much farther using this solution that I could have in this amount of time slinging code myself ... and I can work around this ... I would just put my vote in for not commandeering styles from the admin UI.

Statistics: Posted by BobTabor — May 13th, 2011, 4:20 pm


]]>
2011-05-13T16:04:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14939#p14939 <![CDATA[Re: Theme my login plugin]]>
I've copied that CSS into a code section at the bottom -- these are the defaults (i.e., I made no changes in the "s2Member General Options --> Login/Registration Design" section).

True, depending on your particular theme you may not notice any changes to the appearance of your Theme My Login's Login page, however in my case I had a dark background that really showed through.

SO ... the question I have for Jason or Cristián: can I shut this behavior off completely? In other words, can I prevent the following code from being emitted in my login (typically the wp-login.php -- before Theme My Login changes it)? That is the crux of the compatibility issue.

Thanks!

P.S. ... here's the code that gets emitted ... in the <head> section, right beneath <meta name="generator" content="WordPress 3.1.2" /> ...

Code:
<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


]]>
2011-05-13T03:20:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14829#p14829 <![CDATA[Re: Theme my login plugin]]> Thanks guys. I just spotted this conversation.
I've updated the conflict list here to reference this thread.
viewtopic.php?f=36&t=6309&p=14122#p14122

Statistics: Posted by Jason Caldwell — May 13th, 2011, 3:20 am


]]>
2011-05-11T22:02:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14680#p14680 <![CDATA[Re: Theme my login plugin]]>
It was user error.. i had too many different things going on in the attempt to make it work.. various functions in files, shortcodes in pages, and settings in plugins. But when i backed out, started over, and did a more careful, methodical, meticulous implementation, i found it does in fact work.. very very nicely.

Thanks johnleblanc, for inspiring me to give it another shot!!

Statistics: Posted by toddz88 — May 11th, 2011, 10:02 pm


]]>
2011-05-11T21:02:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14671#p14671 <![CDATA[Re: Theme my login plugin]]> /login/?action=register to my pricing page within functions.php).

Bob - When I initially replied, I didn't realize I was replying to you and not toddz88

You might also look at the following to hand-roll your own login behavior:
http://codex.wordpress.org/Function_Ref ... login_form
http://codex.wordpress.org/Function_Ref ... _login_url

http://codex.wordpress.org/Plugin_API/Filter_Reference
(in particular: login_url, login_redirect, login_errors, login_message)

Statistics: Posted by johnleblanc — May 11th, 2011, 9:02 pm


]]>
2011-05-11T20:43:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14666#p14666 <![CDATA[Re: Theme my login plugin]]>
So ... in my shortcodes.php ...

Code:
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');


... produces the screenshot below ...

HOWEVER ... I keep running into the "user experience" issue as described above (i.e., forgot password, etc.) ... and I realize I may just have to bite the bullet and find a better solution. My question to you was more of a "pre-emptive strike" to figure out how much effort would be involved in using Theme My Login.

Statistics: Posted by BobTabor — May 11th, 2011, 8:43 pm


]]>
2011-05-11T20:12:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14665#p14665 <![CDATA[Re: Theme my login plugin]]> /login/?action=logout&_wpnonce=bh90210bs or /login/?action=lostpassword

Code:
// 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;
   }
}


Again, I'm curious what behavior you're experiencing?

Statistics: Posted by johnleblanc — May 11th, 2011, 8:12 pm


]]>
2011-05-11T20:03:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14664#p14664 <![CDATA[Re: Theme my login plugin]]>
johnleblanc wrote:
... instead use a wp_redirect() hooked into 'init' to force SSL ...


John, thank you for this ... would you be so kind as to point me in the right direction on how to "hook into 'init'" in WordPress?

Thank you very much!
Bob

Statistics: Posted by BobTabor — May 11th, 2011, 8:03 pm


]]>
2011-05-11T19:53:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14661#p14661 <![CDATA[Re: Theme my login plugin]]> s2member_force_ssl = yes custom field on my login page and instead use a wp_redirect() hooked into 'init' to force SSL (I initially attempted SSL enforcement within .htaccess, but had a tough time).

My login page looks like this:
Code:
[s2If !is_user_logged_in()]
[theme-my-login]
[/s2If]


What's not working for you?

Statistics: Posted by johnleblanc — May 11th, 2011, 7:53 pm


]]>
2011-05-11T19:42:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14660#p14660 <![CDATA[Re: Theme my login plugin]]>
Also, Jason (lead dev on s2m) confirms the conflict:
viewtopic.php?f=36&t=6309#p14122

Statistics: Posted by toddz88 — May 11th, 2011, 7:42 pm


]]>
2011-05-11T19:21:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14658#p14658 <![CDATA[Re: Theme my login plugin]]> Statistics: Posted by johnleblanc — May 11th, 2011, 7:21 pm


]]>
2011-05-10T18:24:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14590#p14590 <![CDATA[Re: Theme my login plugin]]> @TODO: Thanks for the vote.
Agree. I'm adding this to the TODO list for a future release.

Statistics: Posted by Jason Caldwell — May 10th, 2011, 6:24 pm


]]>
2011-05-10T14:19:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=14545#p14545 <![CDATA[Re: Theme my login plugin]]>
The s2member pro Login Pro Widget is a GREAT user experience -- for a successful login. But unfortunately, a user can also get Failed Login, or do a Forgot Password, both of which DESTROY the otherwise seamless experience offered by s2member pro and the Pro Login Widget.

And the fields/options currently available on s2m > General Options > Login/Registration Design are better than nothing, but really not nearly robust enough to maintain the user experience.

The reason that the Pro Login Widget is so good -- so the user can login on a page clearly "in" the website, and fully integrated with the site's theme/design -- is the exact reason why the failed-login and forgot-password routines must also be integrated with a site's theme.

Statistics: Posted by toddz88 — May 10th, 2011, 2:19 pm


]]>
2010-10-06T15:33:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=251&p=3807#p3807 <![CDATA[Re: Theme my login plugin]]>
Also I want to make an easy access text box for users to post their own topics much like a forum. Is there a plugin for that?

Statistics: Posted by wringle — October 6th, 2010, 3:33 pm


]]>