PDA

View Full Version : vB3 Flash Player - Play Any Flash Game / Movie - Tetris, Pacman, Frogger, Minesweeper


Erwin
07 Jan 2004, 02:06
vB Flash Player 1.1 - Play Any Flash Game or Movie in vB!
-----------------------------------------------------------------------

vB3 RC 2 version
Updated: Added instructions to fix Who's Online location!
Updated: Fixed browser width bug!

This is such a simple hack I am almost embarassed to re-release it. But people wanted me to update it, so here it is. :)

Purpose:
------------------

Install this hack ONCE and you can play any SWF game or movie totally integrated inside your forum! The name of the game or movie will be automatically shown in the page title, forum nav bar, and table heading! Just upload the SWF file to your forums directory and then use this URL (changing it to suit your forum directory):

http://www.your-forum.com/forums/flash.php?play=filename
"filename" being the name of the SWF file (without the .SWF) - the name must be exact (including the capitals or small letters)

You can even set the width and height or background color of the Flash movie or game using the URL command line and parameters.

http://www.your-forums.com/forums/flash.php?play=filename&w=1024&h=768&b=000000

Good for those of you who run your site at HIGH resolutions. :D If you don't enter the width or height parameters, the Flash game or movie will automatically default to 600 x 400. If you don't enter the background color, it will default to your forum page background color. Only registered members will be able to play the game or movie - unregistered users will get the "no permission" log-in page.


Installation
-----------------------

EASY! Takes 1 minute. All you need to do is create 1 template, 1 phrase and upload 1 file, and you're done. (No db queries to run, no php file edits! :) )

Create a new "games" subdirectory and upload your SWF files there.

********** optional ******************************
To show that the member is playing using the Flash Player in "Who's Online", you can edit another file and add a Who's Online Phrase - instructions added.


Parameters:
--------------------

play = name of SWF file (without the .swf extension - make sure the capitals and small letters are the same!)
w = width of Flash movie or game
h = height of Flash movie or game
b = background color of Flash movie or game (in hex WITHOUT the # - eg. 000000 for black or FFFFFF for white)

To use default width and height is 600 x 400, or default background color which is your forum background color -
http://www.your-forum.com/forums/flash.php?play=filename
"filename" being the name of the SWF file (without the .SWF) - the name must be exact (including the capitals or small letters)

To set your own width or height:
http://www.your-forums.com/forums/flash.php?play=filename&w=1024&h=768&b=000000


Tetris
-----------

For example, with this hack I've included the Tetris SWF file that was included in my original tetris hack. This game is public domain. To let your members play good old-fashioned Tetris on your forums:

1) Upload Tetris.swf to your games directory (included in the zip file).
2) Link to this URL (change it to suit your forums directory):
http://www.your-forum.com/forums/flash.php?play=Tetris
The Tetris Flash Game will play integrated into your forums. This works for any Flash game or Movie.


Flash Games Attachments:
---------------------------------

Snipers

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: snipers.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=287164)
A very cool FPS game.

Asteroids2000

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: asteroids2000.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=287366)
The classic Asteroids game now in 3-D.

Mars Massacre

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: mars3d.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=287727)
A 3-D with twin cannons to shoot spaceships.

Spaceship

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: spaceship.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=286579)
Spaceship shootemup with nice graphics.

Minesweeper

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: minesweeper.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=287157)
The classic windows game.

5Stones

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: 5stones.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=287159)
A classic Chinese board game.

Samurai Warrior

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: samurai.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=285379)
A fighting game that's quite high quality.

Flash Pacman

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: flashman.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=285378)
The classic!

Frogger

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: frogger.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=285525)
Another classic!

Galactic Warrior

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: warrior.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=285453)
A Space Invaders-like game.

Pong

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: pong.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=285359)
This is a very basic version.

Donkey Kong

http://www.vbulletin.org/forum/images/attach/zip.gifAttachment: DonkeyKong.zip (http://www.vbulletin.org/forum/showpost.php?s=&postid=329341)
The classic game!


Other Flash Games:
---------------------------

Go here to download 27 other free Flash games that you can integrate into your site using this hack:

http://www.miniclip.com/experienced.htm

Just upload the SWF file into your forums directory, put the name into the URL and you and your members can play integrated Flash games in your forums! You can basically play ANY Flash game or even MOVIES! If you have any other cool Flash Games to share, or a link to a site with good Flash Games or Movies, just post in this thread! :)


The vB Flash Player ZIP File:
-------------------------------------------

Link14716
07 Jan 2004, 02:12
Such a simple and useful hack. :)

Nice job Erwin. I have no use for it, but it should be useful to others. :)

MGM
07 Jan 2004, 02:28
Very nice... kinda like a dumbed-down version of the Arcade but without a Scores system ;)

should be tons of fun though!

i won't use it myself, but who says I cant click install? :D

/me clicks Install

MGM out

Nam
07 Jan 2004, 02:36
This is GREAT hack, very simple, no file to edit, but very cool.

Why should you feel "I am almost embarassed", don't be, because this is really worth it.

Thank you,

deathemperor
07 Jan 2004, 03:54
I can't even believe that this will happen !
what a great hack !
thanks alot, Erwin !
edit: I got some music/funny flashes, care to take ^ ^ ?
a little gun play game: Gun Play (http://homeol1.asiahostcom.net/gun play.zip) ( I cant attach due to file too large, so just download from that
, have fun ^ ^.

dede1
07 Jan 2004, 08:16
Very good,thank you

Dennis B
07 Jan 2004, 08:53
Thanks Erwin, got plenty of Flash ads on my site already, but you just made it much simpler. :)

acid2003
07 Jan 2004, 11:22
Great job.

Is it supposed to show game title on browser top like this:

Tetris</phrase>

http://forum.armkb.com/flash.php?play=Tetris

Regards
Souren.

acid2003
07 Jan 2004, 12:22
Almost forgot. Is it possible to show users playing game in Who's Online section ?
It shows

Unknown Location
/flash.php?play=Tetris

Thanks.

speedway
07 Jan 2004, 12:55
Great job.

Is it supposed to show game title on browser top like this:

Tetris</phrase>

http://forum.armkb.com/flash.php?play=Tetris

Regards
Souren.
That's in the template. Just edit the offending "phrase" bit out.

speedway
07 Jan 2004, 12:59
Only problems I seem to have are:

Size definition is ignored in Mozilla Firebird
Drop down menus (eg. Quick Links) go behind the game space.

Are these just "live with it" type things? :)

poolking
07 Jan 2004, 18:25
Is there any background music to these games?

DarkJediKiller
07 Jan 2004, 20:49
This is a great hack :D All it needs is like a page where you can click the link to your games

SnowBot
07 Jan 2004, 22:41
This is a great hack :D All it needs is like a page where you can click the link to your games
add them to a menu on your navbar, i called mine interactive. www.synergyforums.com (http://www.synergyforums.com) have a look and i can run you through how to do it if needed.

DarkJediKiller
08 Jan 2004, 00:04
Alright that would be great! Thanks ^^

Erwin
08 Jan 2004, 00:33
That's in the template. Just edit the offending "phrase" bit out.
Oops. Don't know how it got there. I fixed the install.txt. :)

albibak
08 Jan 2004, 10:33
Thx for this hack, it's very very cool.
I would like to konw if in a futur version you do this hack with high score ?
Because I think this was on vB2, no ?

Erwin
08 Jan 2004, 12:07
Thx for this hack, it's very very cool.
I would like to konw if in a futur version you do this hack with high score ?
Because I think this was on vB2, no ?
That was a different hack - the Arcade hack. :) Some of the flash games here cannot be modified without author permission. You need to be able to modify the flash file to keep score.

StoneHalo
08 Jan 2004, 13:54
Does this just allow users in the 'Registered users' usergroup to play? Or can it be set to other usergroups?

I have two subscription groups that I would like to have access to this but not those in the normal registered group.

Thanks

hume
08 Jan 2004, 13:59
this site have many game Flash http://www.flash-games.net/

albibak
08 Jan 2004, 14:51
Erwin => Thx for your answer.

hume => Cool an other website :) and it's a french site ;)

Erwin
08 Jan 2004, 21:26
Does this just allow users in the 'Registered users' usergroup to play? Or can it be set to other usergroups?

I have two subscription groups that I would like to have access to this but not those in the normal registered group.

Thanks
It's automatically set up to stop guests from playing, but allow everyone else. In flash.php, find:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Change it to:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And keep adding usergroups to the end of that line you want NOT to be able to play.

StoneHalo
08 Jan 2004, 22:53
Thats great, i'll be installing hacks after vB3 goes gold :)

´ÀÉ`SÌLVÉR´ÀÉ`
09 Jan 2004, 02:12
This Is Great Erwin, I Like The Fact That Only Registered Members Can Get To Them. Would You Mind Making One That's Just Let's Members Download Certain Files? Sorta Like vBportal where it has the downloads section and only worked for logged in members. I'd Really Appreciate It ;) :)

webrats
09 Jan 2004, 04:49
will this work with rc2

´ÀÉ`SÌLVÉR´ÀÉ`
09 Jan 2004, 05:32
yeah, it works with rc2 aswell.

SnowBot
09 Jan 2004, 08:56
only thing is ppl show up in whos online in UNKNOWN LOCATION Can this be fixed ?

Erwin
09 Jan 2004, 11:31
only thing is ppl show up in whos online in UNKNOWN LOCATION Can this be fixed ?
I added instructions to the install.txt in the ZIP file to fix this. :)

Nmidia
09 Jan 2004, 20:28
2) Create new phrase under "Front End Error Messages".
Call it "flash"
Make the contents the following:

You did not specify a file name!


How do I do this then? I'm a total noob:)

Nmidia
09 Jan 2004, 20:37
How do I do this then? I'm a total noob:)
ahh - i opened my eyes and it was right in front of them:)

gmarik
09 Jan 2004, 20:58
Like all the old games from vB2 could
be transferred to your great remake?

Erwin
10 Jan 2004, 00:09
Like all the old games from vB2 could
be transferred to your great remake?
This hack players ANY flash game, or movie.

Kewl
11 Jan 2004, 00:50
add them to a menu on your navbar, i called mine interactive. www.synergyforums.com (http://www.synergyforums.com) have a look and i can run you through how to do it if needed.
Great Job

How do you add to the nav bar?

Thanks

blubber12
11 Jan 2004, 02:19
Perhaps, without a snide remark, someone would actually be able to identify where exactly the Front End Error Messages are located. I am not a noob and have been searching for quite a while now. I thank anyone who can assist me and others.

Kewl
11 Jan 2004, 02:22
Perhaps, without a snide remark, someone would actually be able to identify where exactly the Front End Error Messages are located. I am not a noob and have been searching for quite a while now. I thank anyone who can assist me and others.
In the phrase manager

blubber12
11 Jan 2004, 02:27
Thanks very much Kewl I appreciate that very much. Sometimes the most obvious is overlooked. :) I would not have thought to look in Languages and Styles automatically.

Kewl
11 Jan 2004, 03:15
In the install instructions for the who's on-line function of the hack the phrase name needs to be flash not Flash

just an FYI

Great Job Thanks

blubber12
11 Jan 2004, 03:22
One more question please...Followed all directions, but when directing url to game all I get is a blank page...no error message..just a blank page. All files are in the correct place but can't see to get it to run...any ideas?

Kewl
11 Jan 2004, 03:38
One more question please...Followed all directions, but when directing url to game all I get is a blank page...no error message..just a blank page. All files are in the correct place but can't see to get it to run...any ideas?
did you create a dir /forum/games
and upload the game .swf files there

then put flash.php into your forum directory

and your link should look like this

http://www.yoursitename.com/forum/flash.php?play=Tetris

blubber12
11 Jan 2004, 04:09
yeah that's exactly what i did..but get a blank page...my host accepts swf and all streaming media..so I can't figure out whats wrong..thanks kewl

Kewl
11 Jan 2004, 04:14
yeah that's exactly what i did..but get a blank page...my host accepts swf and all streaming media..so I can't figure out whats wrong..thanks kewl
maybe you don't have for your browser the flash addon ver 8.5 all I can think of

Erwin
11 Jan 2004, 04:44
In the install instructions for the who's on-line function of the hack the phrase name needs to be flash not Flash

just an FYI

Great Job Thanks
Thanks. :) Fixed the install.txt file in the ZIP.

Erwin
11 Jan 2004, 04:44
yeah that's exactly what i did..but get a blank page...my host accepts swf and all streaming media..so I can't figure out whats wrong..thanks kewl
Reinstall the hack again. Something went wrong somewhere.

blubber12
11 Jan 2004, 14:18
I did as suggested, making sure all instructions were followed..but still a blank page. I can drag the game into my browser and play so it's not my setup. I just cant figure why no error and a blank page. I left out the play=filename and got the correct error message for that...but nothing else. I will keep trying and checking. If anyone else had the same thing happen, please advise. I will not give up. Thanks for all your help so far. :)

Is there a board setting I've missed perhaps? Something I'm not allowing?

GamerzWorld
11 Jan 2004, 16:26
I had same error as you blubber then i saw i was spelling it without capitle or right upper./lower case. i was trying tetris and not putting a capital T.

add them to a menu on your navbar, i called mine interactive. www.synergyforums.com (http://www.synergyforums.com) have a look and i can run you through how to do it if needed.

Can you run me through it >.<

blubber12
12 Jan 2004, 02:13
Thanks but no, not the problem..typed T and A for asteroids...even tried changing file name to small letter but still no go...Well I'm not gonna give up yet:)

Erwin
12 Jan 2004, 02:15
I did as suggested, making sure all instructions were followed..but still a blank page. I can drag the game into my browser and play so it's not my setup. I just cant figure why no error and a blank page. I left out the play=filename and got the correct error message for that...but nothing else. I will keep trying and checking. If anyone else had the same thing happen, please advise. I will not give up. Thanks for all your help so far. :)

Is there a board setting I've missed perhaps? Something I'm not allowing?
Are you uploading the games to the right directory? Calling it "games"?

Worse comes to worse, edit the "flash" template and hardcode the path to the game files - there are TWO instances where you have to do this.

Erwin
12 Jan 2004, 02:15
Also, if you PM me access to your Admin CP, I can fix this for you as well. :)

MajorGeek
12 Jan 2004, 15:11
Edit: Cancel, only was on one cup of coffee, finished the pot, had lunch and easily found it.

Ok, I am sure this is simply due to a lack of understanding version 3 completely, but I am unsure how to "2) Create new phrase under "Front End Error Messages. " I dug through the phrases and must be missing this one. Can you point me to it in the control panel?

Thanks in advance!

Erwin
13 Jan 2004, 01:26
Go to Phrase Manager, click on Add New Phrase, in the dropdown menu choose "Front End Error Messages" and the rest.

blubber12
13 Jan 2004, 02:22
Thanks erwin..I was testing it out on a clean rc2 install, and decided to wait until I transfer my board. I will try the coding template first and if there are still problems I'll let you know. Thanks again.

shad-gt
13 Jan 2004, 21:02
Size definition is ignored in Mozilla Firebird

It Would be great if someone can fix this :)

fix:

Template:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Erwin
13 Jan 2004, 23:45
Update Version 1.1 - Who's Online and Browser Width Bug Fix

Just replace the "flash" template with the contents in the install.txt file (which is the same as the contents in the post above this one - thanks shad-gt!).

Who's Online instructions in the install.txt file.

albibak
13 Jan 2004, 23:54
Thx for this update Erwin :)

deathemperor
14 Jan 2004, 10:29
I want to make a button in navbar for users to choose flash game, it's a popup html, with links to games or something like that. How can I do that ?
and this will be better if when users access to flash.php, it will show all the flash games or movies, users just have to choose from their and play ^ ^.

shad-gt
14 Jan 2004, 23:14
A little fix for this hack..



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



is new.

A little error output, if someone edits the adress input line.




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

CdaKnight
14 Jan 2004, 23:27
I agree with deathemperor1st, a file listing on flash.php would be awesome. Then we can just link to that, and users can deal. :)

´ÀÉ`SÌLVÉR´ÀÉ`
15 Jan 2004, 20:50
Heh I know this is sorta off subject but I noticed that the flash files work for logged in members only as the default, I was wondering If you could set this same sorta thing up for other files as well for Downloads, rather than using attachments since you need to make your mysql packets size uploads larger..etc By the way..... Erwin do you think you'd be able to make that? I'd really appreciate it. :) lol and if it's any sort of encouragement to have this made, I'll give someone a free month of webhosting for this.

ixian
15 Jan 2004, 22:26
Excellent hack.

And for those of you who wish to add a nav menu for it, and put all the links in there like SnowBot did, look no farther than this post on vb.com -> http://www.vbulletin.com/forum/showthread.php?t=89230&highlight=navbar+menu

Chris Blount
16 Jan 2004, 13:38
Great hack! Thanks. Installing the games on the navbar was quite easy!

scottct1
16 Jan 2004, 19:52
The Navbar is really easy to add to. :)

poolking
16 Jan 2004, 20:02
Any news on sound?

PET
17 Jan 2004, 00:01
QUESTION : What about High Score list ? Is that possibile ? For exemple a tetris game and i want that all the scores (if HIGH) to be added in the database, and to have a HIGH SCORE LIST link... ? So people will play the game just to be in the score list. It will be more fun and more intersting.

Erwin
17 Jan 2004, 03:44
QUESTION : What about High Score list ? Is that possibile ? For exemple a tetris game and i want that all the scores (if HIGH) to be added in the database, and to have a HIGH SCORE LIST link... ? So people will play the game just to be in the score list. It will be more fun and more intersting.
That would be the Arcade hack, and would require modification of the Flash Games, which is not possible for most Flash Games except for public domain ones. :)

deathemperor
17 Jan 2004, 04:53
Thanks JoergZ @ vb.com for the nav

Natch
23 Jan 2004, 02:46
Re: the NavBar ...

I wrote an addon ... I know it works on mine, which u can see @ www.mobileforces.org.

What it does:

This takes all your Flash Games you have uploaded into the /forums/games/ folder, and parses them into an array, then creates a vB3 (so cool) drop-down menu, and populates that menu with links to every one of your games (provided they have the extension .swf.

Addon for Erwin's vB3 Flash Player - auto-populate a 'Flash Games' NavBar menu (http://www.vbulletin.org/forum/showthread.php?t=60604)

ixian
23 Jan 2004, 03:34
Nice, Natch, but your forum appears a little jacked, at least in IE 6 - all the nav bar links are broken. They just self-reference each other.

Also, you are in serious need of the mini-calendar hack for your front page - the current one throws off your entire page. I know vbadvanced has it, not sure if vbindex (which you appear to be using) does.

Natch
23 Jan 2004, 05:11
Nice, Natch, but your forum appears a little jacked, at least in IE 6 - all the nav bar links are broken. They just self-reference each other.

Also, you are in serious need of the mini-calendar hack for your front page - the current one throws off your entire page. I know vbadvanced has it, not sure if vbindex (which you appear to be using) does.
The NavBar links work fine, if you are logged in ... but your post gives an indication that an error message would be preferable to the current functionality ...

//EDIT:

I kinda forgot to put the conditional in place for non-logged-in users - thanks :)

//END EDIT:

And despite IE6 being the most popular browser, it has some serious failings when it comes to rendering CSS ... (as I do all my development in Firebird / Mozilla I see only perfectly rendered CSS) - and vBIndex does have a mini-calendar, but I prefer my calendar to have 7 days in a week ...

Thanks for the heads-up on the IE bugs - I'll try and get them ironed out ...

ixian
23 Jan 2004, 07:47
Glad you caught that - I was going to tell you that it wasn't a matter of not being able to see or play the games but that all the menus didn't work, period:)

I know all about the CSS problems with IE, being a web designer myself; I also use IE 90% of the time personally because that's what my users use. Gonna have to live with it until MS gets around to fixing it.

However, I also use Firebird as well as most other major browsers for Win32 and Linux, to make sure everything is working; and I see the same problem with the calendar. I don't understand what you mean by having 7 days in the week - the vbadvanced mini-calendar does have all 7 days and it's in proportion with the rest of the site. Is vbIndex's different?

Natch
23 Jan 2004, 07:59
However, I also use Firebird as well as most other major browsers for Win32 and Linux, to make sure everything is working; and I see the same problem with the calendar. I don't understand what you mean by having 7 days in the week - the vbadvanced mini-calendar does have all 7 days and it's in proportion with the rest of the site. Is vbIndex's different?
Well the first screenshot is from Firebird, the second from IE6 ... as you can see Firebird has perfect layout (the shoutbox expands to fill the space of the expanded 7-day calendar) and IE6 has the shoutbox not expanding ... I think it's thje absolute pixel width specified inline in the VBINDEX template ... but I've not looked too far into it ...

Natch
23 Jan 2004, 08:24
Found the bugger (the extra bit of code needed to make the column wide enuff) ... it was explained in the vBIndex thread, but I skipped that page, and found it the hard way :)

Allan
28 Jan 2004, 08:07
hello :)

It's compatible with RC3 ?

Kewl
28 Jan 2004, 12:16
hello :)

It's compatible with RC3 ?
yes working fine

Natch
28 Jan 2004, 12:27
hello :)

It's compatible with RC3 ?
Definitely - and both HTL and text file versions are in this thread (http://www.vbulletin.org/forum/showthread.php?t=60604): sorry for taking your thread off-topic Erwin :)

13th_Disciple
07 Feb 2004, 22:39
here is the issue i have.. i have to put all of these games, and the games from v3 arcade in the games folder.. i tried putting thse in flash_games.. and in the flash template, using embed src="flash_games/$play.swf" and everything seems ok.. made sure that the little addon from Natch pointed to the same directory.. but when you try to play a game, you only get the white boc.. look at the embed src like in the source of the page, it says flash_games/gamename.swf with whatever the current game name is.. in the flash template, should i have used /flash_games/$play.swf or is there something i am missing? the way it is now, all the swf files in my games directory appear under both addon from Natch instead of showing correct games for each addon.. not to mention, would be good to know how to use a different directory than the default games directory..

edit--

just so folks understand.. here is what i have got.. http://www.dbcenter.org/forums/flash.php?play=DonkeyKong

all if shows is a white box.. i modified the flash template for flash_games/$play.swf

does anything else need to be modified for the hack to recognize a different directory?

Natch
08 Feb 2004, 05:27
here is the issue i have.. i have to put all of these games, and the games from v3 arcade in the games folder.. i tried putting thse in flash_games.. and in the flash template, using embed src="flash_games/$play.swf" and everything seems ok.. made sure that the little addon from Natch pointed to the same directory.. but when you try to play a game, you only get the white boc.. look at the embed src like in the source of the page, it says flash_games/gamename.swf with whatever the current game name is.. in the flash template, should i have used /flash_games/$play.swf or is there something i am missing? the way it is now, all the swf files in my games directory appear under both addon from Natch instead of showing correct games for each addon.. not to mention, would be good to know how to use a different directory than the default games directory..

edit--

just so folks understand.. here is what i have got.. http://www.dbcenter.org/forums/flash.php?play=DonkeyKong

all if shows is a white box.. i modified the flash template for flash_games/$play.swf

does anything else need to be modified for the hack to recognize a different directory?
Mate - you need to modify the "flash" template from Erwin's hack to point to a different directory, and then alter my hack "$flashdir" variable to point to the same directory ...

All Erwin's non-modified Flash games should be in this other directory, and the games from the Arcade should be int eh forumroot/games dir ...

13th_Disciple
08 Feb 2004, 05:40
yeah.. i had yours set right.. i just missed the other location in the flash template.. thanks for pointing that out to me Natch.. i am just too sleepy to function.. goodnight folks..

Kalakov
15 Feb 2004, 22:23
how can i link the flash movies/games from a other site ? so its not downloading from the same site where the forum is at

Kalakov
16 Feb 2004, 01:56
got a strange prob all the flash movies works fine with mozilla firefox but when i use Internet Explorer the movie doasnt load

Chruser
16 Feb 2004, 13:30
Hmm, what about highscores? Maybe I missed something about them when I read through the installation file, but is it possible to get a list of highscores from these games?

jedimaster
18 Feb 2004, 00:31
Fun stuff! Install clicked!

ImportPassion
23 Feb 2004, 12:48
I got a little problem.
When in a game and u go to the arcade menu, it loads in the background.
Possible we only need to change the z-order or something?

dpakman91
22 Mar 2004, 23:57
alright vb3 gold has caused all of the games do dissappear from my flash player drop down menu? can anyone help with this?

Experience
03 Apr 2004, 09:29
works with vB3 Final ?

vietnamscript
07 Apr 2004, 08:45
i can't download it

grandma
30 Apr 2004, 17:57
Excellent little add on!! In VB 2, there was a file that supports .DCR types. Does anyone know how to integrate .DCR types into this release?

Thanks

Granmda

grandma2
07 May 2004, 00:46
Thank you Sir! That worked like a charm.

Grandma

fiber1
14 Jul 2004, 12:43
I have a question, everything works great except my games get stuck in the loading mode?
I have a fst connection and I know my server is fine.

Any suggestions?

Great hack!

Fiber1

fiber1
15 Jul 2004, 04:15
Basically, i just found that the "Flash man gets stuvk in load mode forever? any suggetions?

Bro_Joey_Gowdy
20 Jul 2004, 17:17
clicks install

Holidazed
21 Jul 2004, 00:14
Awesome work Erwin.

If I might make a suggestion. Any possibility to having a ACP portion of this? Kinda of like the Arcade hack where you can add/remove the flash games in the ACP and they have their own page to display it on. This way the admin does not have to create a page or make a link to put it on his/her site.

Intex
24 Jul 2004, 14:36
I guess everybody has this problem? Has any solution been found yet?



I got a little problem.
When in a game and u go to the arcade menu, it loads in the background.
Possible we only need to change the z-order or something?

Natch
24 Jul 2004, 15:26
I guess everybody has this problem? Has any solution been found yet?
I've managed to alter the z-index of the popup menu - however it doesn't impact on the Flash issue ...

On a side note, here's another funny bit of code - look out for e_by_gum LOL

Open clientscript/vbulletin_menu.js, find:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Replace with:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

However, even setting the z-index value to 999 (or 9999999 to be ove the top), the popup menu still loads behind the Flash games ...

Sorry guys ... :(

Natch
24 Jul 2004, 15:46
Belay that "Sorry" - I found it! :)

[brag mode] check it out ! [/brag mode]

Found the solution on DevShed (http://forums.devshed.com/t64464/s.html) - you need <param name="wmode" value="transparent" /> in your object definition, and in your embed tag, add wmode="transparent" and you should find your menu's over the top of your Flash movies :)

Note: there are three instances of the Flash call in the arcade_play template, so be warned ;)

Some Flash movies will misbehave in this state - in that they need tohave explicit backgrounds in this scenario or they will mount on the backdrop of your arcade_play template ... so you may also wanna add a <div style="background-color:black"> wrapper round your Flash call as well - as flash movies default to a black background if they don't already have a explicit backdrop.

HTH y'all

MajorFm.com
02 Jan 2005, 02:20
Great hack... so simple but yet so useful, is it possible to have external swf's though? i.e. a swf on a diffrent server, diffrent domain?

mojo8850
03 Jan 2005, 15:13
Great hack... so simple but yet so useful, is it possible to have external swf's though? i.e. a swf on a diffrent server, diffrent domain?


Yes Thats Exactly What I Want To Know..

Can We Have Them On A Different Server Or Domain..!

:nervous:

blue_chi
05 Jan 2005, 14:39
Thanks so much on the great hack. Could someone please tell me how I can change the persmissions for this page?

I created a flash game sometime ago , you guys can save it from this link and upload it to your game collection if you wish!

Right-Click and save target
http://www.oman3d.com/forum/games/o3d.swf

The width is 550px and the height is 400px, it even has a high score board as well.

Enjoy!

LEAD_WEIGHT
25 Oct 2005, 12:56
Well what you have here? Games

oninuva
27 May 2006, 11:03
does this game have a high score?

stinger2
18 Jan 2007, 22:45
is there any port for this to vb 3.6.4???

kether1
01 Feb 2007, 19:51
Does this work in 3.6.4??

stinger2
27 Feb 2007, 20:19
*bump*

stinger2
02 Mar 2007, 15:01
again :p

basketmen
17 Apr 2007, 22:40
i want to know for 3.6.5

whos try itttttttttttttttttttt

yoyoyoyo
10 Sep 2007, 19:31
this doesn't work in 3.6.X - I get the old "you do not have permission to access this page" error. Anyone know how to fix it?

mofeu
03 Nov 2007, 21:36
Because I am amateur , can you give me more installation instructions?
Where I will create create 1 template, 1 phrase and upload 1 file in tha admin cp.

Thanks in advance