Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5
Author Message
nefar
Regular
Regular



Joined: Sep 20, 2004
Posts: 79

PostPosted: Sun Nov 21, 2004 11:12 am Reply with quote

Hello,
I just got a new company for my ventrilo server and had to make a new block to show it's stats. The company gives me a java sniplet to use. [ Only registered users can see links on this board! Get registered or login! ]
they have me put that url but in scrip tags.

Problem is no matter what way I use to get it either with
$content content = file_get_contents
or with content = (the script start and url

it prints out a bunch of crap inside my block.
document.write(" "); document.write(""); document.write("> "); document.write("AFK"); document.write(""); document.write("
"); document.write("> "); document.write("Nefar"); document.write(""); document.write("
"); document.write("> "); document.write("Vorsh"); document.write(""); document.write("
"); document.write("
"); document.write(" ");document.write("
"); document.write(" "); document.write(""); document.write("> "); document.write("Instances"); document.write(""); document.write("
"); document.write("
"); document.write(" ");document.write("
"); document.write(" "); document.write(""); document.write("> "); document.write("Private Chat"); document.write(""); document.write("
"); document.write("
"); document.write(" ");document.write("
"); document.write("


Anyone have a clue on this?
 
View user's profile Send private message ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Nov 21, 2004 1:50 pm Reply with quote

Have you read the sticky in the How To section on how to include JavaScript in your blocks?
 
View user's profile Send private message
nefar







PostPosted: Mon Nov 22, 2004 10:01 am Reply with quote

Yes, I read that yesterday. I tried posting the differant code I used but sent kept picking it up as an attack.
 
Raven







PostPosted: Mon Nov 22, 2004 12:53 pm Reply with quote

You have to split the script tag

<scr ipt or <scr~ipt
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5

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 ©