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.

Addon

Discussion in 'cPanel Developers' started by WPro, Feb 4, 2007.

  1. WPro

    WPro Registered

    Joined:
    Jan 29, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am trying to setup a small system for my whm/cpanel, planning to place a small script under /3rdparty/ folder

    Can someone tell me how to do the following:
    1)Place a link with image and title in cpanel home (like fantastico) (x theme is enough)
    2)check that login session is valid and that user is actually logged into cpanel
    3)Get the user's username and password
    DONE 4)get a list of the user's main(base) domain, addon domains, parked domains, subdomains and their absolute paths
    DONE 5)Check if the user is within the limit of their allocated mysql databases. If so, create a new mysql user and mysql database


    5)Place a link under "addons" in WHM
    6)Likewise, a way check to see if reseller has logged in

    It gets more involved than this, but if I know all the above, I can handle the rest.
    By the way, this isn't some massive project. What I am trying to do is sort of like a script installer (for one of my simple scripts).


    Otherwise, can someone send me some sort of open source installer script so that I can adapt accordingly.
     
    #1 WPro, Feb 4, 2007
    Last edited: Feb 4, 2007
Loading...

Share This Page