Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice