Description of the Hack:
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 nicely-labelled links to every one of your games (provided they have the extension .swf.
HACK INSTALLATION DETAILS: Files modified for this Hack:
global.php
includes/functions.php
Templates modified for this Hack:
navbar
NOTE: In attachment are both HTL and text instructions.
Pop the HTL file and the XML file into your htlfiles folder (remember to ensure the htl file is uploaded as BINARY) and run it thru the HTL, or read the text file and DIY
Enjoy! and props to Erwin for his great work ...
UPDATE: 1.2 Upgraded to HTL format.
UPDATE: 1.1 Added a script to format visible link names more neatly.
RELEASE: 1.0 Initial vB.org release.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
hey natch... is there any chance this can be modified to work wit the v3 arcade? i dont know anything about making hacks but it seems quite similar...?
cheers in advance!
Yup - should be easy ...
I'll take a look @ it soonest and will post in that thread when I have it workin'
I think the only problem that he has concerns his phrase xml file. I just noticed a difference between the one in the template, and the one actually put into the phrase. Easy to fix, I would presume.
Ok, good, then I'm no longer scared that my script is broken somewhere.
a) Edit the path to your forums in the line above this one and
b) make all the other alterations as well ?
The only reason this line will actually do anything is if you also have made the additions to the includes/functions.php file, and added the approriate changes to the navbar template.
Yep, I just tried installing this again and same thing. Maybe it's conflicting with another hack.
Thanks for helping me with my prob Natch. I noticed something though. I'm not sure if it's just on my end or if it's a bug. It will autopopulate when on the forum or anywhere else. But will not autopopulate while on the screen where you are playing the flash game.
Take a closer look: the popup menu's actually render behind some screen elements: this flash player being one of them...
If it's a problem, try moving the first navbar template mod to teh extreme left or right of the navbar (e.g., make it the first or last TD in the TR ...)
I have asked the writer of the Arcade if he's OK with my porting this across for his hack, and have not received a Yea or Nay for this - if anyone is interested in this I am happy to talk them thru how to modify this for the Arcade, but I will not be publicly releasing it with the OK from John.