Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> JavaScript
Author Message
radar
New Member
New Member



Joined: Aug 19, 2007
Posts: 5

PostPosted: Sun Aug 19, 2007 2:36 pm Reply with quote

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.
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sun Aug 19, 2007 3:34 pm Reply with quote

are you setting $content = all the stuff your hosting company gave you?

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
radar







PostPosted: Sun Aug 19, 2007 4:42 pm Reply with quote

no it starts off <script lanquage and ending with script> with every thing in between. you can see the image here on my site www.thesnipersquad.com 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







PostPosted: Sun Aug 19, 2007 5:18 pm Reply with quote

Did you make this as a file block? Or did you just paste the code into the block admin panel?
 
Gremmie







PostPosted: Sun Aug 19, 2007 5:20 pm Reply with quote

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







PostPosted: Sun Aug 19, 2007 6:00 pm Reply with quote

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







PostPosted: Sun Aug 19, 2007 7:30 pm Reply with quote

PM me the file block, or post it here and I can try to take a look at it.
 
radar







PostPosted: Sun Aug 19, 2007 8:15 pm Reply with quote

Go here www.thesnipersquad.com 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
Life Cycles Becoming CPU Cycles



Joined: Jun 06, 2005
Posts: 732

PostPosted: Sun Aug 19, 2007 8:38 pm Reply with quote

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 http://doulos-usa.com/public/block-Ventrilo.zip .
 
View user's profile Send private message
radar







PostPosted: Sun Aug 19, 2007 9:01 pm Reply with quote

It worked great thanks you guys no it all. thanks again for the help!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> JavaScript

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©