vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   v3arcade Manually Add Game via Admin CP (https://vborg.vbsupport.ru/showthread.php?t=103920)

Oblivion Knight 12-27-2005 10:00 PM

v3arcade Manually Add Game via Admin CP
 
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

evenmonkeys 12-28-2005 07:50 PM

w00000000000t! THANK YOU!

GoTTi 12-28-2005 08:51 PM

congrats on the release Oblivion...im still stuck in 3.0.x world though so i cant enjoy this yet...:disappointed:

cooltechie 12-29-2005 01:43 AM

help me understand why this is needed. isn't games managed through the download system?

sitka 12-29-2005 05:14 AM

is this similiar to the way that nukearcade works? input the graphic name, the swf name, game score name, etc

Oblivion Knight 12-29-2005 05:26 AM

Quote:

Originally Posted by cooltechie
help me understand why this is needed. isn't games managed through the download system?

Old v3arcade games, and ibProArcade games are compatible with the new version of v3arcade.

So if you don't have the accompanying .game.php file, or .tar archive, you can use this to install those games by entering the details manually. As mentioned, it's intended use is for developers and more knowledgable of vBulletin and v3arcade users.


Quote:

Originally Posted by sitka
is this similiar to the way that nukearcade works? input the graphic name, the swf name, game score name, etc

Umm.. Pretty much I guess.

It's basically all the options from the "Edit Game" page, plus the shortname, the swf name and the 2 image names. It's probably more options than you'll ever need, but it saves future upgrades just to add an option here or there.

Corriewf 12-29-2005 06:12 AM

Quote:

Originally Posted by Oblivion Knight
Old v3arcade games, and ibProArcade games are compatible with the new version of v3arcade.

So if you don't have the accompanying .game.php file, or .tar archive, you can use this to install those games by entering the details manually. As mentioned, it's intended use is for developers and more knowledgable of vBulletin and v3arcade users.


Umm.. Pretty much I guess.

It's basically all the options from the "Edit Game" page, plus the shortname, the swf name and the 2 image names. It's probably more options than you'll ever need, but it saves future upgrades just to add an option here or there.

Wow! I would love to see this integrated in the next version. Very good work!

Diggazz 01-01-2006 07:28 AM

This is what I have been looking for but It installs the game ok except when i go to play the game I get a white screen

any help would be appreciated

Oblivion Knight 01-01-2006 07:36 AM

Make sure that you've definately entered the correct information..

The Flash File field needs to include the ".swf" extension at the end of the name.

Diggazz 01-01-2006 01:04 PM

OK thanks the.swf extension I didnot include

thankyou

jawinn 01-02-2006 04:53 PM

Installed

As I understand it, this script will allow me to import iBPro games into my new install of v3arcade. Is that correct?

Oblivion Knight 01-02-2006 05:32 PM

Quote:

Originally Posted by jawinn
Installed

As I understand it, this script will allow me to import iBPro games into my new install of v3arcade. Is that correct?

Theoretically, yes.

Although in future versions of v3arcade, installing ibProArcade games with this addon may cause some problems. I guess I should add a "system" setting to this which would take care of it..

Snake 01-02-2006 05:38 PM

Whoa this is hot!

Thanks! :)

jawinn 01-02-2006 06:29 PM

Quote:

Originally Posted by Oblivion Knight
Theoretically, yes.


Awesome, how would I do that? I don't see how I run the script once it's installed. Thanks in advance.

J

Citizen 01-09-2006 06:26 PM

I got this error:
Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO arcade_games (shortname, title, description, file, width, height, miniimage, stdimage, gamepermissions, categoryid, dateadded, minpoststotal, minpostsperday, minpoststhisday, minreglength, minrep, isreverse) VALUES
('Pacman', 'Pacman', 'Pacman was one of the most successful retro games of its time.', 'pacman.swf', '360', '420', 'pacman2.gif', 'pacman1.gif', '5', '3', '1136838282', '0', '0', '0', '0', '0', '0');

MySQL Error : Unknown column 'minpoststhisday' in 'field list'
Error Number : 1054
Date : Monday, January 9th 2006 @ 02:24:42 PM
Script : http://www.xxx.com/forums/admincp/arcadeadmin.php
Referrer : http://www.xxx.com/forums/admincp/arcadeadmin.php
IP Address : xxx
Username : xxx
Classname : vb_database

Oblivion Knight 01-10-2006 08:38 AM

Quote:

Originally Posted by Citizen
I got this error:

Make sure you're using 1.0.2 of v3arcade.

lanc3lot 01-10-2006 08:59 AM

It seems that when i visit vb.org, i wish to have this and that, and then i found it in threads!!!!!!

Well done Oblivion, i needed that :)

Citizen 01-11-2006 04:35 AM

Quote:

Originally Posted by Oblivion Knight
Make sure you're using 1.0.2 of v3arcade.

It is 1.0.2

Oblivion Knight 01-11-2006 11:50 AM

Quote:

Originally Posted by Citizen
It is 1.0.2

Then this column should exist in your arcade_games table; "minpoststhisday".

According to your error, it doesn't.

Citizen 01-12-2006 10:38 AM

Quote:

Originally Posted by Oblivion Knight
Then this column should exist in your arcade_games table; "minpoststhisday".

According to your error, it doesn't.

Do you have the code to manually add the column?

I've had to manually add most of database given that there wasnt much support for people that had the 3.0.x version of v3arcade intstalled and then upgraded.

Michael_Tree 01-14-2006 01:42 PM

Hey, thanks to this I can install games to the arcade, unlike before. But now people cant submit their score!!! lol Can anyone help? Link: www.habbodialogue.com/arcade.php

plateau 01-15-2006 03:25 AM

It seems that in my system , there is no this phrase:

$vbphrase['use_reverse']

thus I dont know what is the : print_yes_no_row($vbphrase['use_reverse'], 'isreverse', $game['isreverse']); for? therefore dont know how to do the setting for that option.

Thanks for help!

plateau 01-15-2006 03:46 AM

ok, i think i need 1.02..............mmmmmmmmmmmmm

LeonHartHVA 02-04-2006 07:56 AM

When add a new games, can u make it appear at News & Events?
Thanks

forumsoup.com 02-07-2006 09:08 PM

I put this on my site, love it, and clicked installed. Thanks!

Oblivion Knight 02-21-2006 09:27 AM

Quote:

Originally Posted by Citizen
Do you have the code to manually add the column?

I've had to manually add most of database given that there wasnt much support for people that had the 3.0.x version of v3arcade intstalled and then upgraded.

Chances are, you could be missing more than just that one column.
Could you possibly take screenshots of your arcade_games table structure for me?


Quote:

Originally Posted by Michael_Tree
Hey, thanks to this I can install games to the arcade, unlike before. But now people cant submit their score!!! lol Can anyone help? Link: www.habbodialogue.com/arcade.php

It depends on the game(s) you're trying to install.

It should be noted that the games still require to be modified to work with v3arcade in order for them to submit the score to your database.. I got a 404 when trying to visit the URL you supplied.


Quote:

Originally Posted by plateau
ok, i think i need 1.02..............mmmmmmmmmmmmm

Possibly.. Have you solved this issue now? Sorry for the late reply.


Quote:

Originally Posted by LeonHartHVA
When add a new games, can u make it appear at News & Events?
Thanks

I'll try and release an update tonight for you..

Oblivion Knight 02-21-2006 08:45 PM

1.0.1 is now available!
As suggested, there is now an additional option in the Admin CP for making newly added games post an event on the "News & Events" block. This is enabled by default.


Upgrade Instructions:
1.) Open up admincp/arcadeadmin.php and find:
Code:

        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'] . "')");
        }

Below it, add:
Code:

        if ($vbulletin->options['neweventonmanaddgame'] == 1)
        {
                $db->query_write("INSERT INTO " . TABLE_PREFIX . "arcade_news (newstext, newstype, datestamp) VALUES ('" . addslashes(construct_phrase($vbphrase['x_has_been_added'], $vbulletin->GPC['title'])) . "', 'auto', " . TIMENOW . ")");
        }

2.) Import the updated product file, with the "Overwrite" checkbox enabled.

LeonHartHVA 02-21-2006 11:12 PM

Good job Oblivion Knight, thank you very much :nervous:

rewardhits 03-04-2006 01:23 AM

can any one help me installing as many varcade games on vbulletin 3.5 version? I really need help. will pay $20, if interested please email me at "teknorhino@yahoo.com"

thank you,
Frank

ZacUSNYR 03-06-2006 03:08 AM

Sweet i'm getting sick of using phpmyadmin to do it heh

dakar 03-14-2006 03:10 AM

Can anyone explain in any detail what needs to be modified to fix the score submission?

Oblivion Knight 03-14-2006 07:09 AM

The games that you add must already be modified for use with v3arcade in order for them to submit the score to your database (sorry, I took it for granted everyone would know)..

Injektilo 03-14-2006 08:12 AM

will u release on that works on the new version?

Oblivion Knight 03-14-2006 09:25 AM

Yes, when I get the chance.. :)

Injektilo 03-14-2006 09:51 AM

i've tried it and it works with the new version...do ya think there will be a problem?

Freesteyelz 03-16-2006 04:56 AM

Works fantastic in 3.5.3. Thanks Oblivion Knight. :) *Clicked Install*

Oblivion Knight 03-16-2006 05:14 AM

Quote:

Originally Posted by Injektilo
i've tried it and it works with the new version...do ya think there will be a problem?

Not if it works alright; I haven't had the time to compare the latest v3arcade code.. :)

AKapadia 03-16-2006 03:57 PM

Does this hack work with this hack or not ?

https://vborg.vbsupport.ru/showthread.php?t=101554

Injektilo 03-16-2006 11:45 PM

Quote:

Originally Posted by AKapadia
Does this hack work with this hack or not ?

https://vborg.vbsupport.ru/showthread.php?t=101554

i believe there is a build in function in ibProArcade for manually add game

AKapadia 03-17-2006 02:57 AM

o yeah my bad bro thanx :)


All times are GMT. The time now is 05:20 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
  • Page Generation 0.01427 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete