Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 Customer Forums > WHMCS

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2008, 11:58 PM
rabble rabble is offline
Newbie
 
Join Date: Dec 2007
Posts: 10
Default Server Status in Admin of WHMCS

Hello,

I noticed that the Servers, veiwable through the Clients Page, (I used the other post to add all the severs), aren't showing in the Admin Server Info. Is there away to get it to show the same thing? I'm no programmer, but isn't it just calling the php to function in the template?

Below is a section from the whmcs admin "homepage.tpl"


<h1>Network Status <a href="{$smarty.server.PHP_SELF}?checknetwork=true" style="font-size:10px;">Check Network Status</a></h1>
<table width=100% bgcolor="#cccccc" cellspacing=1 id="adminhometable">
<tr style="background-color:#efefef;font-weight:bold;text-align:center"><td>Server Name</td><td>HTTP</td><td>Load</td><td>Uptime</td><td>% Used</td></tr>
{foreach key=num from=$servers item=server}
<tr bgcolor="#ffffff"><td align="center">{$server.name}</td><td align="center">{$server.http}</td><td align="center">{$server.load}</td><td align="center">{$server.uptime}</td><td align="center">{$server.usage}</td></tr>
{foreachelse}
<tr><td colspan=5 bgcolor=#ffffff align=center>No Servers Currently Setup</td></tr>
{/foreach}
</table>


Could the PHP from the other forum that shows how to get all the server locations to show be embedded in the above?

Or should it already be showing it?

Do I not have a clue, and got something configured wrong?

Everything seems to work ok with account creations and all, just noticed that you (I) don't see the same sever info in the admin, thought it would be nice.


Thanks

Rabble

Last edited by rabble; 03-21-2008 at 12:02 AM.
Reply With Quote
  #2  
Old 03-21-2008, 04:34 PM
DiverseHosting DiverseHosting is offline
Aspiring Evangelist
 
Join Date: Jan 2008
Location: California
Posts: 364
Send a message via AIM to DiverseHosting Send a message via MSN to DiverseHosting Send a message via Yahoo to DiverseHosting
Default

I haven't tried this, but adding:

Code:
include("/templates/portal/serverstatus.tpl");
Should work. It might be alot of info to add to the admin page though (it might make it quite large, or mess up the formating).

This is the kind of thing you might have to play around with for awhile (I know you aren't a coder).

I think this is something that would be nice to have, and it has been on my todo list. I just haven't got around to it yet. If you giveme a couple days I will add it in to mine, and post how I did it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Status Craig WHMCS 1 04-17-2010 06:01 PM
WHMCS Server Status Page Script. DaveyC WHMCS 109 02-08-2010 03:01 AM
WHMCS Server Status Integration Olipro WHMCS 7 11-27-2009 06:03 AM
Updated: WHMCS Server Status Page (With MySQL) christopherdowns WHMCS 5 07-31-2009 02:52 PM
Status of the WHMCS + RC combo Ace WHMCS 13 04-15-2008 11:09 AM


All times are GMT -5. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.