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.

Feature Lists and CPaddon Lists

Discussion in 'General Discussion' started by wilburburns, Nov 16, 2007.

  1. wilburburns

    wilburburns Member

    Joined:
    Nov 3, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    OK, I'm writing a script that basically pulls info from /var/cpanel/features and places the feature lists into a database to be read later.

    However, it appears as though each feature list file is different. Meaning that they don't all contain the same list with either 0 or 1 (on/off).

    Where can I get a true up to date list containing all of the options for features. Is this stored in the default feature list? It can't be default, because my default only has 3 lines. It appears as though the None feature list has everything disabled, but I can't remember if this is a file I created or is default with Cpanel..

    I really need to full list and for it to be maintained on my system so that I can create new fields in my DB as new features are available in WHM.

    The same goes for the CPaddons.

    Any suggestions on where to get this info??

    Cliff
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    There are 2 lists that are special: default and disabled. With disabled, if something is disabled, it is disabled server-wide and cannot be "un-disabled" by another feature list. Everything in this list is checked by default, meaning it is all enabled.

    Default is the list that is used by default for accounts which have no feature list assigned to the package their account is using.

    Keep in mind that occasionally tweaks are made to add things to the feature list. You can find the latest list of functionality by logging into feature manager in WHM. Not that new features have added to cPanel/WHM necessarily, sometimes the feature list doesn't sync with the latest functionality of cPanel/WHM. For example, the bugzilla report in regarding "Search Engine Submission" in the feature list when that was removed a while ago.
     
  3. wilburburns

    wilburburns Member

    Joined:
    Nov 3, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    HMMM, So, what you are saying is that none of those files contain what I will call a "Master List" of Features to be enabled or Disabled.

    That being said, Is there a "Master list" of of these Features. This must be available somewhere, because this list would be used to create the WHM Feature Editor Web Interface.

    I would really like a Master List File, which I could then script to update periodically. This Master List is what I am using to build my Database Table.

    Thanks,
    Cliff
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you're not making use of the disabled feature list, that's the closest thing to a master as everything in it is enabled by default. However, these things are subject to change.
     
  5. wilburburns

    wilburburns Member

    Joined:
    Nov 3, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I have a "Default", and I have a "None" File. I don't see anything named "disabled".

    What should that filename be?

    Cliff
     
Loading...

Share This Page