Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member shaun_s's Avatar
    Join Date
    Oct 2006
    Posts
    8

    Default want to add modules in WHM

    Hello,

    Can anyone tell me how I can add my module or my icons in the webhost manager ? We want to modify the webhost manger, we would like to add our web mail module in the WHM, that is our icon should be seen under the Email option in the WHM, so that when we click on that icon, it will open up our new webmail. Can someone help us with that. Sorry, If I am being stupid, But I am a complete newbie.


    Thank you
    Shaun

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by shaun_s View Post
    Hello,

    Can anyone tell me how I can add my module or my icons in the webhost manager ? We want to modify the webhost manger, we would like to add our web mail module in the WHM, that is our icon should be seen under the Email option in the WHM, so that when we click on that icon, it will open up our new webmail. Can someone help us with that. Sorry, If I am being stupid, But I am a complete newbie.


    Thank you
    Shaun
    Do you mean the cPanel interface rather than the WHM interface? I ask since there is no Email icon in the WHM interface, but there is a Webmail icon in the cPanel interface.

    You can remove our icon from the interface by going to WHM -> Packages -> Feature Manager and removing that from the "disabled" feature list. This will also prevent your resellers from accidentally re-enabling this functionality.

    To add your own icon/functionality to the cPanel interface, you would create a cPanel Plugin. Documentation for that is available at: http://www.cpanel.net/plugins/devel/

  3. #3
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default hidden cpaddons

    Is it possible to utlize a hidden cpAddon via a cPanel plugin icon ?

    In short - if we can hide a cPAddon that we have created from everyone under the site software (actually does not matter if it is there or not in reality) and enable us the ability to provide the install via the cPanel link that would be excellent -

    I do not follow the documentation 100% however -
    am I missing something here ?



    Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by hostmedic View Post
    Is it possible to utlize a hidden cpAddon via a cPanel plugin icon ?

    In short - if we can hide a cPAddon that we have created from everyone under the site software (actually does not matter if it is there or not in reality) and enable us the ability to provide the install via the cPanel link that would be excellent -

    I do not follow the documentation 100% however -
    am I missing something here ?
    When something is hidden via Feature Manager, it is also disabled. Meaning even if you request that URL directly, you will be unable to use that functionality. I doubt you will be able to trigger disabled functionality via a plug-in.

  5. #5
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default

    Quote Originally Posted by cPanelDavidG View Post
    To add your own icon/functionality to the cPanel interface, you would create a cPanel Plugin. Documentation for that is available at: http://www.cpanel.net/plugins/devel/
    How do you create an icon/plugin for WHM? Does it have to be in the exact same format as the above mentioned cpanel plug in? I looked all around and found the page that stated "Generate a cPanel Plugin installation file." Which by the way is here in case anyone is looking for it...

    http://www.cpanel.net/plugins/devel/installgen.html

    But I was unable to find that exact same page for WHM. Could you please clarify a little bit on how you do this specifically for WHM?

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by wsenter View Post
    How do you create an icon/plugin for WHM? Does it have to be in the exact same format as the above mentioned cpanel plug in? I looked all around and found the page that stated "Generate a cPanel Plugin installation file." Which by the way is here in case anyone is looking for it...

    http://www.cpanel.net/plugins/devel/installgen.html

    But I was unable to find that exact same page for WHM. Could you please clarify a little bit on how you do this specifically for WHM?
    The procedure for WHM plugins is vastly different. The general consensus at this time is if you wish to build a WHM plug-in, take one of the ones we bundle, copy it then reverse engineer it to your needs.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2006
    Posts
    654

    Default

    When something is hidden via Feature Manager, it is also disabled. Meaning even if you request that URL directly, you will be unable to use that functionality
    If only that were true.

    Try disabling the default mail option. The icon disappears but at the bottom of the email management page in cpanel there is a link to it. Clicking the link takes you to the default mail page.

    This makes it impossible to prevent your customers from setting up catch-all mailboxes, should you want to do that.

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by 4u123 View Post
    If only that were true.

    Try disabling the default mail option. The icon disappears but at the bottom of the email management page in cpanel there is a link to it. Clicking the link takes you to the default mail page.

    This makes it impossible to prevent your customers from setting up catch-all mailboxes, should you want to do that.
    Are you using the X, XMail, X2, X3Mail or X3 skin? Can you tell me where precisely you see this link because I am having difficulty reproducing this on my test server. I do not know what you mean by "email management page" - I'm assuming you mean the "Email Accounts" page.

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2006
    Posts
    654

    Default

    Yes, you are correct. The link is no longer included. I'm pleased to see that no longer happens.

    I'm disappointed to see this message....

    "Note: Your default account has been set to either reject incoming email or forward it to another account."

    Very confusing to the customer. If they are not given a default account option - they will have no clue what that means. Any reference to "default "account" is only valid if the customer is aware that such a thing exists. If it is disabled, telling them about it is not going to help at all.

    I would advise that the correct behaviour is to remove all references to a "default account" if that option is disabled.

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by 4u123 View Post
    Yes, you are correct. The link is no longer included. I'm pleased to see that no longer happens.

    I'm disappointed to see this message....

    "Note: Your default account has been set to either reject incoming email or forward it to another account."

    Very confusing to the customer. If they are not given a default account option - they will have no clue what that means. Any reference to "default "account" is only valid if the customer is aware that such a thing exists. If it is disabled, telling them about it is not going to help at all.

    I would advise that the correct behaviour is to remove all references to a "default account" if that option is disabled.
    That sounds like a good idea. I'd recommend submitting an official feature request to http://bugzilla.cpanel.net so we don't inadvertently overlook such a suggestion. Additionally, if you submit the request, you will receive updates via email regarding its implementation.

Similar Threads & Tags
Similar threads

  1. how can I add PHP modules to cpsrvd?
    By mangoo_ in forum E-mail Discussions
    Replies: 1
    Last Post: 08-26-2011, 04:26 AM
  2. How to add apache modules?
    By EthraZa in forum New User Questions
    Replies: 6
    Last Post: 08-28-2009, 06:48 PM
  3. WHM Perl Modules Documentation
    By nickp666 in forum cPanel Developers
    Replies: 8
    Last Post: 11-04-2008, 09:36 AM
  4. Add on Modules from command line ???
    By linuxmav in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-04-2005, 03:52 PM
  5. modules are not showing in WHM
    By rockster in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-23-2004, 02:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube