View Full Version : vB3 Flash Player - Play Any Flash Game / Movie - Tetris, Pacman, Frogger, Minesweeper
Erwin
01-06-2004, 10:00 PM
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
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: snipers.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=287164)
A very cool FPS game.
Asteroids2000
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: asteroids2000.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=287366)
The classic Asteroids game now in 3-D.
Mars Massacre
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: mars3d.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=287727)
A 3-D with twin cannons to shoot spaceships.
Spaceship
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: spaceship.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=286579)
Spaceship shootemup with nice graphics.
Minesweeper
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: minesweeper.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=287157)
The classic windows game.
5Stones
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: 5stones.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=287159)
A classic Chinese board game.
Samurai Warrior
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: samurai.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=285379)
A fighting game that's quite high quality.
Flash Pacman
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: flashman.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=285378)
The classic!
Frogger
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: frogger.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=285525)
Another classic!
Galactic Warrior
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: warrior.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=285453)
A Space Invaders-like game.
Pong
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: pong.zip (https://vborg.vbsupport.ru/showpost.php?s=&postid=285359)
This is a very basic version.
Donkey Kong
https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: DonkeyKong.zip (https://vborg.vbsupport.ru/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
01-07-2004, 12:12 AM
Such a simple and useful hack. :)
Nice job Erwin. I have no use for it, but it should be useful to others. :)
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
* MGM clicks Install
MGM out
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
01-07-2004, 01:54 AM
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
01-07-2004, 06:16 AM
Very good,thank you
Dennis B
01-07-2004, 06:53 AM
Thanks Erwin, got plenty of Flash ads on my site already, but you just made it much simpler. :)
acid2003
01-07-2004, 09:22 AM
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
01-07-2004, 10:22 AM
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
01-07-2004, 10:55 AM
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
01-07-2004, 10:59 AM
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
01-07-2004, 04:25 PM
Is there any background music to these games?
DarkJediKiller
01-07-2004, 06:49 PM
This is a great hack :D All it needs is like a page where you can click the link to your games
SnowBot
01-07-2004, 08:41 PM
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
01-07-2004, 10:04 PM
Alright that would be great! Thanks ^^
Erwin
01-07-2004, 10:33 PM
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
01-08-2004, 08:33 AM
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
01-08-2004, 10:07 AM
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
01-08-2004, 11:54 AM
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
this site have many game Flash http://www.flash-games.net/
albibak
01-08-2004, 12:51 PM
Erwin => Thx for your answer.
hume => Cool an other website :) and it's a french site ;)
Erwin
01-08-2004, 07:26 PM
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:
if ($bbuserinfo['userid'] == 0)
{
print_no_permission();
}
Change it to:
if ($bbuserinfo['userid'] == 0 OR $bbuserinfo['usergroupid'] == 2)
{
print_no_permission();
}
And keep adding usergroups to the end of that line you want NOT to be able to play.
StoneHalo
01-08-2004, 08:53 PM
Thats great, i'll be installing hacks after vB3 goes gold :)
???`S?LV?R???`
01-09-2004, 12:12 AM
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
01-09-2004, 02:49 AM
will this work with rc2
???`S?LV?R???`
01-09-2004, 03:32 AM
yeah, it works with rc2 aswell.
SnowBot
01-09-2004, 06:56 AM
only thing is ppl show up in whos online in UNKNOWN LOCATION Can this be fixed ?
Erwin
01-09-2004, 09:31 AM
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
01-09-2004, 06:28 PM
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
01-09-2004, 06:37 PM
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
01-09-2004, 06:58 PM
Like all the old games from vB2 could
be transferred to your great remake?
Erwin
01-09-2004, 10:09 PM
Like all the old games from vB2 could
be transferred to your great remake?
This hack players ANY flash game, or movie.
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
01-11-2004, 12:19 AM
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.
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
01-11-2004, 12:27 AM
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.
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
01-11-2004, 01:22 AM
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?
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
01-11-2004, 02:09 AM
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
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
01-11-2004, 02:44 AM
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
01-11-2004, 02:44 AM
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
01-11-2004, 12:18 PM
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
01-11-2004, 02:26 PM
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
01-12-2004, 12:13 AM
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
01-12-2004, 12:15 AM
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
01-12-2004, 12:15 AM
Also, if you PM me access to your Admin CP, I can fix this for you as well. :)
MajorGeek
01-12-2004, 01:11 PM
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
01-12-2004, 11:26 PM
Go to Phrase Manager, click on Add New Phrase, in the dropdown menu choose "Front End Error Messages" and the rest.
blubber12
01-13-2004, 12:22 AM
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
01-13-2004, 07:02 PM
Size definition is ignored in Mozilla Firebird
It Would be great if someone can fix this :)
fix:
Template:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $play</title>
$headinclude
</head>
<body>
$header
$navbar
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="$w" height="$h">
<param name="movie" value="games/$play.swf">
<param name="quality" value="high">
<if condition="$b"><param name=bgcolor VALUE="$b"></if>
<embed src="games/$play.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="$w" height="$h"></embed></object>
<br>
<br>
</center>
$footer
</body>
</html>
Erwin
01-13-2004, 09:45 PM
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
01-13-2004, 09:54 PM
Thx for this update Erwin :)
deathemperor
01-14-2004, 08:29 AM
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
01-14-2004, 09:14 PM
A little fix for this hack..
if(!file_exists("games/" . $play . ".swf")) {
eval(print_standard_error('error_flash'));
}
is new.
A little error output, if someone edits the adress input line.
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vB Flash Player 1.0 for vB3 RC2 by Erwin Loh # ||
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2004 Dr. Erwin Loh # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| ################################################## ################## ||
\*================================================ ======================*/
//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 or FFFFFF)
//
//default width and height is 600 x 400
//default background color is the same as your forum page background color
//format - http://www.your-forums.com/forums/flash.php?play=filename
//Or to customize width, height and background color
//format - http://www.your-forums.com/forums/flash.php?play=filename&w=1024&h=768&b=000000
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'flash');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'flash',
);
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
// guests cannot access Flash Player
if ($bbuserinfo['userid'] == 0)
{
print_no_permission();
}
// ensure variables get passed through
globalize($_REQUEST, array(
'play' => STR,
'w' => STR,
'h' => STR,
'b' => STR,
));
// draw nav bar
$navbits = array('' => $play);
// main script
if(!file_exists("games/" . $play . ".swf")) {
eval(print_standard_error('error_flash'));
}
if ($play) {
if (!$w) {
$w = 600;
}
if (!$h) {
$h = 400;
}
}
else
{
eval(print_standard_error('error_flash'));
}
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('flash') . '");');
?>
CdaKnight
01-14-2004, 09:27 PM
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???`
01-15-2004, 06:50 PM
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
01-15-2004, 08:26 PM
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
01-16-2004, 11:38 AM
Great hack! Thanks. Installing the games on the navbar was quite easy!
scottct1
01-16-2004, 05:52 PM
The Navbar is really easy to add to. :)
poolking
01-16-2004, 06:02 PM
Any news on sound?
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
01-17-2004, 01:44 AM
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
01-17-2004, 02:53 AM
Thanks JoergZ @ vb.com for the nav
Natch
01-23-2004, 12:46 AM
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 (https://vborg.vbsupport.ru/showthread.php?t=60604)
ixian
01-23-2004, 01:34 AM
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
01-23-2004, 03:11 AM
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
01-23-2004, 05:47 AM
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
01-23-2004, 05:59 AM
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
01-23-2004, 06:24 AM
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
01-28-2004, 06:07 AM
hello :)
It's compatible with RC3 ?
hello :)
It's compatible with RC3 ?
yes working fine
Natch
01-28-2004, 10:27 AM
hello :)
It's compatible with RC3 ?
Definitely - and both HTL and text file versions are in this thread (https://vborg.vbsupport.ru/showthread.php?t=60604): sorry for taking your thread off-topic Erwin :)
13th_Disciple
02-07-2004, 08:39 PM
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
02-08-2004, 03:27 AM
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
02-08-2004, 03:40 AM
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
02-15-2004, 08:23 PM
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
02-15-2004, 11:56 PM
got a strange prob all the flash movies works fine with mozilla firefox but when i use Internet Explorer the movie doasnt load
Chruser
02-16-2004, 11:30 AM
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
02-17-2004, 10:31 PM
Fun stuff! Install clicked!
ImportPassion
02-23-2004, 10:48 AM
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
03-22-2004, 09:57 PM
alright vb3 gold has caused all of the games do dissappear from my flash player drop down menu? can anyone help with this?
Experience
04-03-2004, 07:29 AM
works with vB3 Final ?
vietnamscript
04-07-2004, 06:45 AM
i can't download it
grandma
04-30-2004, 03:57 PM
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
05-06-2004, 10:46 PM
Thank you Sir! That worked like a charm.
Grandma
fiber1
07-14-2004, 10:43 AM
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
07-15-2004, 02:15 AM
Basically, i just found that the "Flash man gets stuvk in load mode forever? any suggetions?
Bro_Joey_Gowdy
07-20-2004, 03:17 PM
clicks install
Holidazed
07-20-2004, 10:14 PM
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
07-24-2004, 12:36 PM
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
07-24-2004, 01:26 PM
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: // do popup menu object
var popupobj = fetch_object(menuid);
popupobj.style.display = "none";
popupobj.style.position = "absolute";
popupobj.style.left = "0px";
popupobj.style.top = "0px";
popupobj.onclick = e_by_gum;
Replace with: // do popup menu object
var popupobj = fetch_object(menuid);
popupobj.style.display = "none";
popupobj.style.position = "absolute";
popupobj.style.zIndex = "999";
popupobj.style.left = "0px";
popupobj.style.top = "0px";
popupobj.onclick = e_by_gum;
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
07-24-2004, 01:46 PM
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
01-02-2005, 12:20 AM
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
01-03-2005, 01:13 PM
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
01-05-2005, 12:39 PM
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
10-25-2005, 10:56 AM
Well what you have here? Games
oninuva
05-27-2006, 09:03 AM
does this game have a high score?
stinger2
01-18-2007, 08:45 PM
is there any port for this to vb 3.6.4???
kether1
02-01-2007, 05:51 PM
Does this work in 3.6.4??
stinger2
02-27-2007, 06:19 PM
*bump*
stinger2
03-02-2007, 01:01 PM
again :p
basketmen
04-17-2007, 08:40 PM
i want to know for 3.6.5
whos try itttttttttttttttttttt
yoyoyoyo
09-10-2007, 05:31 PM
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
11-03-2007, 07:36 PM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.