![]() |
Flash Gallery Hack v 1.1
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. |
|
This is how it looks in the control panel navbar.
|
This is the modify option.
|
Edit screen.
|
Interesting....I may just install Erwins hack because of your addition. Good job, it looks pro
:p |
Nice hack. But im not gonna use erwins flash player hack. I will have no need since im getting johns arcade hack.
|
Thanks, velocd, I still have many features to implement for an updated version (including possibly encrypting and storing the thumbnails and files in the database).
PS. If you have john's Tetris hack, I have instructions in the end of the installation instructions to make the gallery give a correct link for it instead of the flash.php one without any coding. |
If you have any suggestions for the next version, please post them.
|
I like the look of this :)
|
Yep, looks pretty sweet. Going to wait and see what John's index page is going to be like but I see no reason why this can't be integrated.
Damn, those file sizes are scary though. Hope John's games don't put us out of business. :D |
Yes, that's a concern I had myself. I'm not going to install games that are large, so they don't eat bandwidth. Tetris, Pong, Frogger, and pac man arent too bad though, I can live with their file sizes, and that vB Tetris is just plain BAD @$$!!! Both of these hacks I absolutely love :D
|
Very nice:)
Satan |
Thank you very much for the positive input.
I am currently working on making general settings for the galleries such as disabling thumbnails (in case you don't want to use them), setting the amount of rows and columns per page, and splitting into pages. I will probably finish these later today and release v1.1. If you have any suggestions, please post them and I might even release them today. |
...The instructions say vB Flash Player 1.1 - Play Any Flash Game or Movie in vB (including Tetris!)
...Is this the right file? |
LOL! That's the title of version 1.1 of my Flash Player hack instruction file! ;) You'll need to change it to avoid confusing people. :)
|
the rest of the zip is the same too??
|
Hmmm.. Some sort of glitch happened and put Erwin's file in my post.
It should be all fixed now. Sorry for the incovenience. |
Thanks Lanigironu, I was wondering what was going on yesterday...all better now :D
|
umm...the sql query gives me an error....
Quote:
|
I made the sql table myself but it doesn't seem to work properly....:(
|
Hmmm.... Something is wrong. I copied and pasted the outputed command that PHPMyAdmin gave me, but when I try it in the SQL window it gives me the same error.
I'll see if I can figure it out. |
Ignore this post. Thanks to futureal, the query is in my next post.
|
I still get errors...:(
(Btw. shouldn't this "CREATE TABLE 'flash2'" say flash, not flash2? |
Ok, here's the fixed query, thanks to futureal:
Code:
CREATE TABLE flash ( |
Yes, yes it should. Sorry about that. I was trying to make a new table to see if it works, instead of overwriting my own one.
|
There, it's all fixed now. I'll replace it in the instructions.
|
Done.
|
thanks :)
|
you should fix your instructions and that query with 1 thing.....the table name is flash, not flash2 :)
|
I already did both.
|
Ok, new version released. In this version you can turn off the gallery for maintanance, disable thumbnails and specify the number of entries per row/column. Extra entries split off into pages with the usual vB controls.
Here's a screenshot of the new admin controls (located with the rest of the vB settings): |
Here's a screenshot of the way it looks (I only had 2 entries per page because I have 4 in total, I wanted to see how it splits into pages, you can specify as many as you want):
|
I cant run any of these queries?
Code:
INSERT INTO `settinggroupid` ( `settinggroupid` , `title , `displayorder` ) VALUES ('32', 'Arcade Gallery Options', '32'); Code:
INSERT INTO `setting` ( `settingid` , `settinggroupid` , `title` , `varname` , `value` , `description` , `optioncode` , `displayorder` ) VALUES (NULL , '32', 'Aracde Gallery Active', 'aracde_on', '1', 'This will turn off the gallery. It can be useful when trying to add Aracde files or making modifications.', yesno', '1'); ack, what now :p |
Ok, I know what the problem is, the way PHPMySQL shows the queries is not even accepted by itself, quite funny. Basically you need to take out all the ` characters and it will work. I'll fix the instructions in a second.
Meanwhile, I have a little announcement about the future of this hack. I decided to integrate it with Erwin's Flash Player hack and make my own, free version of an arcade that will also play movies, manage the files and much more. The next version should be a fully functional gallery, and I hope to release it by the end of the week. :) |
Ok, I fixed the instructions, both for upgrading and installing, just redownload the attachment.
|
thx man
|
same deal man? huh..
Code:
INSERT INTO settinggroupid ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32'); 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'); |
ARGH! This is absolutely ridiculous. Try these two queries:
Code:
INSERT INTO `settinggroupid` ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32'); 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. |
Great hack ! useful ! bravo :)
but it doesn't "recognize" DCR file.. when i add a DCR game to the gallery it shows 0kb i think there is somethin to add but i don't exactly how.. PHP Code:
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|