garyboyce
December 20th, 2007, 11:10 PM
I am totally new to this. i am working on my website trying to put in a chat room. I think i am working on an sql database. In particular i am working on phpBB3 and trying to put in a mod for gagalive. i followed the instructions explicitly but there wasnt much to go on and this is my first time working with code of any kind. i am going to just post a few lines where i believe the problem to be but if you need more i will gladly post it.
else {
$chathtml = '<center><script src="http://en.gagalive.com/Scripts/AC_RunActiveContent.js" type="text/javascript"></script><script type="text/javascript"> AC_FL_RunContent(\'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\',\'width\',\'100%\',\'height\',\''.$heightz.'\',\'title\',\'GagaLive chat room\',\'src\',\'http://en.gagalive.com/livechat1?&chatroom='.$chatroom.'\',\'quality\',\'high\',\'pluginspage\',\'http://www.macromedia.com/go/getflashplayer\',\'movie\',\'http://en.gagalive.com/livechat1?&chatroom='.$chatroom.'\' );</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%>" height='.$heightz.'" title="GagaLive chat room"> <param name="movie" value="http://en.gagalive.com/livechat1.swf?&chatroom='.$chatroom.'"><param name="quality" value="high"><embed src="http://en.gagalive.com/livechat1.swf?&chatroom='.$chatroom.'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="'.$heightz.'"></embed></object></noscript>';
}
$template->assign_vars(array('SITE_DESCRIPTION'=> $config['site_description'] .$chathtml));
//!!!END OF GAGALIVE CHAT MOD
I believe the problem is in the line before the end.
else {
$chathtml = '<center><script src="http://en.gagalive.com/Scripts/AC_RunActiveContent.js" type="text/javascript"></script><script type="text/javascript"> AC_FL_RunContent(\'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\',\'width\',\'100%\',\'height\',\''.$heightz.'\',\'title\',\'GagaLive chat room\',\'src\',\'http://en.gagalive.com/livechat1?&chatroom='.$chatroom.'\',\'quality\',\'high\',\'pluginspage\',\'http://www.macromedia.com/go/getflashplayer\',\'movie\',\'http://en.gagalive.com/livechat1?&chatroom='.$chatroom.'\' );</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%>" height='.$heightz.'" title="GagaLive chat room"> <param name="movie" value="http://en.gagalive.com/livechat1.swf?&chatroom='.$chatroom.'"><param name="quality" value="high"><embed src="http://en.gagalive.com/livechat1.swf?&chatroom='.$chatroom.'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="'.$heightz.'"></embed></object></noscript>';
}
$template->assign_vars(array('SITE_DESCRIPTION'=> $config['site_description'] .$chathtml));
//!!!END OF GAGALIVE CHAT MOD
I believe the problem is in the line before the end.