• Resolved dains

    (@dains)


    Strangely, all I’m seeing is the user panel (username and links) on the TML form pages I’ve created. I’ve tried both the shortcode and template tag methods in the doc using separate pages / templates like so:

    ‘ theme_my_login( array( ‘register_form’ => ‘ms-signup-another-blog-form.php’ ) );

    [theme-my-login register_template=”ms-signup-another-blog-form.php”]


    I tried these as a logged-in administrator with multiple sites, and for comparison, wp-signup.php is working fine.

    Setup – I’m using the latest beta version, deactivated/uninstalled the previous version before installing/setting up the beta version, and have copied all of the templates into my theme. The Login page shows the correct form and otherwise operates fine.

    Any idea what might be causing this behavior?

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

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

    (@jfarthing84)

    [theme-my-login default_action="register"] should do it.

    Thread Starter dains

    (@dains)

    Ok, TML has internal logic to choose the form like wp-signup.php does. That’s great and works fine – thanks!

    But can you clarify the use of the custom template calls then? I’ve customized that form, so I naturally expected to use the custom functions to employ them. Does it not work with this particular set of forms only? I was very happy to see that custom forms placed in the theme folder were supported.

    By the way, donation incoming. I am supposed to wait for launch before doing this, but your support has been critical to the changeover to TML’s forms, so I’ll take the heat for it 🙂

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Any template that uses it’s default name will be automatically loaded from your current template directory, if it exists.

    Alternatively, if you create a different template under a different name, this is when you’d use the shortcode/template tag parameters to define which template to use.

    Let’s say you had a different form for two different account types. You would do something like this:

    Register as a Buyer
    <?php theme_my_login( array(
    	'register_form' => 'buyer-register-form.php'
    ) ); ?>
    
    Register as a Seller
    <?php theme_my_login( array(
    	'register_form' => 'seller-register-form.php'
    ) ); ?>
    Thread Starter dains

    (@dains)

    Ok, that works for me. I didn’t know that register_form wouldn’t work with a default form name. Easy enough to change.

    I could swear I saw a donation link somewhere, but I can’t find it now. Can you post it here, or let me know your Paypal address for the purpose? We have exchanged emails once so I can send another one so you can reply confidentially if you like.

    Thread Starter dains

    (@dains)

    I spoke too soon, I just replicated this problem on a live, clean install test site after configuring TML to the full set of production options. Neither new user registration nor create another site worked – new user registration just returned to the registration form page and create another site took me to the user profile page.

    I disabled all TML options that’d I’d set up, including email login, and the problem with create another site was resolved, but not the new user registration problem (both site and new user creation are enabled).

    If you want network admin access to the test site to check out what’s going on, let me know and I’ll set you up. I’ll hold off on any other testing to get this resolved.

    Thread Starter dains

    (@dains)

    Update, I’ve isolated the problem to the Themed Profile module. Turning it on causes the create another blog submission to bring up the admin user profile instead of completing the blog creation process. I found that the other issue with user registrations was my fault and fixed the issue, so that’s the only problem I have to report.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    That may be true. The Themed Profiles module automatically loads the profile template when accessing the Login page while logged in.

    Thread Starter dains

    (@dains)

    Ok, just letting you know it interrupts the blog creation process by a logged in user using the TML registration system. It’s reproducible – flip Themed Profiles on and when you submit a new blog, it doesn’t get made and you’re taken to your profile. Uncheck the Themed Profiles option and save the change, go back and submit the create new blog form again, and it works.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Will look into it as soon as I can. Good find. Perhaps it can be fixed for the 6.2 release.

    Thread Starter dains

    (@dains)

    Checking back on this Jeff. Any luck finding the problem?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Yes, this issue has been resolved for 6.2.

    Thread Starter dains

    (@dains)

    Great news! But do you mean the next release or the beta currently available for download?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Next release. There will probably be a beta 2 very soon.

    hello,..jeff how to make login and register source be a single page?

    <!-- Sign In Tab Content -->
    		<div id="signIn" class="toggleTab">
    
    			<fieldset style="
        margin-left: 15%;
    
    "><?php theme_my_login( array( 'register_form' => 'my-register-form.php' ) ); ?></fieldset>
    					<div class="formExtra">
    						<p><strong>Trouble signing in?</strong></p>
    						<p><a href="http://www.diagonalpixel.com/home/login.phtml?action=lostpassword">Recover your password</a> or <a href="http://www.diagonalpixel.com/home/sign-up.phtml?action=register.phtml">Create an account</a></p>
    					</div>
    
    		</div> <!-- end signIn -->
    
    		<!-- Sign Up Tab Content -->
    		<div id="signUp" class="clearfix toggleTab">
    
    			<?php theme_my_login( array( 'register_form' => 'diagonal-register-form.php' ) ); ?>
    
    			<!-- Sidebar -->
    			<div id="sidebar">
    				<h3>Benefits for signing up</h3>
    
    				<ul>
    					<li>24/7 support from our team</li>
    					<li>Another great benefit</li>
    					<li>We're in the cloud, so accessing your data will be 10x faster</li>
    					<li>We use the latest technology on the market today</li>
    				</ul>
    			</div> <!-- end sidebar -->
    
    		</div> <!-- end signUp -->

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Theme My Login] TML form pages showing the user panel instead of the requested form?’ is closed to new replies.