Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

users path

Discussion in 'General Discussion' started by rich2, Jul 16, 2002.

  1. rich2

    rich2 Well-Known Member

    Joined:
    Apr 9, 2002
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    306
    one question I get asked a ton by users is what their path is, is there a way to add this to the cpanel info when the user logs in. or anything else? since we have multiple drives its not always /home/username could be /home3 etc

    If cpanel is unable to do this, then this is a feature request :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    316
    Don't you send your users a welcome email with their account information? Include their home path in that email, that's what we do anyways.
     
  3. rich2

    rich2 Well-Known Member

    Joined:
    Apr 9, 2002
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    306
    of course we do, but as you must already know.... they either forget or lose that email and we always have them asking, if it was integrated into the cpanel on the front page like perl path is etc I'd probably get a lot less instances of that question
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ecoutez

    ecoutez Well-Known Member

    Joined:
    May 23, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    316
    Good Idea - here you go...

    I'm adding this to my &Server Information& section too - it's a good idea.

    &cpanel print=&$homedir&&

    - Jason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rich2

    rich2 Well-Known Member

    Joined:
    Apr 9, 2002
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    306
    Jason, where would I add this, I have not hacked around in CPanel much yet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ecoutez

    ecoutez Well-Known Member

    Joined:
    May 23, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    316
    Try this...

    Rich,

    Hopefully you're comfortable editing HTML. If so, this is pretty easy. You'll want to edit the appropriate theme. For bluelagoon (my preference) you could edit:

    /usr/local/cpanel/base/frontend/bluelagoon/index.html

    Find the table that has the &Sendmail Path& in it - that's the one on the left side of the screen. I just added another row under the Sendmail Path for &Home Dir Path& with the &cpanel print=&$homedir&& tag to print the variable.

    - Jason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice