|
|||
|
When i use function Cpanel::StatsBar::stat this not show all statistics
Disk Space Usage * Monthly Bandwidth Transfer * MySQL Disk Space * Postgresql Disk Space * Email Accounts * Subdomains * Parked Domains * Addon Domains * Ftp Accounts * SQL Databases * Mailing Lists * Hosting package hostpack cPanel Version 11.4.6-RELEASE Theme x3 Apache version 1.3.37 (Unix) PHP version 5.2.1 MySQL version 4.1.22-standard Architecture i686 Operating system Linux Shared Ip Address 212.146.x.x Path to sendmail /usr/sbin/sendmail Path to PERL /usr/bin/perl Kernel version 2.6.x the script used is the follow <table> <?cp StatsBar::stat([tr][td]%[/td][td]%[/td][/tr],item,value) display=diskusage|bandwidthusage|mysqldiskusage|po stgresdiskusage|emailac_counts|subdomains|parkeddo mains|addondomains|ftpaccounts|sqldatabases|mailin glists|hostingpackage|cpanelversion|theme|apacheve rsion|phpversion|mysqlversion|machinetype|operatin gsystem|sharedip|dedicatedip|sendmailpath|perlpath |kernelversion| ?> </table>
__________________
Marian Cursaru |
|
||||
|
Quote:
Are you trying to change this API call (such as via the Branding Editor to hide certain statistics) or are you trying to call this from a remote script (such as a PHP script on a website)?
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
|
||||
|
** I've moved this thread to Developer Corner since this entire thread is a discussion about our APIs so far. **
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
![]() |
| Thread Tools | |
| Display Modes | |
|
|