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 |
#272
|
||||
|
||||
I didn't know Erwin was planning a Store version...
|
#273
|
||||
|
||||
alright, well i like to go big, so i made a page that allows ppl to select a wide variety of games and movies to play with
tho i am not too bright so i used the error page to do it i set a link on the forum home page to go right to flash.php (where it use to say "u didnt select a game") now it has a list of games with links to them :banana: can anyone think of a better way as sometimes that gives me a error when leaving basically i just want a good way for ppl to see a assortment of stuff all on one page, |
#274
|
|||
|
|||
So what causes this problem
I've installed the flashplayer11 and it almost works. The problem occurs when I try to go back to my vBportal. I get the login screen, when I try to return. But it shows that I'm logged in and I can click Home again and get to home. What causes this? How do I prevent this intermediate login screen? My Forums Click "Flashman" in the Main Menu, then click "Home" at the top and see the problem. Since the Flash does not show up unless you are logged in you can use "test" as the login and "12345" as the password (temporarily). Sidenote: I also want to have a menu selection, similar to "Topics" in the Main Menu that will take me to a page where I can select the games. I have copied Topics.php to Games.php and took out the mysql stuff and have the problem there also. |
#275
|
||||
|
||||
at my forums i have it set so guests can use the flash games/movies
i dont want alot of ppl signing up and never posting, just to play, too many dead members anyways, real problem, i have alot of games that need a black BG to see what it is, so can i set it so in the flash section its always black? also is there a way to force the flash into a certain highth/width? |
#276
|
||||
|
||||
I have two wierd problems I would like to bring up for help.
1.) When loading any .SWF file using this hack to play a game for example my top options such as profile, register, calender, etc all load with the cinsistant exception of the search. I can click reload and still it does not load. It does not do this anywhere else in the site, and when I take the time out to right click the red X and click show picture, then it does load. If I was to reload the page again, it's back to the red X (see pic) 2.) When I click on the temp link which I temp placed in the footer section with the link title 'flashman'. I see my main pic/logo which normally resides on the top of the site page, and I see THE profile tab which normally resides on the top as if it was trying to load on the bottom too. It did not complete, this is as far as it got and it does this everytime I try to play flashman... WHY? (see pic) |
#277
|
||||
|
||||
Quote:
|
#278
|
||||
|
||||
Quote:
It could be an intermittent cookie problem - Flash can do this sometimes. Just click on REFRESH, and the problem should go away. |
#279
|
||||
|
||||
Quote:
The default at the moment is that the Flash Player page uses your page background color as default. To change this: In the "flash" template: Find (remove the space inside the {} tags) : Code:
VALUE={ pagebgcolor} Code:
VALUE=#000000 Code:
bgcolor={ pagebgcolor} Code:
bgcolor=#000000 Quote:
Default is 600 x 400. To change the height and width, add &w=1024&h=768 to the end of the URL, the numbers being the width and height you want. Read the first post for examples. |
#280
|
||||
|
||||
Quote:
I suggest maybe to rename you search.gif file and see if that helps. Quote:
I have no explanation for that to be honest, since the flash template uses your own footer. Take a look at your footer template and make sure that all the tags are closed. Have a look at the flash template too - make sure you copied and paste the WHOLE of the flash template. It's a strange problem, and looks like HTML tags not being closed. |
#281
|
||||
|
||||
This solution here solves the following 2 questions.
Quote:
Quote:
Essentially, this are instructions on how to convert the file flash.php into a menu for your games. So when you link to http://www.your-forums.com/forums/flash.php instead of going to the error message, you get a customizable games menu which you set up in your templates. Thanks to IceMalee for the idea. I have just taken his idea and changed it from an error template to a full template. Open flash.php Find: PHP Code:
PHP Code:
Add a new template: flash_menu with these contents: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head><title>$bbtitle - Flash menu</title> $headinclude </head> <body> $header <!-- breadcrumb --> <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr> <td width="100%"><img src="https://vborg.vbsupport.ru/vbimages/vb_bullet.gif" align="absmiddle"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > Flash Menu</b></normalfont></td></tr></table> <!-- /breadcrumb --> <br> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center"><tr><td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td colspan="2" bgcolor="#606096" align="center"><normalfont color="#FFF788"><b>$bbtitle Flash Menu</b></normalfont></td> </tr> <tr> <td bgcolor="#F1F1F1" align="left" valign="top"><normalfont> <br><br> <center> <normalfont> <a href="flash.php?play=tetris">Play Tetris</a><br> <a href="samurai.php?play=samurai">Play Samurai Game</a><br> </normalfont> </center> </td> </tr> </table> </td></tr></table> $footer </body> </html> Just customize the middle section of the template - you can make it a table, or however you like, using HTML. Find this code in the "flash_menu" template, and customize it all you like: Code:
<a href="flash.php?play=tetris">Play Tetris</a><br> <a href="samurai.php?play=samurai">Play Samurai Game</a><br> Then, just link to: http://www.your-forums.com/forums/flash.php To access the Flash menu. I've never tested this, since I don't use a menu system, but it should work. Let me know if it works. IceMalee, use this rather than your current solution, and it should fix your error issues. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|