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)

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


All times are GMT. The time now is 02:53 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.01065 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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