ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Front end registration interrupted by Smileys??

April 10, 2012 11:58am

Subscribe [1]
  • #1 / Apr 10, 2012 11:58am

    sherpanaut

    58 posts

    Hi I am working on a web app which requires a front end registration form. However each time that I submit a registration form, there is some sort of weird method smiley_pop function being called in mod.channel.php. I’m not sure why this is happening but it is imperative that we find out soon.

    When the smiley_pop function is called it seems to stop the native redirect occurring and therefore stops the user registration process.

    Any ideas?

    Here is my registration form. There is nothing majorly different about it to be honest so I don’t think it is a HTML issue:

    {embed='includes/document_head'}
     {embed='includes/header'}
     <div id="main">
      <div id="pjax">
       <div class="extra_bar clearfix"></div>
       <div class="content">
        <div class="box">
         <div class="bar">
          <h1>Create Member</h1>
         </div>
         <div class="block">
          <form id="register_member_form" method="post" action="/index.php">
           <!-- hidden fields -->
           <input type="hidden" class="hidden_val" name="XID" value="{XID_HASH}" />
           <input type="hidden" class="hidden_val" name="ACT" value="11" />
           <input type="hidden" class="hidden_val" name="RET" value="/index.php" />
           <input type="hidden" class="hidden_val" name="FROM" value="" />
           <input type="hidden" class="hidden_val" name="site_id" value="1" />
    
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Screen Name</label>
             <div>
              <input type="text" class="hidden_val" name="screen_name" value="test screen name" size="25"/>
             </div>
            </fieldset>
           </div>
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Password</label>
             <div>
              <input type="password" class="hidden_val" name="password" value="" size="25"/>
             </div>
            </fieldset>
           </div>
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Password (Confirm)</label>
             <div>
              <input type="password" class="hidden_val" name="password_confirm" value="" size="25"/>
             </div>
            </fieldset>
           </div>
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Email Address</label>
             <div>
              <input type="text" class="hidden_val" name="email" value="" size="25"/>
             </div>
            </fieldset>
           </div>
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Email Address (Confirm)</label>
             <div>
              <input type="text" class="hidden_val" name="email_confirm" value="" size="25"/>
             </div>
            </fieldset>
           </div>
    
           <div class="col_100"> 
            <fieldset class="label_side can_highlight">
             <label>Accept Terms</label>
             <div>
              <input type="text" class="hidden_val" value="y" name="accept_terms">
             </div>
            </fieldset>
           </div>
    
           <button class="green">
            <span>Submit</span>
           </button>
          </form>
         </div>     
        </div>
       </div>
      </div>
     </div>
     {embed='includes/footer'}
    </body>
  • #2 / Apr 10, 2012 11:17pm

    Dan Decker

    7338 posts

    Hi tricycleinteractive,

    I’m sorry to see you are running into trouble with your member registration form.

    Where did you find this example form? If you use the default member registration form, do you still have the same errors?

    The only thing that stands out would be your submit button. The standard registration form uses this:

    <input type="submit" value="Submit" class="submit">

    Can you swap that into your form for a quick test?

    Your “accept_terms” field is also a text type instead of a checkbox - not sure that matters but can you make that a checkbox for the test as well?

    And it would be great to see the error if you receive it again.

    I look forward to your reply!

    Cheers,

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases