Script Tips


NetBizCity - Script Tips
Wednesday, 15 February 2012 06:24

WHMCS Template viewer

Written by
How to view your WHMCS Template before you upload it WHMCS uses Smarty templates which can be setup on your PC to view your changes before you upload them. Of course there are some linits as the variables must be set for each page which make it a bit of a task. But if all you want to do is edit the header and footer then I have done the work for you. Create a…
Wednesday, 28 October 2009 15:41

How to customize the WHMCS Status page

Written by
Customizing the WHMCS Status Page on version 5.12 and lower.   To change the status page you need to edit the template file serverstatus.tpl. This is located under templates/default. The lines as follows that come as the default can be changed. <tr class="clientareatableheading"> <td>{$LANG.servername}</td> <td>HTTP</td> <td>FTP</td> <td>POP3</td> <td>{$LANG.serverstatusphpinfo}</td> <td>{$LANG.serverstatusserverload}</td> <td>{$LANG.serverstatusuptime}</td> </tr> {foreach key=num item=server from=$servers} <tr class="clientareatableactive"> <td>{$server.name}</td> <td>{get_port_status num="$num" port="80"}</td> <td>{get_port_status num="$num" port="21"}</td> <td>{get_port_status num="$num" port="110"}</td> <td><a href="{$server.phpinfourl}" target="_blank">{$LANG.serverstatusphpinfo}</a></td> <td>{$server.serverload}</td> <td>{$server.uptime}</td> </tr> As we…
Monday, 16 February 2009 21:50

Cron Jobs

Written by
Cron Jobs Linux has a very nice tool for those that want to have a scheduled action of some sort. The cron job allows you to set a script or command to run on a schedule that you set. The syntax for the command looks like this: 0 9 * * * * /home/mysite/cgi-bin/somescript.cgi You may want it to delete files every so often in a folder that has cache or other files that build…

 

 

Script Tips Search

Registered User