| Author |
Message |
radar New Member


Joined: Aug 19, 2007 Posts: 5
|
Posted:
Sun Aug 19, 2007 2:36 pm |
|
my ventrilo hosting company has a java script which you can copy and paste in your website that shows ventrilo image and who's online, problem is I put it in a block-ventrilo and when I activate it the image shows up out side of the box not in. do you have a php code that will confine it inside of the block thanks. |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sun Aug 19, 2007 3:34 pm |
|
are you setting $content = all the stuff your hosting company gave you? |
|
|
|
 |
radar New Member


Joined: Aug 19, 2007 Posts: 5
|
Posted:
Sun Aug 19, 2007 4:42 pm |
|
no it starts off <script lanquage and ending with script> with every thing in between. you can see the image here on my site if you would like I can email you the block so you can take a look at it. the hosting company told me to use a Ibeam but that didn't work either |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sun Aug 19, 2007 5:18 pm |
|
Did you make this as a file block? Or did you just paste the code into the block admin panel? |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sun Aug 19, 2007 5:20 pm |
|
Here is a good template for a file block:
| Code: |
<?php
if ( !defined('BLOCK_FILE') ) {
Header('Location: ../index.php');
die();
}
$content = <<<END_CONTENT
(put all that script stuff here)
END_CONTENT;
?>
|
|
|
|
|
 |
radar New Member


Joined: Aug 19, 2007 Posts: 5
|
Posted:
Sun Aug 19, 2007 6:00 pm |
|
I copy and pasted the script in the brackets and out gave me a syntax error I'll try again. I Made this a file block-Ventrilo |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sun Aug 19, 2007 7:30 pm |
|
PM me the file block, or post it here and I can try to take a look at it. |
|
|
|
 |
radar New Member


Joined: Aug 19, 2007 Posts: 5
|
Posted:
Sun Aug 19, 2007 8:15 pm |
|
Go here the to downloads the communications and look for the ventrilo script block. I put it in a zip file for you to download and take a look at it, I cannot post it or pm this server blocks it. thanks |
|
|
|
 |
Doulos Involved


Joined: Jun 06, 2005 Posts: 360
|
Posted:
Sun Aug 19, 2007 8:38 pm |
|
You need to convert into a php block file. All you did was include the script in a file called block-Ventrilo.php
Try this . |
|
|
|
 |
radar New Member


Joined: Aug 19, 2007 Posts: 5
|
Posted:
Sun Aug 19, 2007 9:01 pm |
|
It worked great thanks you guys no it all. thanks again for the help! |
|
|
|
 |
|
|
|
|