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?

New Joe 01-21-2010 06:08 AM

Oh and yes I set all the permissions correct.

Snug 01-21-2010 06:35 AM

1 Attachment(s)
im not getting any borders in the arcade, makes it look really tacky...

Magz 01-21-2010 07:13 AM

Quote:

Originally Posted by Snug (Post 1962054)
im not getting any borders in the arcade, makes it look really tacky...

Edit the file located in /arcade/skins/skin_Arcade.php

find all occurrences of <fieldset> and replace with <fieldset class="fieldset">

save and re upload the file :up:

New Joe 01-21-2010 07:15 AM

Quote:

Originally Posted by New Joe (Post 1962045)
Installed and uploaded everything, did all the Template edits but no links to the Arcade are shown on the Nav Bar.

Any ideas?

I have located the Arcade, but the nav bar edits just didn't add it to the nav bar.
Anyone else had this problem?

RedHacker 01-21-2010 07:21 AM

Quote:

Originally Posted by Magz (Post 1962082)
Edit the file located in /arcade/skins/skin_Arcade.php

find all occurrences of <fieldset> and replace with <fieldset class="fieldset">

save and re upload the file :up:

Thanks it is will better now...

RedHacker 01-21-2010 07:31 AM

I try to reset all scores but stay score in main arcade.php

Snug 01-21-2010 08:35 AM

Quote:

Originally Posted by Magz (Post 1962082)
Edit the file located in /arcade/skins/skin_Arcade.php

find all occurrences of <fieldset> and replace with <fieldset class="fieldset">

save and re upload the file :up:

nothing

RedHacker 01-21-2010 09:06 AM

Quote:

Originally Posted by Snug (Post 1962134)
nothing

Re-uploaded file...?

Magz 01-21-2010 09:41 AM

Snug, if, after editing the file skin_Arcade.php, you see no change in the layout, Check in your admin control panel / Style & Language Settings. If this is set to yes, try setting to no. ( This worked for me )

Redhacker, you need to edit the file skin_arcade.php, which is located in the skins folder of ibproarcade, and re-upload it.

Snug 01-21-2010 10:26 AM

which option am i suppose to set to no?

RedHacker 01-21-2010 10:33 AM

Quote:

Originally Posted by Magz (Post 1962173)
Snug, if, after editing the file skin_Arcade.php, you see no change in the layout, Check in your admin control panel / Style & Language Settings. If this is set to yes, try setting to no. ( This worked for me )

Redhacker, you need to edit the file skin_arcade.php, which is located in the skins folder of ibproarcade, and re-upload it.

Yes i fixed...

Magz 01-21-2010 10:36 AM

Quote:

Originally Posted by Snug (Post 1962206)
which option am i suppose to set to no?

admin cp / Settings/Style & Language Settings
Store CSS Stylesheets as Files? If set to yes, choose no.

As mentioned above, this worked for me, and may or not work for you.

hth

Snug 01-21-2010 10:59 AM

thanks, it worked :D

Snug 01-21-2010 11:02 AM

suggestion!!

on v3 arcade there is a way to make the game bigger... any way of adding this later on?

Magz 01-21-2010 11:08 AM

1 Attachment(s)
You can already change any game size to your liking.

To do this, goto the games list, there you can edit what you like.

see attached images

willy888 01-21-2010 11:33 AM

Code:

Your submission could not be processed because a security token was missing.
what is this when someone try to submit ?

DBStattoo 01-21-2010 12:40 PM

Quote:

Originally Posted by willy888 (Post 1962238)
Code:

Your submission could not be processed because a security token was missing.
what is this when someone try to submit ?

Same problem here on 4.0.1 vbulletin :(

DBStattoo 01-21-2010 12:57 PM

Ok i found this on the admincp --- arcade--- information

here we go

Open "/index.php"

Search for: (very top of file)

PHP Code:

<?php

Below that add:

PHP 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 upload your index.php back to your server.


Now its ok for me nice

Bob_R 01-21-2010 02:26 PM

I just upgraded my board to vB 4.0.1 and this mod (version 2.6) is disabled in my Admin CP.

How should I proceed with installing the new Arcade version in this thread?

Thanks! :)

Edrondol 01-21-2010 05:17 PM

My question has to do with the Armor Games. AG says they don't care if you import their games, but I'm unsure as to how to do this. Here's an example of what they give you. You have the HTML and when you click download it gives you the swf file and some thumbs in a file.

How would one go about putting that into the arcade?

nightbloom 01-21-2010 11:00 PM

The arcade is so hideous Im seriously considering uninstalling it. Has anyone made any improvements to the skin for it?

woffie 01-22-2010 12:57 AM

Quote:

Originally Posted by nightbloom (Post 1962878)
The arcade is so hideous Im seriously considering uninstalling it. Has anyone made any improvements to the skin for it?

The skin for it?

abqtj 01-22-2010 01:24 AM

Quote:

Originally Posted by Magz (Post 1962082)
Edit the file located in /arcade/skins/skin_Arcade.php

find all occurrences of <fieldset> and replace with <fieldset class="fieldset">

save and re upload the file :up:

Thank You! Works great!

badawidollah 01-22-2010 05:41 AM

installed

but snake error
1 times only

steve1966 01-22-2010 06:00 AM

Hi can any one help ?

I get this message at the top of my header when i load the arcade

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/domains/my site.org/public_html/forums/arcade.php on line 3190

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/domains/mysite.org/public_html/forums/arcade.php on line 4082

Warning: Cannot modify header information - headers already sent by (output started at [path]/arcade.php:3190) in [path]/arcade.php on line 97

badawidollah 01-22-2010 06:03 AM

ajax forum advanced statistic broken

nightbloom 01-22-2010 07:03 AM

Quote:

Originally Posted by woffie (Post 1962969)
The skin for it?

Skin was probably the wrong word. The layout of it maybe? A better utilization of the space in a more aesthetically pleasing way?

Anyways, Ive uninstalled for now, its a jumbled up mess and more trouble to fix than i am willing to give it.

Speysider 01-22-2010 05:10 PM

Quote:

Originally Posted by steve1966 (Post 1963129)
Hi can any one help ?

I get this message at the top of my header when i load the arcade

Your server is running PHP 5.3.1. This version is known to have a lot of deprecated tags in vBulletin, so you should ask your host to downgrade their PHP version to 5.2.x

Quote:

Originally Posted by Edrondol (Post 1962542)
My question has to do with the Armor Games. AG says they don't care if you import their games, but I'm unsure as to how to do this. Here's an example of what they give you. You have the HTML and when you click download it gives you the swf file and some thumbs in a file.

How would one go about putting that into the arcade?

Have you tried to find this game at mypostingspace.com/arcade.html? They provide their ibProArcade games in .tar format, which is easier to install by simply uploading the .tar file to the arcade/tar directory and installing through the admin cp.

steve1966 01-22-2010 05:22 PM

thank you Speysider for your reply my host downgraded and that fixed it plus a few more errors i had

badawidollah 01-22-2010 10:52 PM

how to delete ibproarcade from postbit


All times are GMT. The time now is 08:03 PM.

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.08334 seconds
  • Memory Usage 1,854KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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