ASK: Cara display Mikrotik graph (MRTG) di WHMCS


Status
Not open for further replies.
Beuh... Opensource itu bukan berarti gratisan bos.... opensource itu kan artinya coding nya gak di encode, jadi bisa di modif gitu...

iya juga sich :D hehehehe.... kali2 ada yg tau gratisan kaya begini, boleh donk di info :)
 
HTB Bandwidth Graphs WHMCS

Tuan bisa di coba addon WHMCS yang ini:

HTB Bandwidth Graphs WHMCS

Atau bisa integrate manual pada template client area untuk menampilkan grafik dari Limiter pada simple queue Mikrotik dan codingannya mungkin seperti ini:
Code:
<p class="heading2">MRTG Bandwidth Graphs</p>

<table cellspacing="1" cellpadding="0" class="frame">
  <tr>
    <td width="1536"><table width="100%" cellpadding="2">
      <tr>
        <td class="fieldarea">Daily Graph (5 Min): </td>
        <td><div align="center"><img src="http://{$customfields.1.value}/graphs/queue/{$customfields.2.value}/daily.gif" alt="" /></div></td>
      </tr>
      <tr>
        <td class="fieldarea">Weekly Graph (30 Min): </td>
        <td><div align="center"><img src="http://{$customfields.1.value}/graphs/queue/{$customfields.2.value}/weekly.gif" alt="" /></div></td>
      </tr>
      <tr>
        <td class="fieldarea">Monthly Graph (2 Hour): </td>
        <td><div align="center"><img src="http://{$customfields.1.value}/graphs/queue/{$customfields.2.value}/monthly.gif" alt="" /></div></td>
      </tr>
      <tr>
        <td class="fieldarea">Yearly Graph (1 Day): </td>
        <td><div align="center"><img src="http://{$customfields.1.value}/graphs/queue/{$customfields.2.value}/yearly.gif" alt="" /></div></td>
      </tr>
    </table></td>
  </tr>
</table>

Note untuk nilai customfields:
{$customfields.1.value} = IP Mikrotik
{$customfields.2.value} = Nama Simple Queue Client

Mohon maaf jika ada kekeliruan....CMIIW
 
Status
Not open for further replies.
Back
Top