Ryan Kent
Well-known member
Siteowners who also use VoIP services such as Ventrilo or Teamspeak may desire to offer their users the ability to connect to or monitor their VoIP service via their website. I have added a Ventrilo module to my forum side bar. If you are interested, follow the steps below:
- If you use Ventrilo, go to http://www.instantventrilo.com/ventrilo-server-status.php. For Teamspeak or other providers, there are many sites which offer similar code.
- Enter your ventilo IP and port, choose your cosmetic options, click the Generate Code button
- Copy the code and paste it into the forum_list template almost at the very end, just before the final </xenhook>
Note: if you have a small vent server the above code should work perfectly. If you have a large vent server I suggest you contain the block by using a vertical scroll bar. Below is the CSS
Screenshot:
Demo: http://terapvp.com/community/
The disclaimer below was shamelessly stolen from Rigel
License:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge.
Code fragments may reference code copyrighted by XenForo Ltd. This code may only be used by XenForo license holders.
- If you use Ventrilo, go to http://www.instantventrilo.com/ventrilo-server-status.php. For Teamspeak or other providers, there are many sites which offer similar code.
- Enter your ventilo IP and port, choose your cosmetic options, click the Generate Code button
- Copy the code and paste it into the forum_list template almost at the very end, just before the final </xenhook>
Code:
<!-- Adds Ventrilo block to be displayed on forums -->
<div class="section">
<div class="secondaryContent statsList" id="vent">
<h3>Ventrilo</h3>
<span id="instantventrilo"><a href="http://www.instantventrilo.com/">ventrilo</a> Hosting by InstantVentrilo.com</span><script type="text/javascript" src="http://view.light-speed.com/ventrilo.php?IP=yourventserver.com&PORT=00000&STYLE=2&CHANNEL_WNOUSER=YES&SHOW_IP_PORT=YES&HELP=YES&CONLINK=YES&WIDTH=225&FONTSIZE=10&BGCOLOR=FCFCFF&SN_BGCOLOR=fcfcff&SN_COLOR=000000&INFO_BGCOLOR=fcfcff&INFO_COLOR=FFFFFF&HELP_BGCOLOR=409DE0&HELP_COLOR=000000&CHANNEL_BGCOLOR=CCCCCC&CHANNEL_COLOR=000000&UN_BG=FFFFFF&UN=000000&METHOD=js"></script>
</div>
</div>
<!-- end Ventrilo block code -->
</xen:hook>
</xen:sidebar>
Note: if you have a small vent server the above code should work perfectly. If you have a large vent server I suggest you contain the block by using a vertical scroll bar. Below is the CSS
Code:
<!-- Contains Vent block on forums and adds vertical scroll bar -->
<style type="text/css">
#server_status_table {
width: 100% !important;
overflow: hidden;
overflow-y: auto;
height: 400px;
}
</style>
Screenshot:
Demo: http://terapvp.com/community/
The disclaimer below was shamelessly stolen from Rigel
License:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge.
Code fragments may reference code copyrighted by XenForo Ltd. This code may only be used by XenForo license holders.