Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
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
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-11-2002 Last Update: Never Installs: 182
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #252  
Old 08-15-2002, 12:07 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade to v1.1: You can now set the width and height of the Flash Movie or Game using the URL command line and parameters!

Good for those of you who run your site at HIGH resolutions.

If you don't enter any width or height parameters, the Flash movie or game will automatically default to 600 x 400.

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

default width and height is 600 x 400

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


Upgrade to 1.1
------------------------

If you want to be able to manually set the width and height for different Flash movies and games using the parameters, upgrade from v1.0 to v1.1 - just replace the old "flash" template with the new one, and replace the old "flash.php" with the new file.

Enjoy!
Reply With Quote
  #253  
Old 08-15-2002, 12:27 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm it's a little chuckleheaded all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.

on the other side, JohnWarwicks Hack, with a great highscore list but no ability to play different flash games, just tetris with only 10 short levels

nevertheless big thanks for your work Erwin and John :banana:
Reply With Quote
  #254  
Old 08-15-2002, 12:32 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Schorsch
hmm it's a little corny all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.
To add a highscore list to a Flash game, you need to manually edit the Flash game file to integrate it with the vB database - it's not easy, and not all Flash games allow you to do this because of copyright and licenses. Make sure you find out that you can hack other people's Flash games before you do it - otherwise their lawyers may call you!

I aimed to make my hack easy to use - once it's installed, it's just a matter of uploading the SWF file to your forums directory, and using the command line and parameters. No need to edit anything. It even plays movies.

I can even make it play remote SWF files - but I won't do it because it would be unethical to play games on your forums hosted on another person's server.
Reply With Quote
  #255  
Old 08-15-2002, 01:01 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Schorsch
hmm it's a little chuckleheaded all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.

on the other side, JohnWarwicks Hack, with a great highscore list but no ability to play different flash games, just tetris with only 10 short levels

nevertheless big thanks for your work Erwin and John :banana:
CORRECTION, he has only that capability NOW
Reply With Quote
  #256  
Old 08-15-2002, 02:40 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Link14716

CORRECTION, he has only that capability NOW
Well, he can only do it with Flash games that are in public domain, like the Tetris one he used from my original hack. He's done a good job with it. However, not many Flash games out there will allow you to edit the source code so you can save the high score into your database. You can still integrate it into your forums with this hack.

If anyone comes across a good SWF game, please post here so we can all share it.
Reply With Quote
  #257  
Old 08-15-2002, 02:47 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin

However, not many Flash games out there will allow you to edit the source code so you can save the high score into your database.
Tell me about it, lol! I'm going to write pong myself, and I'm asking the copyright owners of some good flash games if they'll share their stuff.

The thing I love about the whole leaderboard concept is that you're introducing a competitive spirit into the forum, making things a whole lot more fun! Still, I like that you're doing with this hack

:banana:
Reply With Quote
  #258  
Old 08-15-2002, 08:12 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JohnWarwick


Tell me about it, lol! I'm going to write pong myself, and I'm asking the copyright owners of some good flash games if they'll share their stuff.

The thing I love about the whole leaderboard concept is that you're introducing a competitive spirit into the forum, making things a whole lot more fun! Still, I like that you're doing with this hack

:banana:
Well, here's a very basic Pong Flash Game I found - 1 player, you use the cursor keys to move the paddle. You can probably improve on it...

Unzip the ZIP file and upload pong.swf to your forums directory.

To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):

http://www.your-forums.com/forums/flash.php?play=pong
Reply With Quote
  #259  
Old 08-15-2002, 08:14 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alternatively, you can let your members watch this hilarious Pong movie integrated into your forums.

Unzip the ZIP file and upload pongmovie.swf to your forums directory.

To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):

http://www.your-forums.com/forums/flash.php?play=pongmovie
Reply With Quote
  #260  
Old 08-15-2002, 09:26 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A cool Flash Pacman game from the site in my first post. It's a free download and free to use.

Unzip the ZIP file and upload flashman.swf to your forums directory.

To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):

http://www.your-forums.com/forums/flash.php?play=flashman
Reply With Quote
  #261  
Old 08-15-2002, 09:32 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one of the better games from the same site. Again, it's a free download and free to use. It's a Samurai Fighting game, similar to the old style Karateka/ Budokan fighting (but with better graphics).

Unzip the ZIP file and upload samurai.swf to your forums directory.

To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):

http://www.your-forums.com/forums/flash.php?play=samurai

The ZIP file is fairly large, and your members will have to wait for the swf file to load in your forums, but it's not a bad game at all to be able to offer online at your forums!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12915 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete