cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you elaborate on which part of the documentation you have questions about? Note that the following document is a good place to start:

Intro to cPAddons

Thank you.
 

somepoortech

Registered
May 9, 2013
4
0
1
cPanel Access Level
Root Administrator
I'm not 100% on this really.
What I'm trying to do is create a new field that would be attached to an account and viewable in the account list.

If I need to create an Addon to do this so be it. I would love if you could point me at someone who has already done this or a better / built in way.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
The document you referenced is for the cPAddons system. The cPAddons system allows a script to be packaged up so that it can be installed on a user's website, upgraded, uninstalled and otherwise managed from cPanel and WebHost Manager. I'm not sure that you are seeking to develop something like that. Could you elaborate on the specific location or option that you want to customize?

Thank you.
 

somepoortech

Registered
May 9, 2013
4
0
1
cPanel Access Level
Root Administrator
So on the list accounts page where whm users can see what accounts they own I need to add another column called 'Account Number' so I can see relate a website to a number to ID them in other systems.

This is not something the website user accounts would need to see.
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
In short, you can't change the existing feature in WHM. The script that generates "List Accounts" is part of WHM's compiled CGIs. It's called through:

Code:
/usr/local/cpanel/whostmgr/bin/whostmgr4 listaccts
What you can do, if you have the time, knowledge, and patience, is create your own WHM plugin to customize the display. All the data in List Accounts is accessible via API:

List Accounts

Here's some info on creating WHM plugins:

How to Create a WHM Plugin

If this isn't something you fancy doing yourself, you can consider hiring someone to do it for you - I'd imagine that anyone vaguely familiar with the APIs and structure of WHM plugins could do this easily.