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.

Increase Number of Displayed Accounts?

Discussion in 'General Discussion' started by Jeff75, Aug 6, 2003.

  1. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Can somebody tell me how I can increase the number of listed accounts in WHM? I'd like to change this number to more like 100 or 200 instead of just 25.

    cPanel.net Support Ticket Number:
     
  2. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Anybody?

    cPanel.net Support Ticket Number:
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    You can always customize your WHM skin, the file in the "/usr/local/cpanel/whostmgr/docroot/themes" directory.

    Putting the link
    <a href="/scripts2/listaccts?viewall=1" target="mainFrame">List All Accounts</a>
    will list all accounts.

    I don't know if it's possible to list a different number of accounts since the list accounts script isn't directly accessible.
     
  4. Host4u2

    Host4u2 Well-Known Member

    Joined:
    Mar 24, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Very good question, and a great informative answer... Thank you!

    To add "List All Accounts" in WHM

    edit /usr/local/cpanel/whostmgr/docroot/themes/themename/head

    <tr>
    <td height=39><center><a href="/scripts2/whmnews" target="mainFrame">cPanel/WHM News</a></td>


    (add):
    </tr>
    <tr><td><center>
    <a href="/scripts2/listaccts?viewall=1" target="mainFrame">List All Accounts</a>
    </center></td>
    </tr>
     
    #4 Host4u2, Aug 9, 2003
    Last edited: Aug 9, 2003
  5. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    We go to the path above and under the x directory we do not see a head file we only see topframe.html and this is inside of it.

    PHP:

    </head>
    <
    body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/themes/x/topframe/news_on.gif','/themes/x/topframe/changelog_on.gif')">
    <
    table width="100%" border="0" cellspacing="0" cellpadding="0" height="40" background="/themes/x/topframe/top_bg.gif">
      <
    tr
        <
    td width="154" nowrap><img src="/themes/x/topframe/logo.gif" width="154" height="40"></td>
        <
    td background="/themes/x/topframe/top_bg.gif" width="86" nowrap><a href="/scripts2/whmnews" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('image1','','/themes/x/topframe/news_on.gif',1)"><img name="image1" border="0" src="/themes/x/topframe/news_off.gif" width="86" height="40"></a></td>
        <
    td background="/themes/x/topframe/top_bg.gif" width="65"><a href="http://layer1.cpanel.net/ChangeLog" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('image2','','/themes/x/topframe/changelog_on.gif',1)"><img name="image2" border="0" src="/themes/x/topframe/changelog_off.gif" width="65" height="40"></a></td>
        <
    td background="/themes/x/topframe/top_bg.gif" width="699">&nbsp;</td>
        <
    td align="right" valign="middle" width="256" background="/themes/x/topframe/right.gif" nowrap height="40"><font face="tahoma, arial, helvetica, sans-serif" size="1" color="#FFFFFF"
          <
    XskinWHM $WH_VERSION $beta cPanel $CP_VERSION&nbsp;&nbsp;<br>
          
    $BASEOS WHM X v2.1&nbsp;&nbsp; </Xskin> </font></td>
      </
    tr>
    </
    table>
    </
    body>
    </
    html>

    cPanel.net Support Ticket Number:
     
  6. Host4u2

    Host4u2 Well-Known Member

    Joined:
    Mar 24, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    For the x skin:

    edit /usr/local/cpanel/whostmgr/docroot/themes/x/topframe.html

    At the bottom of topframe.html, add the bold type below as shown:

    <Xskin> WHM $WH_VERSION $beta cPanel $CP_VERSION&nbsp;&nbsp;<br>
    $BASEOS - WHM X v2.1&nbsp;&nbsp; </Xskin>

    <br>
    <center>
    <a href="/scripts2/listaccts?viewall=1" target="mainFrame"><font color=#ffffff>List All Accounts</font></a>
    </center>


    </font>
    </td>
    </tr>
    </table>
    </body>
    </html>

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page