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.

Creating a custom welcome page

Discussion in 'General Discussion' started by ramborc, Oct 2, 2004.

  1. ramborc

    ramborc Member

    Joined:
    Sep 28, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    What I'd like to do is to send out an e-mail to my new customers with only the username and password and an URL like www.domainname.com/welcome.php . Going to the link, they'd be confronted with a login box and once they put in the username/password, they get to a welcome page that gives them startup info like where is this and that on the server, etc. I always found it lame to have a welcome page that says "your SMTP server is mail.yourdomain", it'd be a lot more professional to be able to automatically replace that part with his domain name. Once a user is logged into cPanel, this is possible, I've did that some years back, but this time I don't want to modify a cPanel skin, my changes would be most probably overwritten by the auto-update sooner or later.

    So what I'd need basically is a way to log in with the user info on a PHP page and be able to use cPanel variables. Is there a way to do this, and if yes, how?
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Do you know a little about perl programming?

    I have 1 script list in my custom scripts that is not ready to make public yet which makes it possible to automatically modify new account pages. It works and I use it myself. It's just not modified for easy use by others yet. If you know a little perl, it may be able to do what you want.

    I can put up what I have if you want to look at it.
     
  3. ramborc

    ramborc Member

    Joined:
    Sep 28, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just took a look at your site, if I understand it right if I donate 10 bucks and join your club, you'd write this script? I've no probs with it being released into the public domain, I even find that cool.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    A while back when only half of my scripts listed were ready, when someone joined the scripts club, they could let me know which of the other scripts they were waiting for and it was the next one that got done. This is now the only script listed that's not ready yet so it will obviously be the next one I get up. At the moment, I'm working on 2 web design jobs, and have other things going on as well, but I will try to get that last one done asap. I can try to get it up this week.

    Joining the club does give your wishes priority over others, but the work also has to fit into my schedule. The biggest advantage of joining the club is that when you go to use one of the scripts, if you have any trouble, assistance is free. I've had people ask me about the scripts, or problems they had with setting them up, in the past without signing up and I did help, but don't have time for that anymore. If anyone wants to use the scripts and needs help with them, they can at least donate $10.

    I can try to throw up a usable script later today and just make improvements and include more thorough instructions later.
     
  5. ramborc

    ramborc Member

    Joined:
    Sep 28, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just sent the 10 bucks over PayPal (name: Zoltan Orc), hope you can get something done in the next couple of days. :)
     
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I will probably get the last one up tonight. I started working on the modifications a couple days ago, but didn't have much time so couldn't get it good enough to put up.

    You will know within an hour when I put it up because that's when I will send the next newsletter to let the members know it is finally up.
     
Loading...

Share This Page