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)

Digital Jedi 01-13-2010 07:43 AM

Quote:

Originally Posted by WEBDosser (Post 1954187)
i think i will leave it if this is required as editing files voids support.

Actually, just having a modification installed voids official support.

Zighinno 01-13-2010 06:13 PM

Hi, why in some games as a result always 0? Until yesterday everything worked well

Thanks

car20 01-14-2010 12:36 PM

Hello

When I click on submit high score I am taken to the homepage of my forum and no high score is stored and no error messages given.

My Vb ver is 4.0.1 vbulletin Suite

Please help,

Thanks

car20 01-14-2010 04:22 PM

Solved Problem :)

Edit index.php and add some code from INFO- vbadvanced or another Portal.txt file in ibProArcade2.7.0+ pack.

Thanks dear MrZeropage .

movslow 01-14-2010 09:11 PM

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


Thanks
:up:

idoL1 01-15-2010 03:19 AM

whenever i enable the xml file in the plugins n products i get this error

Invalid SQL:

SELECT t.champion, u.userid FROM vb_tournaments AS t
LEFT JOIN vb_user AS u ON (t.champion = u.username)
WHERE champion<>'';

MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation '='
Error Number : 1267

when i disable it it goes away...any help?

War.Frog 01-15-2010 02:33 PM

1 Attachment(s)
I can't find this problem in this thread, but not sure if I overlooked it??

I'm running vB 4.01, and I edited all the templates based on the instructions, however my alignment and line returns are messed up.

Any thoughts on how to correct this?

idoL1 01-15-2010 07:41 PM

helppp...pleaseee.....dying....12 hours on this :(

O_Dog 01-17-2010 05:07 PM

There was a fix for vb4.0.0

https://vborg.vbsupport.ru/showpost....5&postcount=21

But after upgrade to vb4.0.1 that fix no longer works as i installed vb4 just today and added that fix but didnt work, Others are reporting it not working to, so i think for me vb4 can wait till everything is working well, because at the moment its garbage

ravenfaust 01-17-2010 07:16 PM

Error
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ravenfst_ravenfa'@'localhost' (using password: YES) in [path]/arcade/functions/dbclass.php on line 44

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [path]/arcade/functions/dbclass.php on line 47
ERROR: Cannot find database ravenfst_
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in [path]/arcade/functions/dbclass.php on line 209

mySQL query error: SELECT arcade_access, p_require FROM usergroup WHERE usergroupid = 1

mySQL error:
mySQL error code:
Date: Sunday 17th 2010f January 2010 10:14:09 PM

how do i fix?


All times are GMT. The time now is 01:44 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.05367 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)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