WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] Plugin does not work with WordPress v3.5 (17 posts)

  1. Iyngvar
    Member
    Posted 2 years ago #

    Plugin does not work with WordPress v3.5
    Sad but true...

    Why ?

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

  2. learncomputer
    Member
    Posted 2 years ago #

    I second that. The shortcodes on the login/register pages no longer render. They just show up as [theme-my-login-page].

  3. AITpro
    Member
    Posted 2 years ago #

    Since this is a visual rendering of the code that is not happening for whatever reason. ie the editor has now changed in WP 3.5 then you can modify the TML Template file to display the code. Everything appears to be functioning normally and do not see any reason why it would not since this is just a simple matter for forcing code to render as code visually.

    /theme-my-login/templates/login-form.php

    Code line 12 and 21 you are just adding the "code" tag with no formatting.

    <code style="background:none; overflow:hidden; border:none;">
    		<p>
    			<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ) ?></label>
    			<input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20" />
    		</p>
    		<p>
    			<label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ) ?></label>
    			<input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="input" value="" size="20" />
    		</p>
    </code>
  4. AITpro
    Member
    Posted 2 years ago #

    @Jeff - it may also be necessary to do something similar with this of course to handle all cases. Very, very dirty, but does work. ;)

    $insert = array(
    	'post_title' => 'Login',
    	'post_status' => 'publish',
    	'post_type' => 'page',
    	'post_content' => "<code>".'[theme-my-login]'."</code>",
    	'comment_status' => 'closed',
    	'ping_status' => 'closed'
    		);
  5. jkucera70
    Member
    Posted 2 years ago #

    Plugin does not work with WordPress v3.5 too

  6. Vakantie Ameland
    Member
    Posted 2 years ago #

    Plugin indeed is not working with wordpress 3.5, even after changes suggested above. Strangely one of many wordpress 3.5 installs is working without problems?? The Constructor theme is installed

  7. pe2mc
    Member
    Posted 2 years ago #

    @AITpro can you give more details on where tp put the code.
    Do we have to change is on line 12 and 21?

    And where to put the dirty lines :)

    Need a solution on my login page. Love the plugin

  8. Open Designs
    Member
    Posted 2 years ago #

    It is the shortcode that's not working correctly. Template tags work fine. I'm sure Jeff will have an update out as soon as he can.

    If you want a workaround until then, just copy and rename whichever page template you're using for the login page and add in the template tag.

    Then you can change the page template in the editor and you'll have a working form until this issue gets resolved.

  9. AITpro
    Member
    Posted 2 years ago #

    If the workaround above does not work for you/your setup and you are looking for the dirty fix then that code is located here:

    /theme-my-login/admin/class-theme-my-login-admin.php code line 660.

    it would be better to do something like this.

    $tempFixUntilJeffCanFix = "<code>".'[theme-my-login]'."</code>";
    
    $insert = array(
    	'post_title' => 'Login',
    	'post_status' => 'publish',
    	'post_type' => 'page',
    	'post_content' => $tempFixUntilJeffCanFix,
    	'comment_status' => 'closed',
    	'ping_status' => 'closed'
    	);
  10. noisegate95
    Member
    Posted 2 years ago #

    Been following this thread all day since 3.5 seemed to have broken my plugin as well. I tried all the steps above to no avail. However, I noticed that my shortcode was changed to [theme-my-login-page] rather than [theme-my-login].

    Not sure how this happened, because I also checked old revisions from November 15th, and sure enough the code had "page" at the end. Yet it still worked the past month.

    Coincidence? Really not sure. Check your short code. Without the "page" at the end, mine is working.

    http://blog.noisegate95.com

  11. Brooke Dukes
    Member
    Posted 2 years ago #

    actually for me it started working after using the shortcode [theme-my-login]

  12. Iyngvar
    Member
    Posted 2 years ago #

    Bingo !
    It's working with [theme-my-login] code instead of [theme-my-login-page]

    Without any changes in plugin code ...

  13. Open Designs
    Member
    Posted 2 years ago #

    So weird that it's changed the shortcode in a post without the post being edited.

    Changed it to [theme-my-login] and, as others have said, it's working again.

  14. noisegate95
    Member
    Posted 2 years ago #

    Great to hear. Sometimes it is the "easist" fix that gets you going again.

  15. AITpro
    Member
    Posted 2 years ago #

    had to do both things for my particular TML setup. Change the shortcode and add the "code" tags. Guess i have a little different setup then everyone else. ;)

  16. Vakantie Ameland
    Member
    Posted 2 years ago #

    For me using [theme-my-login] is the solution.

  17. Jeff Farthing
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, the proper shortcode is [theme-my-login].

    Also, the plugin does specifically state it is only compatible up to WP 3.4.2. However, if it does work with 3.5, great. Please vote for the combination as working, because it's currently voted for as broken.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.