• I have a custom template for the registration form in my theme. The form doesn’t work even when I fill it in, but I’m focusing on the error reporting for now, which doesn’t work either (I suspect the same issue, whatever it is).

    So, $template->the_errors() calls $template->get_errors. Inside that, if I dump $theme_my_login, the errors are there. But $this->is_active() doesn’t seem to evaluate to true. Is there something I need to do in the custom template to make it “active”?

    One thing is that the site I’m working with needs the registration page at /account/create/ instead of the default /register/ page that the plugin creates. Is there something I need to do to signal this move? What about moving all the other pages?

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Steve Taylor

    (@gyrus)

    https://www.jfarthing.com/development/theme-my-login/general/ mentions “Page ID” as a setting. I assume this could be part of my problem. However, the General settings page of the latest version of the plugin doesn’t seem to have this setting. Apart from the Modules, there’s just checkboxes for Stylesheet and Email login.

    Thread Starter Steve Taylor

    (@gyrus)

    I’m making some progress. I’ve discovered the _tml_action postmeta entries. Is there a reason there’s no interface to change these?

    I’ve tried changing them manually, but nothing seems to work properly. Here’s the page structure I need:

    /account/ (the main page for “front-end” users – login form if not logged in)
    /account/create/ (registration)
    /account/edit-profile/
    /account/lost-password/
    /account/reset-password/

    For some reason now, going to /account/ redirects to /account/edit-profile/. I’ve tried deactivating the redirect module, to no avail.

    A little guidance on the basics of getting the system working with a custom page structure would be very helpful. The impression is that the plugin has been designed to be flexible in this respect, but it doesn’t seem to work very well / intuitively.

    Thread Starter Steve Taylor

    (@gyrus)

    It seems the issue with the registration form was to do with me having a custom WP template for the register page, which output the form with do_shortcode( '[theme_my_login]' ). If I set the page to the default template and put the shortcode in the content, it seems to work. Is there any flexibility on this?

    Also, is it possible to have a main page “Account” page on the front-end that displays the login form, or custom user information (not the profile)?

    Thanks.

    https://www.jfarthing.com/development/theme-my-login/general/ mentions “Page ID” as a setting. However, the General settings page of the latest version of the plugin doesn’t seem to have this setting. Apart from the Modules, there’s just checkboxes for Stylesheet and Email login.

    Steve, have you finally found this setting?
    Jeff, would you kindly explain and/or update the documentation please?

    Thread Starter Steve Taylor

    (@gyrus)

    The setting’s not there, and honestly this is long enough ago that I don’t clearly recall the issue.

    I never got the main “account” page to display the login form, I’ve got that under /account/log-in/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘registration form not working’ is closed to new replies.