Increase Number of Displayed Accounts?

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
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:
 

PWSowner

Well-Known Member
Nov 10, 2001
2,903
4
343
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.
 

Host4u2

Well-Known Member
Mar 24, 2002
247
0
316
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>
 
Last edited:

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
708
0
316
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"> 
      <Xskin> WHM $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:
 

Host4u2

Well-Known Member
Mar 24, 2002
247
0
316
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: