We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Standalone Registration Action Bug 2.5.2

Development and Programming

thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

I’m hoping someone can assist me with a problem I’m having. I setup a standalone registration page using the wiki and everything was working in 2.3 before I updated to 2.5.2

Now after the user registers they are stuck at the success message. The correct action/return url is displayed but the page doesn’t load because there doesn’t seem to be a time based redirect like there was in the previous build of EE.

Can anyone confirm this issue for me?

success message

Thank You!

Your registration has been successfully completed.

You are logged-in and ready to begin using your new account.

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
13 years ago
Shane Eckert's avatar Shane Eckert

Hello thefifthlion,

I am sorry to hear you are running into this problem.

Can you show me the template code that you are using?

I will try and replicate.

Cheers,

       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion
<?php
$this->EE =& get_instance();
$action_id = $this->EE->functions->fetch_action_id('Member', 'register_member');
?>    
      <form id="register_member_form" method="post" action="http://www.mywebsite.com/index.php/templategroup..."> 
    <div class='hiddenFields'>
        <input type="hidden" name="XID" value={XID_HASH} /> 
        <input type="hidden" name="ACT" value="<?php echo $action_id; ?>" />
        <input type="hidden" name="RET" value="http://www.mywebsite.com/index.php/templategroup..." /> 
        <input type="hidden" name="FROM" value="" /> 
        <input type="hidden" name="site_id" value="1" /> 
    </div> <!-- closes out hiddenFields -->
    <table class="tableBorder" border='0' cellspacing='0' cellpadding='0'>
        <tr>
            <td class='tableCellTwo'>
                <div class='defaultBold'>
                    <span class="highlight">*</span>
                    Username
                </div>
                <div class='itempad'>
                </div>
            </td>
            <td class='tableCellOne'>
                <input type="text" name="username" value="" maxlength="32" class="input" size="25" />
            </td>
        </tr><!-- end username row -->
        <tr>
            <td class='tableCellTwo'>
                <div class='defaultBold'>
                    <span class="highlight">*</span> 
                    Password
                </div>
                <div class='itempad'>
                </div>
            </td>
            <td class='tableCellOne'>
                <input type="password" name="password" value="" maxlength="32" class="input" size="25" />
            </td>
        </tr><!-- end password row -->
        <tr>
            <td class='tableCellTwo'>
                <div class='defaultBold'>
                    <span class="highlight">*</span> 
                    Password Confirm
                </div>
            </td>
            <td class='tableCellOne'>
                <input type="password" name="password_confirm" value="" maxlength="32" class="input" size="25" />
            </td>
        </tr><!-- end confirm password row -->
        
        <tr>
            <td class='tableCellTwo'>
                <div class='defaultBold'>
                    <span class="highlight">*</span> 
                    Email Address
                </div>
            </td>
            <td class='tableCellOne'>
                <input type="text" name="email" value="" maxlength="120" class="input" size="40" />
            </td>
        </tr><!-- end e-mail row -->
        <tr>
            <td class='tableCellTwo'>
                <div class='defaultBold'>
                    <span class="highlight">*</span> 
                    Confirm Email Address
                </div>
            </td>
            <td class='tableCellOne'>
                <input type="text" name="email_confirm" value="" maxlength="120" class="input" size="40" />
            </td>
        </tr><!-- end confirm e-mail row -->
        <tr>
            <td colspan='2' class='tableCellOne'>
                <div class="itempadbig">
                    <div class="itempad">
                        <div class='defaultBold'>
                            Terms of Service
                        </div>
                    </div><!-- closes out itempad -->
                    <textarea name='rules' class='textarea' rows='8' cols='90' readonly="readonly">
All messages posted at this site express the views of the author, and do not necessarily reflect the views of the owners and administrators of this site. By registering at this site you agree not to post any messages that are obscene, vulgar, slanderous, hateful, threatening, or that violate any laws. We will permanently ban all users who do so. We reserve the right to remove, edit, or move any messages for any reason.
                    </textarea>
                </div><!-- closes out itempadbig -->
            </td>
        </tr><!-- closes out terms of service row -->

<tr>
            <td colspan='2' class='tableCellOne'>
                
                    <span class="highlight">*</span>Type the text you see below:
                    {captcha}

                    <input type="text" name="captcha" value="" size="20" maxlength="20" />
                    
                
                <input type='checkbox' name='accept_terms' value='y'  />  
                <span class="highlight">*</span> 
                <span class="alert">I agree to the terms of service</span>
                

                <div class="submitWrap clear2"><a href="#" class="button"><span>Submit</span></a></div>
                <span class="highlight">*</span> 
                Indicates required fields
                
            </td>
        </tr>
    </table>
</form>
       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

see above

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
13 years ago
Shane Eckert's avatar Shane Eckert

Hey thefifthlion,

Before I replicate, can you please copy just the form into a template? I would like to strip this down and just troubleshoot the form.

Cheers,

       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

I think I stripped out everything. Just edited my previous post. Thanks for your help!

       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

Shane,

Wondering if you had a chance to test my code in your environment?

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
13 years ago
Shane Eckert's avatar Shane Eckert

Hey thefifthlion,

I am not able to reproduce this, I was hoping I could. This is a bit out of support, so I am going to move this over to the Development and Programming forum, you will get much needed help there.

You might also try Free Member which takes a lot of the headache out of these kinds of forms.

Cheers,

       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

Shane,

There is a link at the bottom of the Thank You message. Is there any way I could customize that link? Is it customizable through the control panel or maybe via the database?

thanks, leo

       
thefifthlion's avatar
thefifthlion
133 posts
13 years ago
thefifthlion's avatar thefifthlion

Shane,

Just reviewing some of my old support requests. Remember that “Free Member” worked like a charm. Thanks for the suggestions. Makes setting up standalone registration forms a breeze.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.