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)

|Jordan| 01-18-2010 04:12 PM

I noticed something really odd.

When i have the language set to french, and any score is submitted. I get an error message saying that the score was invalid. But when i switch back to english, the score is valid and goes into the highscores.

Why is it doing this? All that i changed is the language. All other settings remain the same.

s0lidgr0und 01-18-2010 10:51 PM

Quote:

Originally Posted by O_Dog (Post 1958380)
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

It worked for me when I re-added the fix. Weird.

RedHacker 01-19-2010 08:28 PM

Not worked with vBulletin 4.0.1 .....?

Digital Jedi 01-20-2010 05:24 PM

Quote:

Originally Posted by RedHacker (Post 1960576)
Not worked with vBulletin 4.0.1 .....?

Seriously? It's like the third line in the post:

Quote:

works with vBulletin 3.0.x / 3.5.x / 3.6.x / 3.7.x / 3.8.x / 4.0.x

MrZeropage 01-20-2010 08:13 PM

I will test vB 4.0.1 soon ... but I think it should work fine

iguano 01-20-2010 08:53 PM

<i>Sorry, delete this </i>

meissenation 01-20-2010 10:28 PM

Quote:

Originally Posted by TimberFloorAu (Post 1953258)
This has been mentioned MANY MANY times mate.

edit index.php ( in forum root )

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

Sorted

Thank you.

argothiusz 01-20-2010 10:35 PM

nvm, edited the index file and fixed it.

Is there anyway to integrate this with a point system? maybe an option that let admin input the point column to use ?

Thanks

RedHacker 01-21-2010 05:51 AM

Why look this...?

http://img8.imageshack.us/img8/4688/68851376.jpg

New Joe 01-21-2010 06:04 AM

Installed and uploaded everything, did all the Template edits but no links to the Arcade are shown on the Nav Bar.

Any ideas?


All times are GMT. The time now is 11:35 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.09098 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