Version: 1.00, by Lanigironu
Developer Last Online: May 2005
Version: 2.2.x
Rating:
Released: 08-23-2002
Last Update: Never
Installs: 11
No support by the author.
New version 1.1 released, screenshots and what's new in the new version available here.
This is an extension of Erwin's Flash player hack. It creates a semi-database-driven gallery for all games/movies you have available with information such as author of Flash, size of file, thumbnail, link to run the file, username (if available) of person that sumbitted it, and a link to a leaderboard if available (currently only the Tetris available from john.eovie has that).
The Flash file controls work pretty much like the announcement ones (I got most of the code from there), and are very simple.
There are only two edits to files (an entry for Who's Online and inserting a link to the options in the admin control panel), plus an optional edit if you want to be able to prevent certain groups/people from using the gallery.
This is designed for vB 2.2.6 only, I did not test it with any other version of the board, technically it should work, but I cannot promise anything. This is my first hack as I am new to PHP, but I have done extensive testing to this and will try to help solve any problems if they arise to the best of my knowledge.
Thanks to Fallout2Man for helping me a lot with this hack.
Screenshots coming up in the next posts.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Lanigironu ARGH! This is absolutely ridiculous. Try these two queries:
Code:
INSERT INTO `settinggroupid` ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32');
And
Code:
INSERT INTO `setting` ( settingid , settinggroupid , title , varname , value , description , optioncode , displayorder ) VALUES (NULL , '32', 'Flash Gallery Active', 'flash_on', '1', 'This will turn off the gallery. It can be useful when trying to add Flash files or making modifications.', yesno', '1');
Or better yet, wait until futureal releases the vBProArcade hack. I will be integrating this hack into it.
settinggroupid don't exists! You need to add it in settinggroup. The query should be:
Code:
INSERT INTO `settinggroup` ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32');
And for the second query, you forgot a ' near yesno' so it should be:
Code:
INSERT INTO `setting` ( settingid , settinggroupid , title , varname , value , description , optioncode , displayorder ) VALUES (NULL , '32', 'Flash Gallery Active', 'flash_on', '1', 'This will turn off the gallery. It can be useful when trying to add Flash files or making modifications.', 'yesno', '1');
And in step2 you have: 'unsigneddefault' 2 times. That ain't working, it must be 'unsigned default'.