The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New account message

Discussion in 'General Discussion' started by tap, Feb 28, 2005.

  1. tap

    tap Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hello everybody!
    I have a question about a welcome message, which WHM sends to contact email after account creation, it` smth like this:
    | New Account Info |
    +===================================+
    | Domain: domain.com
    | Ip: 127.0.0.1 (n)
    | HasCgi: y
    | UserName: username
    | PassWord: password
    | CpanelMod: theme`s name
    | HomeRoot: /home
    | Quota: 50 Meg
    | NameServer: ns1.domain.com
    | Contact Email: support@domain.com
    +===================================+
    Account was setup by: root (root)

    So I want to change it to some more interesting words, welcome our new clients
    Where I can change this template?
     
  2. tap

    tap Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hey mans! Can anybody help me??!
     
  3. germanette

    germanette Active Member

    Joined:
    Jul 26, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    It's actually in a script file - it's not an editable template
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That's why when I create accounts I don't include the customers email. I have my own postwwwacct script that sends my own welcome email. You can find it in my sig.
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I did some cleaning up and modifying of some of my setups due to a few changes over the last several months and it appears that there is no automatic email sent to the customer when you set up an account. The email you are talking about is just sent to the account creator.

    The email to the customer is up to you to send.
     
  6. tap

    tap Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    thank you :)
     
  7. mafuz

    mafuz Registered

    Joined:
    Sep 17, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    hi there.
    squirrel, i'm using your postwwwacct, works fine,but i do want to send the user's passwd in their welcome email, but it sends me a kind of encripted stuff, something like fd:3:7, i create user via https, don't know if that helps.

    i try by copying the pass stuff from wwwacct but with no success at all,
    any help.

    thanks a bunch.
     
  8. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    The @ARGV array doesn't actually include the password on some servers. On mine I have to modify the wwwacct script to include that.

    If you want to make that change, find the following in the wwwacct script:
    if (-e "/scripts/postwwwacct") {
    system("/scripts/postwwwacct",@ARGV);
    }

    and change it to:
    if (-e "/scripts/postwwwacct") {
    system("/scripts/postwwwacct",@ARGV,$ip,$pass);
    }

    which is what I do.

    That would add 2 variables to the ARGV array.
    $ARGV[21] would be the actual IP address of the account which is currently not provided by default
    $ARGV[22] would be the actual password

    If you do make that change, you may want to use my watchwwwacct script. Many cpanel upgrades just put the wwwacct script back to what it was, in which case my watchwwwacct script would automatically put it back.
     
Loading...

Share This Page