Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
JTD
Hangin' Around



Joined: Nov 21, 2005
Posts: 47
Location: Minnisota

PostPosted: Mon Jul 10, 2006 2:37 pm Reply with quote

I am trying to add a java type game to a module. But cant seem to get it to work. Here is the code below. If someone can spot something I am over looking. I forgot to add that i am running this version of nuke. rwsRavenNuke76_v2.02.02

Code:


<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"       <center><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=\"650\" height=\"400\">"
  . "       <param name=\"movie\" value=\"/2.swf\" />"
  . "       <param name=\"quality\" value=\"high\" />"
  . "       <param name=\"bgcolor\" value=\"#ffffff\" />"
  . "       <param name=\"play\" value=\"true\">"
  . "       <param name=\"loop\" value=\"false\">"
  . "       <param name=\"menu\" value=\"false\">"
  . "       <embed src=\"/2.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"650\" height=\"400\"></embed>"
   . "</object></noscript></center>";
CloseTable();
include("footer.php");

?>
 
View user's profile Send private message Yahoo Messenger MSN Messenger
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Mon Jul 10, 2006 3:18 pm Reply with quote

what does it say ?
Movie not loaded?

if so play around with the paths of the movie..
 
View user's profile Send private message
JTD







PostPosted: Mon Jul 10, 2006 3:26 pm Reply with quote

hitwalker wrote:
what does it say ?
Movie not loaded?

if so play around with the paths of the movie..


No it doesnt say anything. It wont load at all.
 
hitwalker







PostPosted: Mon Jul 10, 2006 3:29 pm Reply with quote

can you activate the mod and give a link..
 
JTD







PostPosted: Mon Jul 10, 2006 3:33 pm Reply with quote

hitwalker wrote:
can you activate the mod and give a link..


Sure here it is.

http://www.phantom309drivers.org/nuke/modules.php?name=PenguinSmack
 
hitwalker







PostPosted: Mon Jul 10, 2006 3:35 pm Reply with quote

ah nice...
can you set it viewable to all?
that would help... killing me
 
JTD







PostPosted: Mon Jul 10, 2006 3:37 pm Reply with quote

Oops sorry
 
hitwalker







PostPosted: Mon Jul 10, 2006 3:41 pm Reply with quote

well it doesnt find the movie...
the path isnt right...
 
JTD







PostPosted: Mon Jul 10, 2006 3:45 pm Reply with quote

Well I have the movie file in 2 different places. And I have set the path to the full url to both and no luck. Ill show you.

Code:


<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"       <center><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=\"650\" height=\"400\">"
  . "       <param name=\"movie\" value=\"/http://www.phantom309drivers.org/nuke/modules/PenguinSmack/3.swf\" />"
  . "       <param name=\"quality\" value=\"high\" />"
  . "       <param name=\"bgcolor\" value=\"#ffffff\" />"
  . "       <param name=\"play\" value=\"true\">"
  . "       <param name=\"loop\" value=\"false\">"
  . "       <param name=\"menu\" value=\"false\">"
  . "       <embed src=\"/http://www.phantom309drivers.org/nuke/modules/PenguinSmack/3.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"650\" height=\"400\"></embed>"
   . "</object></noscript></center>";
CloseTable();
include("footer.php");

?>
 
hitwalker







PostPosted: Mon Jul 10, 2006 3:49 pm Reply with quote

well like /home/yourhost/public_html/modules/PenguinSmack/

and now you have before the http like this >> \http
that will never work.
 
JTD







PostPosted: Mon Jul 10, 2006 3:51 pm Reply with quote

that is how the module creator does it.
 
hitwalker







PostPosted: Mon Jul 10, 2006 3:55 pm Reply with quote

no...this is an edit error by you..

look here:

codebase=\"http://download value=\"/http://www.phantom309drivers.org/nuke/modules/PenguinSmack/3.swf\"

you see?

with this " we escape like \"

And this >>>value=\"/http://www.phantom309drivers.o

see now ?
 
JTD







PostPosted: Mon Jul 10, 2006 4:10 pm Reply with quote

Ok this thing will not let me post the original script. But all I am doing with it is changing the file path and running it thru a module creator. I dont know what else to do. It works fine as a block. But I do not want a block.
 
hitwalker







PostPosted: Mon Jul 10, 2006 4:13 pm Reply with quote

you can if you choose to pm me a temp ftp login...but only if you want...
 
JTD







PostPosted: Mon Jul 10, 2006 4:15 pm Reply with quote

I can do that. Pm on the way.
 
hitwalker







PostPosted: Mon Jul 10, 2006 4:17 pm Reply with quote

ok but keep the module activated and viewable to all..
 
JTD







PostPosted: Mon Jul 10, 2006 4:22 pm Reply with quote

Done it is viewable again.
 
hitwalker







PostPosted: Mon Jul 10, 2006 4:33 pm Reply with quote

nevermind,you dont have to send code..
its working now..
 
hitwalker







PostPosted: Mon Jul 10, 2006 4:36 pm Reply with quote

and it banned me on the spot...
dont know why...
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©