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!

WHM Plugin (Custom)

Discussion in 'cPanel Developers' started by LifeSteala, Jan 11, 2009.

  1. LifeSteala

    LifeSteala Member

    Joined:
    Dec 16, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    Hi, I created a plugin for WHM.

    I've put the file here: /usr/local/cpanel/whostmgr/docroot/cgi

    I chmod it to 777.

    How do I get it so under "Plugins" in WHM it displays a link which will take root users to my custom script?

    I've search a fair bit and couldn't find out how it is done.

    Thanks!
    LS
     
  2. LifeSteala

    LifeSteala Member

    Joined:
    Dec 16, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    I figured it out!

    The second line I had to add a middle parameter

    #WHMADDON:middle:last

    Just forgot the middle.

    Thanks
     
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