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

Recent

Welcome to TinyPortal. Please login or sign up.

May 15, 2024, 08:17:00 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,188
  • Total Topics: 21,220
  • Online today: 183
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 69
  • Total: 69

[Block] ventrilo block

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lurker

I can not seem to get this to work at all, it brakes my entire website.

I do as the instructions says about creating a php block, the ventrilotest.php is setup correctly and I get a fatal error.

I am not using typefrag as a ventrilo server host however, which is probably one of the causes for this issue. I am using a separate webhosting service as well.

Anyone know a fix so I can actually be able to list my ventrilo server on my website.

This is the error:
"Fatal error: Call to undefined function: inlcude() in /home/xxxx/xxxxx/xxxxxx/Sources/Load.php(1737) : eval()'d code(35) : eval()'d code on line 1"

IchBin

Include is spelled wrong. :)

Murgen

Heya IchBin (ein Berliner?),

I managed to get the script working after chmod'ing the ventrilo directory to 755 and correcting the spelling but like you said, the lay-out need improvement. I checked ventrilospy.net and got an almost tailor-made script in java. It runs and looks like a charm.


    <script language="javascript" type="text/javascript">
       var vspy_width=160;
       var vspy_height=200;
       var vspy_style="160x200_html";
       var vspy_server="IP:port";
    </script>
    <script language="javascript" type="text/javascript" src="
http://ventrilo-monitor.com/js/show_ventrilo.js"></script>


This little script fits like a glove into a portalblock. [/list]

Murgen

    Can't modify cause of a persistant white page but all will understand the
follows after

<script language="javascript" type="text/javascript" src="http://ventrilo-monitor.com/js/show_ventrilo.js"></script>

addedsparkle

Just though I'd mention this since I beat my head against a brick wall trying to get this to work.

I was getting the "CVentriloStatus->Request() failed. PHP Unable to start external status process" error and couldn't work out why, the binary was there, in the right place, with the correct permissions. Then I tried running it from the shell prompt and got "Command not found". Wierd right? Well after some rooting around it turns out that this is what you get when you try to run a 32bit binary (as ventrilo_status is) on a 64bit system (which my hoster neglected to point out).

So, if you keep getting this error and you can't tell why, try doing uname -a to see if it's a 64 bit system and if it is you'll need to install the ia32-libs (or beg hoster) to make it run.

I'd suggest this is added to the original instructions post near the start of the thread.

IchBin

Thanks, added to my post on the frontpage that has the instructions.

Dramber

Got this working on my site using http://ventrilo-monitor.com/code/index.html
Very easy to configure and use. Just tweak to match your theme and put into a script box.

<script language="javascript" type="text/javascript">
    var vspy_width=156;
    var vspy_height=250;
    var vspy_style="custom_html";
    var vspy_server="your_vent_info.com:port";
    var vspy_background="101010";
    var vspy_fontcolor="FFFFFF";
    var vspy_linkcolor="1e90ff";
    var vspy_refresh=60;
</script>
<script language="javascript" type="text/javascript" src="http://ventrilo-monitor.com/js/show_ventrilo.js"></script>