Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    32
    Plugin Contributions
    0

    Default Welcome email AHHHHHH

    ive been through the doc files and see how it works but where is the actuall text located?
    create_account.php?

  2. #2
    Join Date
    Feb 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Welcome email AHHHHHH

    yep thats where it is...
    languages/english/create_account.php

  3. #3
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Welcome email AHHHHHH

    The developpers tool kit is your best friend for seeking words you are unable to track / find.

    From your admin section, go to: Tools - > Developpers Tool Kit and type on the first textbox: "Welcome message". Then, on your right, make sure to switch from ' none ' to ' store '.

  4. #4
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: Welcome email AHHHHHH

    Hi,

    I'm trying to change the greeting to say Dear Firstname.
    This is the first time I dwell into this and I am not a php expert :) so I need a little help.

    original define

    define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");

    Is this the correct way to apply the change I am looking for?

    define('EMAIL_GREET_MR', Dear $EMAIL_FIRST_NAME,' . "\n\n");

    Thanks

  5. #5
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Welcome email AHHHHHH


    define('EMAIL_GREET_MR', Dear $EMAIL_FIRST_NAME,' . "\n\n");
    It is doubtful this variable is being tracked from the language definition file you edited. Which is why, the '%s' was being used instead.

  6. #6
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: Welcome email AHHHHHH

    that was the create_account.php language file I was trying to edit.

    So where would I need to make this change?

    *pulls hair

  7. #7
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Welcome email AHHHHHH

    In your includes/modules/create_account.php file,

    find:


    $email_text = sprintf(EMAIL_GREET_MR, $lastname);
    } else {
    $email_text = sprintf(EMAIL_GREET_MS, $lastname);
    replace with:

    Code:
    $email_text = sprintf(EMAIL_GREET_MR, $firstname);
          } else {
            $email_text = sprintf(EMAIL_GREET_MS, $firstname);
    and replace the original definition from your language file you edited earlier.

    This should definitely resolve the issue.

 

 

Similar Threads

  1. v151 Preview welcome email and order confirmation email
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 18 Jan 2013, 10:52 PM
  2. Welcome email
    By nothingnuaghty in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Feb 2011, 04:39 AM
  3. Replies: 2
    Last Post: 21 Feb 2010, 04:33 AM
  4. welcome email problem and order confirmation email problems
    By oneelios in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2010, 11:18 AM
  5. Displaying User Email in Welcome Email
    By itsjosh in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 29 Sep 2009, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg