Author |
Message |
JTD
Hangin' Around

Joined: Nov 21, 2005
Posts: 47
Location: Minnisota
|
Posted:
Mon Jul 10, 2006 2:37 pm |
|
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");
?>
|
|
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Mon Jul 10, 2006 3:18 pm |
|
what does it say ?
Movie not loaded?
if so play around with the paths of the movie.. |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 3:26 pm |
|
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

|
Posted:
Mon Jul 10, 2006 3:29 pm |
|
can you activate the mod and give a link.. |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 3:33 pm |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 3:35 pm |
|
ah nice...
can you set it viewable to all?
that would help...  |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 3:37 pm |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 3:41 pm |
|
well it doesnt find the movie...
the path isnt right... |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 3:45 pm |
|
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

|
Posted:
Mon Jul 10, 2006 3:49 pm |
|
well like /home/yourhost/public_html/modules/PenguinSmack/
and now you have before the http like this >> \http
that will never work. |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 3:51 pm |
|
that is how the module creator does it. |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 3:55 pm |
|
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

|
Posted:
Mon Jul 10, 2006 4:10 pm |
|
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

|
Posted:
Mon Jul 10, 2006 4:13 pm |
|
you can if you choose to pm me a temp ftp login...but only if you want... |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 4:15 pm |
|
I can do that. Pm on the way. |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 4:17 pm |
|
ok but keep the module activated and viewable to all.. |
|
|
|
 |
JTD

|
Posted:
Mon Jul 10, 2006 4:22 pm |
|
Done it is viewable again. |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 4:33 pm |
|
nevermind,you dont have to send code..
its working now.. |
|
|
|
 |
hitwalker

|
Posted:
Mon Jul 10, 2006 4:36 pm |
|
and it banned me on the spot...
dont know why... |
|
|
|
 |
|