• Hey ya, I got everything to work perfectly with version 6.2.3 and I am really hesitating to upgrade now because so many people do have troubles and this is a live site.

    I don´t exactly know how many issues have been fixed by now so the question is frankly, if I upgrade now, will everything go tips up?

    I have custom forms files copied to my theme folder, will these need any changes to them or is it better to close the site for a day and rearrange everything from scratch?

    Any advice would be greatly appreciated.

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    I suppose I shouldn’t answer this because – everything works as intended for me.

    Thread Starter BeautyPirate

    (@beautypirate)

    What about the form files then, are those untouched or do you recommend reapplying the changes to the newer files?

    Thread Starter BeautyPirate

    (@beautypirate)

    Okay I had a little bit of trouble first but then I did a fresh plugin installation and everything is working fine now. It perhaps needed a kick start because I did upgrade from a version like 5 updates ago.

    By the way, I did need all new template files because some calls are different but it wasn´t a lot of code.

    Just three things:

    1: How can I disable the automatic form field focus on all forms?

    2: Where is the bit of code stored that put out this:

    “Lost your password?”

    … when a user fails to login? I have a lost password link directly beklow the login form so that doesn´t make much sense now.

    3: Please got to: http://www.stevemakeup.com , click lost password in the widget and then hit the login button in the widget area. Is that supposed to happen?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    1. You need to remove the javascript that does it.

    2. This is actually from WP itsself.

    3. You have a fatal error. Enable debugging to see what it is.

    Thread Starter BeautyPirate

    (@beautypirate)

    Actually it´s in your plugin, in class-theme-my-login.php below line 480

    /**
    * Prints javascript in the footer
    *
    * @since 6.0
    * @access public
    */

    The script tags in there seem to do it? When I remove them, the autofocus is gone. Or am I missing something here?

    As for the error, my error log says:

    PHP Fatal error: Call to a member function get_option() on a non-object in /is/htdocs/xxXXXXXXXXX_XXXXXXXXXXXXXX/www/main/wp-content/plugins/theme-my-login/modules/custom-redirection/custom-redirection.php on line 93, referer: http://www.mydoamain.com/lostpassword/

    What does that tell us now?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    My point number two referred to your point number 2. I know that TML adds javascript to auto-focus the main fields. That was point one.

    As for point number three, do you have a custom lostpassword-form.php?

    Thread Starter BeautyPirate

    (@beautypirate)

    Aaaah, got it. I didn´t read my post again so I forgot about the numbers that were supposed to make everything easier 😉

    My customized lostpassword-form.php

    <?php
    /*
    If you would like to edit this file, copy it to your current theme's directory and edit it there.
    Theme My Login will always look in your theme's directory first, before using this default template.
    */
    ?>
    <div class="login" id="theme-my-login<?php $template->the_instance(); ?>">
    	<?php $template->the_action_template_message( 'lostpassword' ); ?>
    	<?php $template->the_errors(); ?>
    	<form name="lostpasswordform" id="lostpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'lostpassword' ); ?>" method="post">
    		<p>
    			<label for="user_login<?php $template->the_instance(); ?>"><?php _e( '' ); ?></label>
    			<input type="text" placeholder="Enter your Username or Email" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
    		</p>
    
    		<?php do_action( 'lostpassword_form' ); ?>
    
    		<p class="submit">
    			<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Get New Password' ); ?>" />
    			<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'lostpassword' ); ?>" />
    			<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
    			<input type="hidden" name="action" value="lostpassword" />
    		</p>
    	</form>
    
    </div>
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Quick question about upgrading’ is closed to new replies.