Results 1 to 10 of 10

Thread: Bandwidth / Disk space graphs

  1. #1
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326

    Bandwidth / Disk space graphs

    Im assuming no one has developed anything of the such yet

    will try and get a script setup today with some instructions for you

    Chris
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  2. #2
    Join Date
    Jun 2003
    Posts
    1,471
    This would be cool
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  3. #3
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326
    sorry i havn't got it yet will have it soon

    Chris
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  4. #4
    Join Date
    Jun 2003
    Posts
    1,471
    Ah, that's alright. I just didn't want this thread to die
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  5. #5
    Join Date
    Jul 2003
    Posts
    2
    Great idea, hope to see it soon.

  6. #6
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326
    Speaking to spinnahost Mark nad he handed the code to me straight away!

    so thanks to SH-Mark for this

    in any files of your skin put the following code:

    between the <head> / </head> tags

    Code:
    <script language="JavaScript">  
    function percent(used, total) {  
       return used/total*100;  
    }  
      
    function graph(percent, image, height) {  
       document.write('<img src="'+image+'" height="'+height+'" width="'+percent+'%" />');  
    }  
      
    // to call: graph(percent(|USERBANDWIDTH|, |USERBANDWIDTHMAX|), IMG_GRAPHPIXEL, 10);  
    </script>
    where you want to display the graphs

    Code:
    <script>  
    graph(percent(|USERBANDWIDTH|, |USERBANDWIDTHMAX|), IMG_GRAPHPIXEL, 25); 
    </script>
    In file_user.conf add the following line:

    Code:
    IMG_GRAPHPIXEL=/images/graphpixel.gif
    upload a 1x1 (or if you want bigger.. have bigger ) so the image, "graphpixel.gif" is in the images directory.

    Any problems post here

    Chris
    Last edited by ProWebUK; 07-03-2003 at 02:57 AM.
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  7. #7
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280

    note

    that last number in the call is how high you want it, the IMG_GRAPHPIXEL should be a 1px by 1px image that you define in the files_user.conf

    its all tested, and all works

  8. #8
    Join Date
    Jul 2003
    Posts
    85
    anyone mind to post a screenshot?

  9. #9
    Join Date
    Feb 2005
    Posts
    294
    i 2nd that request , i like to see a screen shot
    ServerTweak Networks, LLC ServerTweak.com
    ServerTweak.com: Premium Services, Powered by Customers.
    Fremont & Los Angeles Locations | RAID 10 Dedicated Servers | Colocation | IP Transit | 1/4 - Full Cab & Cages sales

  10. #10
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,677
    me too
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

Similar Threads

  1. User xxx has used up xxx% of his/her bandwidth and 0% of his/her allocated disk space
    By bluejay1 in forum General Technical Discussion & Troubleshooting
    Replies: 1
    Last Post: 01-29-2013, 08:06 AM
  2. Bandwidth/disk space didn't update
    By sanderb123 in forum Admin-Level Difficulties
    Replies: 18
    Last Post: 09-21-2011, 11:27 PM
  3. disk space and bandwidth are not update
    By NewServ in forum General Technical Discussion & Troubleshooting
    Replies: 0
    Last Post: 08-30-2007, 01:12 PM
  4. disk space and Bandwidth DOES NOT WORK
    By magaf in forum General Technical Discussion & Troubleshooting
    Replies: 8
    Last Post: 02-22-2005, 10:54 PM
  5. Bandwidth and Disk Space
    By exposed in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 07-29-2003, 03:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •