Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
v3arcade Manually Add Game via Admin CP Details »»
v3arcade Manually Add Game via Admin CP
Version: 1.0.3, by Oblivion Knight Oblivion Knight is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-27-2005 Last Update: 05-03-2006 Installs: 144
Uses Plugins
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-17-2006, 07:23 AM
vchase vchase is offline
 
Join Date: Feb 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks! installed
Reply With Quote
  #43  
Old 03-30-2006, 06:44 PM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #44  
Old 04-08-2006, 08:00 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're most welcome, WoodiE..
Reply With Quote
  #45  
Old 04-09-2006, 06:10 AM
Cajun Cajun is offline
 
Join Date: Jan 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #46  
Old 04-09-2006, 08:45 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #47  
Old 04-28-2006, 10:27 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']);
Below it, add:
Code:
	// vbBux Integration
	if ($vbulletin->options['vbbux_pointsfield'])
	{
		print_input_row($vbphrase['game_cost'], 'cost', $game['cost']);
	}
Find:
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'] . "')");
	}
Replace it with:
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'] . "')");
	}
Done.
Reply With Quote
  #48  
Old 04-30-2006, 08:05 PM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot OK.
Since I updated the Arcade, mass import doesn't work anymore.
This way I'm still able to add games.
Reply With Quote
  #49  
Old 05-22-2006, 08:30 AM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
line 791 shows

Code:
	while (($filename = $d->read()) AND ($counter<$vbulletin->GPC['gamesperpage'])) {
Reply With Quote
  #50  
Old 05-22-2006, 04:33 PM
HS2005's Avatar
HS2005 HS2005 is offline
 
Join Date: Jan 2006
Location: Earth
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #51  
Old 05-23-2006, 12:51 PM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by a43079
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
line 791 shows

Code:
	while (($filename = $d->read()) AND ($counter<$vbulletin->GPC['gamesperpage'])) {

could i get someone to help me with this please..
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05049 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete