Signup Template

Discussion in 'Troubleshooting' started by neil, Jan 25, 2011.

  1. neil

    neil New Member

    Joined:
    Jan 10, 2011
    Messages:
    3
    I am new to aMember having taken over an existing phpBB Forum with aMember included. I have no knowledge of how well or how badly the previous Forum Admin installed aMember, but contrary to the Read Me he would appear to have made edited Template text changes directly to the <en.php> file rather than the <en-custom.php> file.

    So these lines are from the <en.php> file:

    43define ('_TPL_SIGNUP_LOGIN', 'Please enter a username or *Affix');
    44define ('_TPL_SIGNUP_LOGIN_1', '*Only UK Breed Club Members');
    45define ('_TPL_SIGNUP_LOGIN_2', 'may register an Affix as a username');
    46define ('_TPL_SIGNUP_LOGIN_3', 'in order to subscribe to our Breeders Service.');

    and I have edited the <en-custom.php> file to read this:

    43define ('_TPL_SIGNUP_LOGIN', 'Choose a Forum Login Name (User ID)');
    44define ('_TPL_SIGNUP_LOGIN_1', 'The Login Name you choose');
    45define ('_TPL_SIGNUP_LOGIN_2', 'will be the Forum User Name');
    46define ('_TPL_SIGNUP_LOGIN_3', 'you enter every time you need to Register');

    Ideally, I would like to delete lines 44/46, I only edited the text so as to replace the text entered on the <en.php> file, but as a newbie to aMember, and unfortunately, as a newbie to php, I am unable to successfully delete the unwanted lines. If I do simply delete the lines then all sorts of error messages appear on the Signup page, so any suggestions will be gratefully received.

    Many thanks

    Neil
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Leave them. If you delete them you will get error message as you have found.

    They will be effectivly ignored if you have defined them in the custom file.

    Or you could replace them with the originals if you really want to makes no odds:
    Code:
    define ('_TPL_SIGNUP_EMAIL_2', 'to you at this address');
    define ('_TPL_SIGNUP_LOGIN', 'Choose a Login Name (User ID)');
    define ('_TPL_SIGNUP_LOGIN_1', 'It must be %d or more characters in length and may');
    define ('_TPL_SIGNUP_LOGIN_2', 'only contain small letters, numbers, and');
    define ('_TPL_SIGNUP_LOGIN_3', 'the underscore \'_\'');
    define ('_TPL_SIGNUP_CHECK_UNIQ', 'check for uniqueness');

Share This Page