TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 643
  • Total: 644
  • tino

[Block] ventrilo block

Started by Moocat, October 04, 2005, 06:34:18 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

WalknBullseye

Quote from: IchBinâ„¢ on October 04, 2005, 09:08:53 PM
Ok, here's the ventrilo files. I have it working on my site with no errors. All I've done is edit the files so that it would only display the channels and users on the server. I commented "//" out all the lines that weren't needed and added a few things to make it work a little better. All credit goes to the creator of the scripts not me. :) If you'd like to see a working version of this feel free to visit my site at http://www.tmrules.com

Instructions:
First thing you need to know, is your servers operating system windows or Linux? Depending on which one you have you need a certain file to be included with these scripts. This file is called ventrilo_status (for linux) or ventrilo_status.exe (for windows). If you need the windows file you can download it in the ventrilo server package located at http://www.ventrilo.com/download.php for windows. I've included the file for linux in this package. It's a good idea to check with your host to make sure its ok that you have Executable files on their computer. :)

Ventrilo server settings that need to be changed:
Server Status Queries Enabled and  Server Status Password if you so desire.

Next you need to edit one file.
Open up ventrilotest.php and scroll until you see these lines:
//The next 6 lines are the only thing you need to change.
$stat->m_cmdprog = "/path/to/ventrilo_status"; // Adjust accordingly (full path recommended)
// The ventrilo_status file must be in the same directory as this script
$stat->m_cmdcode = "2"; // Detail mode.
$stat->m_cmdhost = "IP or domain here"; //IP or Domain
$stat->m_cmdport = "3835"; // Port used for your ventrilo.
$stat->m_cmdpass = "YourPassword"; // Status password if necessary.



Everything that needs to be changed is pretty much self explanatory.
If you get any errors about no status it is likely caused by things such as:
path to ventrilo_status is not correct, server settings not set. Always double check your settings. :)

Once all that is done go into TPadmin and add a php block. All you need to put in it is this line right here:
inlcude ('ventrilo/ventrilotest.php');
Of course, make sure your path is correct if you don't put the ventrilo folder in your root folder of your website.

I'm probably going to keep working on this to make the text a little more fitting to my theme. Just thought I'd share since a couple of you seemed interested. Good luck!

I may be dense and just missing something but...
What files are you talking about?  I don't see any links to the files .  I don't see any any of the mentioned files in this posting in any of the ventrilo installations with the exception of the ventrilo_status file. 
Am I missing something?

IchBin

We lost a lot of attachments in the move when we changed servers here. I would highly suggest you use one of the sites that provide this service for free, which have been posted on the last page or 2 in this thread.

WalknBullseye

www.ventrilospy.net seems to be a dead link and
http://www.serverspy.net/site/ is a now a pay only feature.

IchBin

Hmm.. I'll have to ask the guy about ventrilospy.net I think he's still on my MSN. Other than that, here's the zip.

TiKi-Cobra

Is there any Possible solution for people that dont host there own vent server, but use one that belongs to somebody else? (Friend of a clan member)

WalknBullseye

vetrilospy is up and running now (server change).
It works great, all you need is the vent server info to use.

TiKi-Cobra



IchBin

Quote from: TiKi-Cobra on January 11, 2007, 11:52:09 PM
Can you link me? :D
Or you could read up about 5 or 6 posts.....


This website is proudly hosted on Crocweb Cloud Website Hosting.