Mod Name / Version: Game Arcade 1.1 Version 1.1 fixes some table bugs in IE on the PC and adds instructions to update the who's online location.
Description: This is an integrated Game Arcade for your forum with flash games from MiniClip.com. This mod includes 8 games an allows you to limit play to registered users if you desire.
Working Under: UBB.Threads 6.2-6.4
Mod Status: Beta
Any pre-requisites: none
Author(s): JoshPet
Date: 06/01/03
Credits: MiniClip.com for Free Game Content
Files Altered: none
New Files: A whole "games" directory which is placed inside your threads directory.
Database Altered: none
Info/Instructions: Upload all files to a /games directory inside your threads directory.
If you wish to limit play to registered users only, edit the variable at the top of the /games/index.php file.
Add a link to /games/gameindex.php somewhere on your site. You may wish to add this to your menu bar (ubbt_registerednav.tmpl & ubbt_unregisterednav.tmpl) or into your footer (ubbt_footer.tmpl).
See the AAAInstructions.txt file included for more instructions and instructions on having the who's online location update correctly when users are playing games. <img src="/forum/images/graemlins/smile.gif" alt="" />
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Let me ponder that and see if I can easily post instructions. I'm not sure if adding the script name to the online.php language file will work right because it's in a sub directory.... and thus may show up as private like all admin functions.
Add this into the /languages/english/online.php file
$ubbt_lang['battleships'] = "Playing a Game - Battleships"; $ubbt_lang['crashdown'] = "Playing a Game - Creash Down"; $ubbt_lang['flashman'] = "Playing a Game - Flashman"; $ubbt_lang['paintball'] = "Playing a Game - Stress Relief Paintball"; $ubbt_lang['rigelianhotshots'] = "Playing a Game - Rigelian Hotshots"; $ubbt_lang['rocketman'] = "Playing a Game - Rocketman"; $ubbt_lang['sheepish'] = "Playing a Game - Sheepish"; $ubbt_lang['smashing'] = "Playing a Game - Smashing";
The only sticker - the game index is "index" but if you're using IIP you're already using that.... so without changing the name of the script you can't really show location on that script easily.
No do what I said above - the exception is the game index - index.php as if you have IIP you already have an 'index' file.
You'd have to rename the game index to something else - and change the links back to the game index in all the game scripts if you wanted the game index to show up on who's online - otherwise - right now - it'll show up as the "entrance page" because it's got the same name "index.php" as your IIP page.
One thing I noticed Josh since I use the tablewrappers and you would not see unless you validate the page is the HTML after the embed does not work. There is not links BACK TO THE GAME or anything.
Yes, you can use the game pages as templates - there are loads more at that Miniclip site - you just basicaly embed the swf file in the page. And add links to the game index of course.
Updated this - this fixes the issue with the HTML not appearing after the embeded SWF file. This also updates instructions to update the who's online page (including the game index).
Instructions to upgrade - upload all the new PHP files - and follow the enclosed instructiosn (AAAInstructions.txt) for the who's online steps.
I uninstalled Flash and reinstalled it again just to see if that was the problem. Weirdest thing but the closing tags are not there. The UBBThreads footer is not even sent. Nothing after the embed tag is loaded.
Yes Josh I decided to look at it further after it peeved me and saw the missing OBJECT tag. That will do what was happening by blocking the rest of the HTML. Thanx for the update. I was going to comment and I saw ya found it. Now ya got to stop putting things out like this. I like Allen spent two hours last night playing FLASHMAN.
I forgot you like that ole MAC. Yeah when I first looked at the code I did not think about looking for that closing OBJECT tag. I went and looked for the proper closing tr and especially tbclose variables. You had them there.
You don't expect the code to be valide do you They just slap the stuff together and go. They do not care about validity. The problem with that is that until browsers stop accepting outdated html everyone will not jump on the bandwagon.
Hmmm, I went a different route. Just loaded up Dreamweaver, copied some of the code from the main site page and inserted the games. Saved it as an html file and it works great that way too.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.