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
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Tue Apr 14, 2009 8:09 pm Reply with quote Back to top

Hi all and thanks for looking at this code, I'm trying to add this to a php block so people can see who is in my chat room here is the code I was given.

<script type="text/javascript" src="http://videocallroom.oovoo.com/oovoomelink/codelib/oovoorooms.js"></script>
<script src='http://java.com/js/deployJava.js'></script>
<script type='text/javascript'>
roomProps.roomID = '62AAF8B4E7AD4915E04400144F7E8E22';
roomProps.width = '536';
roomProps.height = '445';
roomProps.backgroundColor = '#666666';
roomProps.captionColor = '#FFFFFF';
roomProps.captionText = 'Enter your caption here';
var myRoom=CreateRoom();
</script>

Thanks for taking a look at it.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Apr 14, 2009 8:58 pm Reply with quote Back to top

Put the first two script tags in the header and then put the third in your block.
View user's profile Send private message
NeapolitanWorld
Involved
Involved


Joined: Nov 06, 2005
Posts: 318
Location: Los Angeles, USA

PostPosted: Wed Apr 15, 2009 12:21 am Reply with quote Back to top

Which chat module are you using?
View user's profile Send private message Visit poster's website
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Wed Apr 15, 2009 3:31 am Reply with quote Back to top

It's a chat module used by OOVOO video conferencing company oovoo.com they tell you to paste the code into your html website which I have php nuke. thanks

Hmm is there any way you can write the code of for the php nuke box every thing I tried comes out in error's thanks.
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Apr 15, 2009 10:07 am Reply with quote Back to top

You try creating a file in the blocks folder named block-Chat.php and put this in it.
Code:

<?php
if (stristr($_SERVER['SCRIPT_NAME'], "block-Chat.php"))
{
   Header("Location: ../../index.php");
   die();
}
$content = '<center>';
$chatbox ="<script type=\"text/javascript\" src=\"http://videocallroom.oovoo.com/oovoomelink/codelib/oovoorooms.js\"></script>\n";
$chatbox .= "<script src='http://java.com/js/deployJava.js'></script>\n";
$chatbox .= "<script type='text/javascript'>\n";
$chatbox .= "roomProps.roomID = '62AAF8B4E7AD4915E04400144F7E8E22';\n";
$chatbox .= "roomProps.width = '536';\n";
$chatbox .= "roomProps.height = '445';\n";
$chatbox .= "roomProps.backgroundColor = '#666666';\n";
$chatbox .= "roomProps.captionColor = '#FFFFFF';\n";
$chatbox .= "roomProps.captionText = 'Enter your caption here';\n";
$chatbox .= "var myRoom=CreateRoom();\n";
$chatbox .= "</script> \n";
$content .= $chatbox;
$content .= '</center>';

?>


Than go into the ACP and activate the Chat block and put it in the center position.
Where it says Enter your caption here, change that to what ever you want to.
View user's profile Send private message Send e-mail Visit poster's website
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Wed Apr 15, 2009 10:09 am Reply with quote Back to top

Thank u very much!
View user's profile Send private message Send e-mail Visit poster's website
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum