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)

dianna 02-26-2010 11:10 AM

I have the same issue but, I am no longer using vbdvaned portal...does that mean I can no longer use the arcade?

x626xblack 02-26-2010 11:17 AM

Quote:

Originally Posted by dianna (Post 1991916)
vbdvaned

Been Drinking? :)

dianna 02-26-2010 11:19 AM

Quote:

Originally Posted by x626xblack (Post 1991920)
Been Drinking? :)

LOL I wish! Still trying to get a cup of coffee down and wake up. :p

VonDoom 02-26-2010 12:59 PM

Their is no need for vBadvanced in order for this hack to work.. Never has been never will be.

dianna 02-26-2010 02:35 PM

OK then how do I fix the issue with the scores not submitting I am getting this error:

Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

If I don't get that error then nothing happens no submission or anything.

I am so glad I don't need VBadvanced to use it!!

MustangLisa 02-26-2010 02:38 PM

Quote:

Originally Posted by Rob F (Post 1991805)
Sorry - my mistake - its an INFO file.

Contents below ...

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:

open index.php

At the very beginning of the File, right after:
----------------------------------------------------------
Code:

<?php
----------------------------------------------------------

you have to insert:
----------------------------------------------------------
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

----------------------------------------------------------

Save and reupload to root

Otherwise your scores won't be recorded :)

I am not using VBadvanced, though?

Rob F 02-26-2010 05:03 PM

Quote:

Originally Posted by MustangLisa (Post 1992040)
I am not using VBadvanced, though?

Either are we - we've got the CMS Suite. Still just copied it onto the index.php and re-uploaded. Fixed the issue for us.

dianna 02-26-2010 05:41 PM

Are you editing the main index.php in your forum root? I tried that and still got the error message. gonna try...again lol

zainer 02-26-2010 10:23 PM

I too am getting the token error for the arcade. I have tried adding the code to index.php, content.php, and even forum.php to try it out. I have no idea what to do. I read the CSRP stuff to, that is all good to go, but to no avail. Guess I'll have to find another game mod that works =/

dianna 02-27-2010 01:04 AM

I did the index.php and it works however some members are still having issues


All times are GMT. The time now is 10:45 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.07686 seconds
  • Memory Usage 1,745KB
  • 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
  • (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