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)

Hippy 11-20-2010 12:53 AM

Quote:

Originally Posted by revmitchell (Post 2122558)
This is the response I am getting at the end of a game. What is the fix

do the portal / index edit found in the zip file.
Quote:

Originally Posted by defragc (Post 2123715)
Three errors:

1) Security token missing for score submit on a lot of games
2) A lot of games won't play normally and have to play in a new window
3) Cannot add any new games via zip - was working fine, but now it won't install anything

start with the portal / index edit ..

zip files .. lots are not compatible I found but check the permissions of the zip folder

2) A lot of games won't play normally and have to play in a new window
I never heard of this.. I will have to ponder this one

Cplkaos 11-20-2010 04:45 AM

Hippy cheers for the Arcade fix last night.

Cant thank you enough.

Ladies/Gents, Hippy is a great asset to this thread. Give him time and he will help!!!!

Hippy THANKS!!!!!!

Dutch_Boy 11-21-2010 07:24 PM

If got a problem with the arcade mod. Some of my members cant open a game. They only see a white screen and nothing more.

I can play the games but when i submit a score it gose to a white screen...

Any idea how to fix this?

Running the new update of vbulletin.

Edit:

If reuploaded the mod and the product. Didnt work :(

jagg97 11-23-2010 01:04 AM

What can I do to translate the ARCADE to spanish I´ve tried using the phrase menu I couldn´t any ideas

nacaruncr 11-23-2010 07:20 AM

how i can do it this ibProArcade Shows Game Count + Newest Game and Random Game in your Forum Statistics in vb 4.0.3???
it is posible??

and i like so much know how do it this Arcade Rankings Link in Member Profile too

excuse me for my english...... :P

Hippy 11-23-2010 07:10 PM

they both need to be recoded..
if I get time I will peek at them

topladz 11-26-2010 07:06 PM

Quote:

Originally Posted by desi-boy (Post 2113144)
Sir i got this error msg after evry game

i get the same message

Quote:

Originally Posted by Hippy (Post 2113225)
do the portal / index edit you'll find the instructions in the zip file you downloaded

there is no instructions in the file i downloaded and where do i find portal / index edit

cheers adam

Hippy 11-26-2010 07:11 PM

INFO - vbadvanced or another Portal.txt

Code:

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:
----------------------------------------------------------
<?php
----------------------------------------------------------

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


Otherwise your scores won't be recorded :)


topladz 11-26-2010 07:23 PM

cheers bud but where do i got ot edit the php

Hippy 11-26-2010 07:30 PM

in your forum index.php on your server


All times are GMT. The time now is 08:36 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.08345 seconds
  • Memory Usage 1,752KB
  • 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_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