vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

docvader 04-29-2010 06:38 AM

Reinstalling games from 3.5:

I have just updated to 4.30, after successfully running 3.5 (and previous iterations) with no problem. Now, I can't "find" my games. The four hundred or so games that I have are still in the "games" directory, and no doubt, still in the database, but the forum can longer see them, so I cannot install them.

Is there a SQL query that I can use to get all of my games back???

Thanks! I searched this thread, and could not find an answer.

EDIT: I destroyed the "arcade_..." tables during upgrade to 4.03, blame the collation errors. I've reinstalled them into the database from a backup, but still cannot make the IBParcade "find" those games. Any sql commands to get those back??

notafinga 04-29-2010 06:27 PM

Quote:

Originally Posted by basilrath (Post 2026569)
The security token issues in relation to scores not being submissible are generally down to the index.php being over-written and hence the hook isnt there to submit................if thats the case then make sure you have the code below in your index.php

after <?php

add.......

PHP Code:

// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
    require_once(
'./global.php');

    switch(
$_POST['func'])
    {
        case 
"storeScore":
        
$_GET['act'] = "Arcade";
        
$_GET['module'] = "arcade";
        
$_GET['do'] = "pnFStoreScore";
        break;

        case 
"saveGame":
        
$_GET['do'] = "pnFSaveGame";
        break;

        case 
"loadGame":
        
$_GET['do'] = "pnFLoadGame";
        break;

        case 
"loadGameScores":
        
$gid $vbulletin->input->clean_gpc('p''gid'TYPE_INT);
        
$uid$vbulletin->userinfo['userid'];
        
$game $db->query_first("SELECT * FROM " TABLE_PREFIX "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
        
$scores $game[score];

        if(
$scores != false)
        {
            
//Return true
            
print "&opSuccess=true&gameScores=$scores&endvar=1"//send endvar to keep opSuccess separate from all other output from PostNuke
        
}
        else
        {
            print 
"&opSuccess=false&error=Error&endvar=1";
        }
        break;
    }
}

$act $_GET[act];
$autocom $_GET[autocom];
$showuser$_GET[showuser];
if(
$act == "Arcade" || $autocom=="arcade") {
include 
"arcade.php";
exit();
}
if(!empty(
$showuser) && $showuser >= 1) {
$u $showuser;
$_GET[u] = $showuser;
include 
"member.php";
exit();
}

// end of ibProArcade 

this has inadvertantly happened quite a lot when upgrades are being carried out

Well I had to add this to my content.php file for it to work...maybe that will help someone else.

dankreiner 04-29-2010 09:13 PM

Quote:

Originally Posted by notafinga (Post 2029151)
Well I had to add this to my content.php file for it to work...maybe that will help someone else.

i put the code in both the content.php file in the vb folder and in the index.php and one of them worked!!!

im on 4.0.3 pl1 :)

dankreiner 04-29-2010 09:32 PM

Quote:

Originally Posted by Aviani-Terrador (Post 2028827)
I believe I fixed that by changing some of the stylevars. I believe they use the block vars.

Another probles I've had for the longest time is that the title of my page is messed. It displays the URL instead of what it is supposed to say. How do I fix that?
link: http://gamesentryx.net/arcade.php?&act=Arcade&cat=1

can you elaborate on what in the stylevars you changed to fix this because i am dying to fix that problem...


if you go to admincp>options>Title or something so can change all the names of of page titles for your forum and for you index page... they can be different. I think thats where i found it... lemme know if thats not it.

rollerman 04-30-2010 06:30 PM

Quote:

Originally Posted by notafinga (Post 2029151)
Well I had to add this to my content.php file for it to work...maybe that will help someone else.

THANK YOU!!!!


That finally did it!


:up:

nishant.soni 04-30-2010 10:24 PM

I have this problem that ,

I am using BLACK COLOR THEME, so on arcade page, background of boxes is white and text is also in white :S what to do?

Halfhidden 05-03-2010 07:57 PM

Downloaded this but had lots of problems with the relative path to the skins directory and other problems.
Shame! I've crawled through the forum but nothing so I'll have to uninstall.

ShawneyJ 05-04-2010 10:47 AM

upgraded to vb 4.0.3 today, decided to look in the arcade and wow, just a pain ugly white page which i must say is pretty messed up without images showing.
is something going to be done?
thx
p.s running arcade 2.7.0

Itchy Nips 05-06-2010 01:57 PM

yeah i upgraded my test forum to 4.0.3 and the arcade looks much different than on vB3.8.4.

Xencored 05-06-2010 05:50 PM

Awesome Thanks <3


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

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.35651 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (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