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.

Bandwidth used suggestion

Discussion in 'General Discussion' started by DN-Paul, Feb 9, 2004.

  1. DN-Paul

    DN-Paul Well-Known Member

    Oct 30, 2003
    Likes Received:
    Trophy Points:
    I don't know about anyone else here, but my clients like to see how much bandwidth they have remaining on their account, and not just how much they have used.
    Could cPanel add something to the x and x2 themes to display not only the total used bandwidth, but also the remaining?

    Currently everytime I update cpanel I have to modify the x and x2 themes to include this:
    <!-- bandwidth modification -->
    		      <td class="index1" width="120" nowrap>Transfer Used</td>
                          <td class="index2"><cpanel Stats="countbandwidth()"> MB</td>
                          <td class="index1" width="120" nowrap>Transfer Remaining</td>
                          <td class="index2">
    			f = <cpanel print="$CPDATA{'BWLIMIT'}"> / 1048576;
    			g = f - <cpanel Stats="countbandwidth()">;
    			document.write ( String(g) +" MB" );
    <!-- / bandwidth modification -->
    (came from these forums I think)

    But it would be nice to have something like this included by default.

    Anyone else have any thoughts on this?

Share This Page