Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB3 Flash Player - Play Any Flash Game / Movie - Tetris, Pacman, Frogger, Minesweeper Details »»
vB3 Flash Player - Play Any Flash Game / 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: 3.0.0 Rating:
Released: 01-06-2004 Last Update: 01-12-2004 Installs: 56
 
No support by the author.

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/fla...?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/fl...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 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/fla...?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/fl...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

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!


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

Show Your Support

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

Comments
  #62  
Old 01-16-2004, 05:52 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Navbar is really easy to add to.
Reply With Quote
  #63  
Old 01-16-2004, 06:02 PM
poolking poolking is offline
 
Join Date: Aug 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news on sound?
Reply With Quote
  #64  
Old 01-16-2004, 10:01 PM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #65  
Old 01-17-2004, 01:44 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PET
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.
Reply With Quote
  #66  
Old 01-17-2004, 02:53 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks JoergZ @ vb.com for the nav
Reply With Quote
  #67  
Old 01-23-2004, 12:46 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #68  
Old 01-23-2004, 01:34 AM
ixian's Avatar
ixian ixian is offline
 
Join Date: Oct 2001
Location: Denver, CO
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #69  
Old 01-23-2004, 03:11 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ixian
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 ...
Reply With Quote
  #70  
Old 01-23-2004, 05:47 AM
ixian's Avatar
ixian ixian is offline
 
Join Date: Oct 2001
Location: Denver, CO
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #71  
Old 01-23-2004, 05:59 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ixian
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 ...
Reply With Quote
Reply


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 04:11 AM.


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.06443 seconds
  • Memory Usage 2,327KB
  • 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
  • (3)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
  • (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