PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
StalkS
Hangin' Around


Joined: Oct 04, 2003
Posts: 35

PostPosted: Sat Oct 04, 2003 9:47 am Reply with quote Back to top

Hi Raven, With the help of one of your threads I managed to create a block that would display a Sega Master System emulator on my homepage. The problem being the script calls for the javafile and the games directory to be located in the in the same place as the original script (html/blocks or could it be html?) Having tried to drop these files in both directories the block is still unable to call up the information. So I'm hoping the WHEREDOC command will be able to help! Is there any chance you could explain how to use it, to get my block to reference the correct files? I'd really appreciate it as your last thread was a really interesting learning experience!!

My block code looks as follows:

<?
$content = <<<_ANYHTMLCODE_
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 256 HEIGHT = 233 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<PARAM NAME = CODE VALUE = "JavaGearApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "JavaGear.jar" >

<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="scriptable" VALUE="false">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" CODE = "JavaGearApplet.class" ARCHIVE = "JavaGear.jar" WIDTH = 256 HEIGHT = 233 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>

</NOEMBED></EMBED>
</OBJECT>
_ANYHTMLCODE_;
?>


The java file it needs to reference is called 'JavaGear.jar' & a folder called 'Roms' with a file inside called 'index.txt'


Any words of advice would be greatly appreciated.


Thanks


StalkS

(You can see the block at my website
Only registered users can see links on this board!
Get registered or login to the forums!
)
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 9:54 am Reply with quote Back to top

1 thing i see is that if your nuke isnt in the same directory as root that may be causing your problems you may need to set your path for the java script you intend to use
Before
Code:
<PARAM NAME = CODE VALUE = "JavaGearApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "JavaGear.jar" >

After
Code:
<PARAM NAME = CODE VALUE = "http://yourdomain.com/JavaGearApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "http://yourdomain.com/JavaGear.jar" >

but i may be shooting in the dark
Thanks
Fury
View user's profile Send private message
StalkS
Hangin' Around


Joined: Oct 04, 2003
Posts: 35

PostPosted: Sat Oct 04, 2003 10:21 am Reply with quote Back to top

Thankyou Very Much Fury!! That's got the applet to appear in my Block! Smile (@ the bottom of my site) The only problem i've got now is that script is still not seeing the 'Roms' folder. Which is meant to be in the same location as 'JavaGear.jar. Would you be able to help me modify the script to point to this folder as well?


Many Thanks


StalkS
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 10:56 am Reply with quote Back to top

i can try let me look at it for a bit and get back to you
Thanks
Fury
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 10:58 am Reply with quote Back to top

can you send me the link for the block or the script itself
thanks
Fury
View user's profile Send private message
StalkS
Hangin' Around


Joined: Oct 04, 2003
Posts: 35

PostPosted: Sat Oct 04, 2003 11:00 am Reply with quote Back to top

Hey No need to worry Fury!! Just a silly mistake my end!! Thank you so much for your time! It's looks really good!!


StalkS


Last edited by StalkS on Sat Oct 04, 2003 11:21 am; edited 1 time in total
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 11:15 am Reply with quote Back to top

Great glad to help
Thanks
Fury
View user's profile Send private message
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