The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper Details »» | |||||||||||||||||||||||||||
vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper
Developer Last Online: May 2013
vB Flash Player 1.3 - Play Any Flash Game or Movie in vB!
----------------------------------------------------------------------- NOTE: This used to be my vB Tetris 1.2 hack. It's been improved to play any Flash game or movie. 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. 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 2 templates, and upload 1 file, and you're done. (No db queries to run, no php file edits! ) 1) Create 2 templates with the text files included - just copy the contents of the text files into the templates with the same name: flash error_flash 2) Upload flash.php into your forum directory. The hack is finished! Then, to play any Flash SWF Game or Movie inside your forum: 1) Upload the SWF file to your forum directory. 2) Link to this URL (change it to suit your forums 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) 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 forums 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 Attachment: snipers.zip A very cool FPS game. Asteroids2000 Attachment: asteroids2000.zip The classic Asteroids game now in 3-D. Mars Massacre Attachment: mars3d.zip A 3-D with twin cannons to shoot spaceships. Spaceship Attachment: spaceship.zip Spaceship shootemup with nice graphics. Minesweeper Attachment: minesweeper.zip The classic windows game. 5Stones Attachment: 5stones.zip A classic Chinese board game. Samurai Warrior Attachment: samurai.zip A fighting game that's quite high quality. Flash Pacman Attachment: flashman.zip The classic! Frogger Attachment: frogger.zip Another classic! Galactic Warrior Attachment: warrior.zip A Space Invaders-like game. Pong Attachment: pong.zip This is a very basic version. Donkey Kong Attachment: DonkeyKong.zip 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! Addons: ------------------- 1) Hellsatan's Game's Info and Listing https://vborg.vbsupport.ru/showthrea...threadid=42693 2) Demonslayer's DCR format addon https://vborg.vbsupport.ru/showthrea...threadid=42744 3) Lanigironu's flash gallery hack addon https://vborg.vbsupport.ru/showthrea...threadid=42674 To receive updates if there are bug fixes or upgrades to this hack, please click the "Install" link at the bottom of this thread. The vB Flash Player ZIP File: ------------------------------------------- Show Your Support
|
Comments |
#362
|
|||
|
|||
Is there a way I can have my flash games (swf and dcr) under another folder (games) instead of my forum folder? I have many games and would like to keep my folders organized, nice and clean.
Also have someone tested this on a local PC testboard? Whenever I try to play a game, the page will not finish to load....Will show the page and the blach square whre the game is supposed to go. |
#363
|
||||
|
||||
In the "flash" template, find the TWO occurrences of
Code:
$bburl/$play.swf Code:
$bburl/games/$play.swf Remember, there are 2 occurrences of this in that template. Also, for the Flash games to work, the title of the filename is CASE SENSITVE. Also, make sure the URL of your forums in your Admin CP, vBulletin Options is set up to point to your forum URL. |
#364
|
|||
|
|||
I have been trying to use the valign="middle" to center the games into the page frame, but it keeps showing on the bottom of the table. How can I make it "centered"?
|
#365
|
||||
|
||||
That's strange. By default, the Flash Game is centred in the flash template that I provided.
You can add <center> </center> tags above and below where the Flash game is meant to show. That should center it. |
#366
|
|||
|
|||
Erwin: In fact you already have the tags in your code:
Code:
<center><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=$w height=$h> <PARAM NAME=movie VALUE="$bburl/juegos/$play.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE="$b"> <EMBED src="$bburl/juegos/$play.swf" quality=high width=$w height=$h bgcolor="$b" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED> </OBJECT></center> Aligment is centered, though Vertical Aligment shows as bottom. |
#367
|
||||
|
||||
The <td> tags already have the valign="top" in them. And my Flash games or movies are aligned at the top.
<td bgcolor="{firstaltcolor}" align="left" valign="top"> So I don't know why yours go to the bottom to be honest... Delete all the <br> tags at the top and see. |
#368
|
|||
|
|||
OK, forced it under the html...
Will get some sleep now |
#369
|
||||
|
||||
LOL! Glad to hear it worked. Go to bed!
|
#370
|
|||
|
|||
hi all,
was just wondering what kind of serverload/stress this hack places on the system? it sounds like a great hack and i would love to install it but would be hesitant to do so if it placed a lot of stress on the server... |
#371
|
||||
|
||||
It wouldn't place any stress on the server since Flash is downloaded onto the user's computer and played there - but it will affect your bandwidth depending on the size of the Flash game or movie since the user will have to download the file from your server.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|