| Tutorials Main Latest Tutorials Popular Tutorials Top Rated Tutorials |
| Login to See your Favorite Tutorials |
| Description: This is very simple code to add a Ventrilo connect button to your site. It will allow users to easily connect to your Ventrilo server from the web site. | |
| Version: 1.0 | |
| Added on: 24 June 2008 | |
| Author: Floppy | |
| Difficulty Level: Very Easy | |
| Views: 825 | |
| Rating: 10.0 (1 Vote) | |
It is rather simple mechanics. The following code can be inserted nearly anywhere.
| Code: |
| $host = '0.0.0.0'; //You can use an ip or actual host name
$port = '0000'; //Farily simple should explain itself $servername = 'myservername'; //Just modify this so it matches your desired server name //For a block $content = '<a href="ventrilo://'.$host.':'.$port.'/servername='.$servername.'">Join Server</a>'; //For a module echo '<a href="ventrilo://'.$host.':'.$port.'/servername='.$servername.'">Join Server</a>'; |