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)

Edrondol 01-07-2010 06:20 PM

I'm getting that security error also and I had everything working. I have been uploading games with no problems. Now today in the 5 games I've added 2 of them give this error. Permissions seem to be identical.

s0lidgr0und 01-07-2010 09:10 PM

Perhaps the <fieldset> replaced with <fieldset class="fieldset"> issue in arcade > skins > skin_arcade.php will be added to the next version?

Juggernaut 01-09-2010 07:47 AM

I'm running vBulleting publishing suite and I can't save high scores :(
Help.

Ocean-Wonders 01-09-2010 08:01 AM

Quote:

Originally Posted by Destron (Post 1950967)
I'm running vBulleting publishing suite and I can't save high scores :(
Help.

I was having the same problem you need to do this below. It works like a dream now ;)

Quote:

Originally Posted by Sworm (Post 1946171)
Add this code in your ..forum/index.php file:

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

<?php
add:

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();
}



wikked 01-09-2010 09:35 AM

Everything installed fine

tested out the first game which played ok...new score showed ok


but then trying to access the arcade again brings up this database error

Quote:

mySQL query error: SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NOT ISNULL(filedata) AS hascustom, customavatar.dateline FROM (SELECT * FROM user WHERE userid=1) AS user LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid WHERE customavatar.userid=1 OR user.userid=1

mySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT * FROM user WHERE userid=1) AS user LEFT JOIN avatar AS
mySQL error code:
Date: Saturday 09th of January 2010 12:30:14 PM
i can access the games individually but cant get to the arcade home as soon as a score is posted. I have removed and reinstalled and the same error occurred

Help please :D:D:up:

by the way...im running Vb CMPS and had to do the changes to get the scores to be recorded

Grimace 01-09-2010 02:42 PM

Let me just tell you, I installed this in my test forum and I love it. I can't wait to go live with this. The folks on my site (www.dinasaurhedcult.com/forums) are going to love it!

CrosseyedGamer 01-09-2010 03:34 PM

Quote:

Originally Posted by Grimace (Post 1951163)
Let me just tell you, I installed this in my test forum and I love it. I can't wait to go live with this. The folks on my site (www.dinasaurhedcult.com/forums) are going to love it!

Yes they will love it!
We have 1200 games on our site and run a weekly challenge with prizes. Enjoy!

ndahiya 01-09-2010 04:16 PM

hi,

get an error after game finishes: "could not access game table" (only appears in astroids). just installed 2.7 on vb 4.0

thx.

ndahiya

Juggernaut 01-09-2010 04:32 PM

Quote:

Originally Posted by Ocean-Wonders (Post 1950974)
I was having the same problem you need to do this below. It works like a dream now ;)

Thank you very much, that fixed everything :D

ndahiya 01-09-2010 04:40 PM

hi,
is there a way to show the profile picture instead of the avatar on leaderboard etc? thx.

ndahiya


All times are GMT. The time now is 02:54 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.06838 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)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