Skip to main content

How to create a Plugin (WHM & cPanel)

Comments

9 comments

  • speckados
    Thanks for your tuto. It's possible made a plugin only with PHP? It's possible a simple tutorial how this for "PHP Users" ... thanks
    0
  • cPanelPeter cPanel Staff
    Hello, The programming language you decide to use for your app is irrelevant. Write your PHP code for your App/Plugin and use that instead. It can be written in any language you wish.
    0
  • chiencongvn
    Thanks for your tutorial ! it is a comprehensive guide for beginners like me
    0
  • danielpmc
    Hello cPanelPeter, This is exactly what i have been looking for. cPanelBenny suggested that a feature request i had recently submitted would be a good idea for a cPanel plugin. This is very well written for a first time plugin coder such as me. Thank you very much for the tutorial and your time, danielpmc
    0
  • cPanelPeter cPanel Staff
    Hello cPanelPeter, This is exactly what i have been looking for. cPanelBenny suggested that a feature request i had recently submitted would be a good idea for a cPanel plugin. This is very well written for a first time plugin coder such as me. Thank you very much for the tutorial and your time, danielpmc

    Hi Daniel, I'm glad you like it. Hope it gets your plugin off the ground.
    0
  • cPanelPeter cPanel Staff
    I've updated both plugins infection scanner - for cPanel UI and RBL Check for WHM UI to work with version 64. The only change really is to add the following to the rblcheck.conf file:
    # Target (frame). In 64 and later, this defaults to _blank. Use mainFrame to open within WHM target=mainFrame
    This allows the RBL Check to stay within the main WHM frame instead of opening in a new window.
    0
  • cPanelPeter cPanel Staff
    Hello, I just updated the RBL Check plugin again for version 66. A few minor changes had to be done to the code to accommodate the no frames in WHM. However the instructions of how to create a plugin and register it are still valid and remain the same.
    0
  • Lucas
    I've updated both plugins infection scanner - for cPanel UI and RBL Check for WHM UI to work with version 64. The only change really is to add the following to the rblcheck.conf file:
    # Target (frame). In 64 and later, this defaults to _blank. Use mainFrame to open within WHM target=mainFrame
    This allows the RBL Check to stay within the main WHM frame instead of opening in a new window.

    Is it now target=_self as per the documentation here? Guide to WHM Plugins - AppConfig Configuration File - Software Development Kit - cPanel Documentation
    0
  • cPanelMichael
    Is it now target=_self as per the documentation here? Thank you.
    0

Please sign in to leave a comment.