How to re-enable signup

Discussion in 'aMember Pro v.4' started by barryisbatman, Jul 6, 2012.

  1. barryisbatman

    barryisbatman New Member

    Joined:
    Apr 27, 2012
    Messages:
    5
    I disabled new signups a month back and now I don't remember how to re-enable them.
    I remember I edited some phtml files in my app directory but don't quite remember which file it was and what were the contents...
    Yes, I did back that file up but unfortunately lost the backup file in a recent crash.

    Any help would be appreciated.
    Thanks.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    amember/application/default/views/signup/signup.phtml?

    Or the forms editor itself?

    David
  3. barryisbatman

    barryisbatman New Member

    Joined:
    Apr 27, 2012
    Messages:
    5
    Thanks for the reply, David.
    I'm pretty sure it was that signup.phtml file... Here are the contents of that file:

    Code:
    <?php
    if (empty($title)) $title=___('Sign-up');
    else $title=___($title);
    $this->setLayout('layout.phtml');
    include $this->_script('_error.phtml');
     
    $this->headScript()
            ->appendFile(REL_ROOT_URL . '/application/default/views/public/js/jquery/jquery.validate.js');
    ?>
    <div class="am-signup">
    <?php echo $this->blocks('signup/login/before') ?>
    <?php include $this->_script('signup/_login.phtml'); ?>   
    <?php echo $this->blocks('signup/login/after') ?>
       
    <?php echo $this->blocks('signup/form/before') ?>
    <?php include $this->_script('_form.phtml'); ?>
    <?php echo $this->blocks('signup/form/after') ?>
     
    </div>
    <?php include $this->_script('js.country_state.js'); ?>
    The signup page gives me a 404 error.

    Any idea what to edit in there? Sorry I'm not all that techie =)
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Why not reupload the original file?

    David

Share This Page