MyBB Community Forums

Full Version: [released] game section-- add game PHP mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Warning: This mod is to be use in addition with the Game section mod version 1.0.6!

MOD description:

OK, so there are many games that come in archived folders, they normally contain a flash file, 2 image files, and a PHP file.

Until now you had to put the flash file in /games and then put the image files in /games/images. Then you had to try and guess the game settings when you went to add game in the admin cp.

Well with this mod after you put the files in their right folder you upload the PHP file to /games/add_php. Then you go to /games/addone.php and type in the name of the PHP file that you just uploaded and the category that you want the game to be in.

Installation:
1) make a folder in /games called /add_php
2) download the attached file and open it in your favorite text editor
3) change $auid to your uid
4) upload the file to /games
5) go to /games/addone.php to add games

Preview:
[attachment=4934]



NOTE: This is my first PHP script that I'm releasing so the coding is not that advanced for a reason.
Also I know that this feature will be in the next version of the game section, so this is just a temporary solution until then.
Here, on game section, many sites have many games. But i dont know that from where those one get games. Is any one here know any place to grab games in bundle?

Also I dont really understand the use of this MOD. Could be because Iam not familier with this mod.
Hmmm, you make an error, then the script stops Wink
Its not like the system that will be include in 1.1 Wink In 1.1, you don"t must upload anything, only select a tar and cluck on submit, as you use the simple modus Wink But this system is well use friendlier then 1.0 default system.
ivenms Wrote:Here, on game section, many sites have many games. But i dont know that from where those one get games. Is any one here know any place to grab games in bundle?

Also I dont really understand the use of this MOD. Could be because Iam not familier with this mod.

Use Torrent, you will find lots of games on there
Paretje Wrote:Hmmm, you make an error, then the script stops Wink
Its not like the system that will be include in 1.1 Wink In 1.1, you don"t must upload anything, only select a tar and cluck on submit, as you use the simple modus Wink But this system is well use friendlier then 1.0 default system.

I meant that there will be something like it in 1.1 and where is the error?
You made an error, but then you can't get the the form
Paretje Wrote:You made an error, but then you can't get the the form

do you mean here:
else { error($lang->noinput, $lang->error); }

that is only if they are not the uid that the person who uploaded the file set to be allowed to use the page
I'm using MyBB 1.2.9 can someone tell me how to install this Game Mod?