PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
radar
New Member
New Member


Joined: Aug 19, 2007
Posts: 5

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

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: 2401
Location: Iowa, USA

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

are you setting $content = all the stuff your hosting company gave you?
View user's profile Send private message
radar
New Member
New Member


Joined: Aug 19, 2007
Posts: 5

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

no it starts off <script lanquage and ending with script> with every thing in between. you can see the image here on my site
Only registered users can see links on this board!
Get registered or login to the forums!
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
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

Did you make this as a file block? Or did you just paste the code into the block admin panel?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

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;

?>
View user's profile Send private message
radar
New Member
New Member


Joined: Aug 19, 2007
Posts: 5

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

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


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

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

PM me the file block, or post it here and I can try to take a look at it.
View user's profile Send private message
radar
New Member
New Member


Joined: Aug 19, 2007
Posts: 5

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

Go here
Only registered users can see links on this board!
Get registered or login to the forums!
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
View user's profile Send private message
Doulos
Involved
Involved


Joined: Jun 06, 2005
Posts: 360

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message
radar
New Member
New Member


Joined: Aug 19, 2007
Posts: 5

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

It worked great thanks you guys no it all. thanks again for the help!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum