The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
v3arcade Manually Add Game via Admin CP Details »» | |||||||||||||||||||||||||||
v3arcade Manually Add Game via Admin CP
Developer Last Online: Nov 2016
This modification provides you with an additional Game Tool to manually add a game without the use of a script or import tool.. Boofo pointed out to me that before today, this was not possible and I believe it to be a rather useful tool for the more knowledgable of vBulletin and v3arcade users.
Please note that games added to the database with this modification must have already been "converted" for use with v3arcade/ibProArcade for them to work.. Upgrade Notes: [1.0.0 -> 1.0.1] -- [1.0.1 -> 1.0.2] Compatability: 1.0.6 Show Your Support
|
Comments |
#42
|
|||
|
|||
thanks! installed
|
#43
|
|||
|
|||
Oblivion Knight thanks so much for this add-on. After many failed attempts at trying to get John to fix a problem adding games, I was able to install this add-on and manually add them myself and it works - to bad the auto system doesn't.
Thanks again! -Michael |
#44
|
||||
|
||||
You're most welcome, WoodiE..
|
#45
|
|||
|
|||
I am using v3arcade 1.0.5. I installed this mod and I can add games but can not edit them after installing. I have to reinstall the un-edited arcadeamin.php file to edit any on my games.
I see this mod is for v3arcade 1.0.2 only. Is that causing this problem and if so will you update to work with v3arcade 1.0.5 and 1.0.6? |
#46
|
||||
|
||||
It states 1.0.2, however other users have tested it with newer versions and haven't reported any such problems. I'll try and find some time to look into it though..
In the meantime I suggest double checking your file edits of admincp/arcadeadmin.php |
#47
|
||||
|
||||
1.0.2 is now available..
Just a small update to integrate the vbBux addon that was added to v3arcade. Upgrade Instructions: Open up admincp/arcadeadmin.php and find: Code:
print_input_row($vbphrase['flash_file'], 'file', $game['file']); print_input_row($vbphrase['standard_image'], 'stdimage', $game['stdimage']); print_input_row($vbphrase['mini_image'], 'miniimage', $game['miniimage']); print_yes_no_row($vbphrase['is_active'] . $vbphrase['is_active_dfn'], 'gamepermissions[isactive]', $game['permissions']['isactive']); print_yes_no_row($vbphrase['show_award'], 'gamepermissions[showaward]', $game['permissions']['showaward']); print_yes_no_row($vbphrase['enable_challenges'], 'gamepermissions[enablechallenges]', $game['permissions']['enablechallenges']); print_yes_no_row($vbphrase['use_reverse'], 'isreverse', $game['isreverse']); Code:
// vbBux Integration if ($vbulletin->options['vbbux_pointsfield']) { print_input_row($vbphrase['game_cost'], 'cost', $game['cost']); } Code:
'categoryid' => TYPE_UINT )); // Get that bitfield value calculated. require_once(DIR . '/includes/functions_misc.php'); $vbulletin->GPC['gamepermissions'] = convert_array_to_bits($vbulletin->GPC['gamepermissions'], $vbulletin->bf_misc_gamepermissions); if ($vbulletin->GPC['author'] == '' AND $vbulletin->GPC['instructions'] == '') { $db->query_write("INSERT INTO " . TABLE_PREFIX . "arcade_games (shortname, title, description, file, width, height, miniimage, stdimage, gamepermissions, categoryid, dateadded, minpoststotal, minpostsperday, minpoststhisday, minreglength, minrep, isreverse) VALUES ('" . addslashes($vbulletin->GPC['shortname']) . "', '" . addslashes($vbulletin->GPC['title']) . "', '" . addslashes($vbulletin->GPC['description']) . "', '" . addslashes($vbulletin->GPC['file']) . "', '" . $vbulletin->GPC['width'] . "', '" . $vbulletin->GPC['height'] . "', '" . addslashes($vbulletin->GPC['miniimage']) . "', '" . addslashes($vbulletin->GPC['stdimage']) . "', '" . $vbulletin->GPC['gamepermissions'] . "', '" . $vbulletin->GPC['categoryid'] . "', '" . TIMENOW . "', '" . $vbulletin->GPC['minpoststotal'] . "', '" . $vbulletin->GPC['minpostsperday'] . "', '" . $vbulletin->GPC['minpoststhisday'] . "', '" . $vbulletin->GPC['minreglength'] . "', '" . $vbulletin->GPC['minrep'] . "', '" . $vbulletin->GPC['isreverse'] . "')"); } else { $db->query_write("INSERT INTO " . TABLE_PREFIX . "arcade_games (shortname, title, author, description, instructions, file, width, height, miniimage, stdimage, gamepermissions, categoryid, dateadded, minpoststotal, minpostsperday, minpoststhisday, minreglength, minrep, isreverse) VALUES ('" . addslashes($vbulletin->GPC['shortname']) . "', '" . addslashes($vbulletin->GPC['title']) . "', '" . addslashes($vbulletin->GPC['author']) . "', '" . addslashes($vbulletin->GPC['description']) . "', '" . addslashes($vbulletin->GPC['instructions']) . "', '" . addslashes($vbulletin->GPC['file']) . "', '" . $vbulletin->GPC['width'] . "', '" . $vbulletin->GPC['height'] . "', '" . addslashes($vbulletin->GPC['miniimage']) . "', '" . addslashes($vbulletin->GPC['stdimage']) . "', '" . $vbulletin->GPC['gamepermissions'] . "', '" . $vbulletin->GPC['categoryid'] . "', '" . TIMENOW . "', '" . $vbulletin->GPC['minpoststotal'] . "', '" . $vbulletin->GPC['minpostsperday'] . "', '" . $vbulletin->GPC['minpoststhisday'] . "', '" . $vbulletin->GPC['minreglength'] . "', '" . $vbulletin->GPC['minrep'] . "', '" . $vbulletin->GPC['isreverse'] . "')"); } Code:
'categoryid' => TYPE_UINT, 'cost' => TYPE_NUM )); // Get that bitfield value calculated. require_once(DIR . '/includes/functions_misc.php'); $vbulletin->GPC['gamepermissions'] = convert_array_to_bits($vbulletin->GPC['gamepermissions'], $vbulletin->bf_misc_gamepermissions); if ($vbulletin->GPC['author'] == '' AND $vbulletin->GPC['instructions'] == '') { $db->query_write("INSERT INTO " . TABLE_PREFIX . "arcade_games (shortname, title, description, file, width, height, miniimage, stdimage, gamepermissions, categoryid, dateadded, minpoststotal, minpostsperday, minpoststhisday, minreglength, minrep, isreverse, cost) VALUES ('" . addslashes($vbulletin->GPC['shortname']) . "', '" . addslashes($vbulletin->GPC['title']) . "', '" . addslashes($vbulletin->GPC['description']) . "', '" . addslashes($vbulletin->GPC['file']) . "', '" . $vbulletin->GPC['width'] . "', '" . $vbulletin->GPC['height'] . "', '" . addslashes($vbulletin->GPC['miniimage']) . "', '" . addslashes($vbulletin->GPC['stdimage']) . "', '" . $vbulletin->GPC['gamepermissions'] . "', '" . $vbulletin->GPC['categoryid'] . "', '" . TIMENOW . "', '" . $vbulletin->GPC['minpoststotal'] . "', '" . $vbulletin->GPC['minpostsperday'] . "', '" . $vbulletin->GPC['minpoststhisday'] . "', '" . $vbulletin->GPC['minreglength'] . "', '" . $vbulletin->GPC['minrep'] . "', '" . $vbulletin->GPC['isreverse'] . "', '" . $vbulletin->GPC['cost'] . "')"); } else { $db->query_write("INSERT INTO " . TABLE_PREFIX . "arcade_games (shortname, title, author, description, instructions, file, width, height, miniimage, stdimage, gamepermissions, categoryid, dateadded, minpoststotal, minpostsperday, minpoststhisday, minreglength, minrep, isreverse, cost) VALUES ('" . addslashes($vbulletin->GPC['shortname']) . "', '" . addslashes($vbulletin->GPC['title']) . "', '" . addslashes($vbulletin->GPC['author']) . "', '" . addslashes($vbulletin->GPC['description']) . "', '" . addslashes($vbulletin->GPC['instructions']) . "', '" . addslashes($vbulletin->GPC['file']) . "', '" . $vbulletin->GPC['width'] . "', '" . $vbulletin->GPC['height'] . "', '" . addslashes($vbulletin->GPC['miniimage']) . "', '" . addslashes($vbulletin->GPC['stdimage']) . "', '" . $vbulletin->GPC['gamepermissions'] . "', '" . $vbulletin->GPC['categoryid'] . "', '" . TIMENOW . "', '" . $vbulletin->GPC['minpoststotal'] . "', '" . $vbulletin->GPC['minpostsperday'] . "', '" . $vbulletin->GPC['minpoststhisday'] . "', '" . $vbulletin->GPC['minreglength'] . "', '" . $vbulletin->GPC['minrep'] . "', '" . $vbulletin->GPC['isreverse'] . "', '" . $vbulletin->GPC['cost'] . "')"); } |
#48
|
||||
|
||||
Thanks a lot OK.
Since I updated the Arcade, mass import doesn't work anymore. This way I'm still able to add games. |
#49
|
||||
|
||||
i get this error after installing and tried to do a v3 Arcade - Mass Game Import after i hit start it cave me this error
Code:
Fatal error: Call to a member function read() on a non-object in C:\Program Files\Apache Group\Apache2\htdocs\home\forum\admincp\arcadeadmin.php on line 719 Code:
while (($filename = $d->read()) AND ($counter<$vbulletin->GPC['gamesperpage'])) { |
#50
|
||||
|
||||
This Works Really Great, Your a Great Coder to come up with this handy Coding for vb 3.5.4 arcade help.
EDIT: I watched the .php codes for activating the submit code. You Said That it must have been already imported for vb arcade to work. but i looked up the php codes but i see no changes of one who is activated with v3 arcade and can submist and a game who can't submit. Have any idea if it's even a .php file or does it lie different |
#51
|
||||
|
||||
Quote:
could i get someone to help me with this please.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|