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)

skol 06-02-2010 11:09 PM

[QUOTE=x626xblack;2044600]Works fine for me on VB 4.0.3. No template "mess ups"

I think your missing somethings,unless you have a custom theme that has been updated with the fixes prior to install then all is fine.If your theme is not updated with fixes/edits then it's a mess,and you are left to do the edit's/fixes manually.

kondason 06-04-2010 05:29 PM

how can i add games? and from where ?

Mrdby 06-05-2010 01:56 PM

How is this mod working for everybody?

Leeleemu 06-06-2010 08:54 PM

Quote:

Originally Posted by SecondV (Post 2043539)
Edit arcade.php, find:
PHP Code:

error_reporting(E_ALL & ~E_NOTICE); 

replace with:
PHP Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192); 


Sadly this fix doesnt work for me. Running vBulletin 4.0.3 and my host wont take their PHP down to 5.2.x so is there any other way to get rid of the Deprecated errors?

keweedsmo 06-07-2010 05:43 AM

Is there any way to rate games without favoriting them first? Seems kinda stupid to me if a game needs to be in your favorites in order to rate it.

jonty 06-07-2010 05:50 PM

Quote:

Originally Posted by Leeleemu (Post 2049565)
Sadly this fix doesnt work for me. Running vBulletin 4.0.3 and my host wont take their PHP down to 5.2.x so is there any other way to get rid of the Deprecated errors?

Did you try
https://vborg.vbsupport.ru/showthread.php?t=243256

?

STORMS 06-08-2010 01:31 AM

So, would this work on 4.0.3?

GoBoiano 06-09-2010 05:18 PM

Hi. I've been getting a problem with the scores not being submitted in the arcade and some of my members have been complaining about it. I keep receiving this message:

Quote:

This score was not submitted from the game. Your score will not be saved.
Can someone please help me or tell me what the error is with this?

Mrdby 06-09-2010 06:54 PM

awesomeeeeeeee!!!

persianpros 06-10-2010 10:27 AM

Persian Language For ibProArcade

By Persian Prince

Good Luck

RedTrinity 06-10-2010 10:55 PM

Quote:

Originally Posted by lowfd (Post 2028764)
I've just converted to ibProArcade (from V3 Arcade) after I updated my forums to vb4.0 - but the layout looks borked - as if it's not using the forum theme at all. Anyone got any ideas?

https://vborg.vbsupport.ru/external/2010/06/65.jpg

My theme is stock vb with minor colour changes, etc. No template changes have been made.

Mine has looked the same as this for months. None of the supplied fixes in the relevant thread about it worked for me, either.... still waiting and hoping for a solution.

Mrdby 06-11-2010 12:26 AM

Where is the bets place to get GAMES?

gpc10347 06-11-2010 03:09 AM

Quote:

Originally Posted by RedTrinity (Post 2051769)
Mine has looked the same as this for months. None of the supplied fixes in the relevant thread about it worked for me, either.... still waiting and hoping for a solution.

Not that I'm a pro by any stretch of imagination but I did have some luck by deleting several lines of the arcade.css file from my style manager. (In my case.. the alt1 and alt2 stuff). I was actually instructed to look for items in the additional.css file but when that turned out to be of no benefit, I was very pleased with the results of removing some of the ARCADE.CSS file..

(also deleted all <legend> and </legend> tags from skin_Arcade.php and liked the results)

Now. If only I could get Marvin the Martian- Earthling Eliminator to submit something other than zeros... :)

session-one 06-13-2010 10:59 PM

is there a game list that we can add besides the default?

AceValenta 06-15-2010 03:43 AM

I am getting a security token error on high scores....
Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
Running vb 4.0.2 CMS. http://www.Fantasychampions.com

Any idea on how to fix this?

CMODS are set to 777

Thanks

jonty 06-15-2010 08:01 AM

Quote:

Originally Posted by keweedsmo (Post 2049755)
Is there any way to rate games without favoriting them first? Seems kinda stupid to me if a game needs to be in your favorites in order to rate it.

When you post a score, you can rate it then.

lucybb 06-15-2010 09:14 AM

Hi,

Is it possible to put an IF statement in the postbit, so it only puts out arcade code block is user is a champion etc.

Thanks

pablete 06-16-2010 10:51 PM

Quote:

Originally Posted by AceValenta (Post 2053842)
I am getting a security token error on high scores....


Running vb 4.0.2 CMS. http://www.Fantasychampions.com

Any idea on how to fix this?

CMODS are set to 777

Thanks

If your problem is whem un user is to record an score you have to edit index.php:

find on top line:

<?php

After, 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 the file and upload at your server.

SpeedJunkyz 06-17-2010 04:11 PM

i think this is the mod I have.... I have a question....how come the cost isnt being deducted from credits when we play? anyone know whats up?

www.speedjunkyz.com

x626xblack 06-18-2010 12:20 PM

Works on vB 4.0.4.
Installed and running.

zombieshack 06-18-2010 01:35 PM

It all installed great, I even managed to add it to the nav bar using a mod.

Howeveris there anyway to make the colour of it darker, or even mak all the text dark instead of the blue for game titles?

plus the games are default 4 per row, this made them overlap for me but by changing it to 3 a row it fixed it.

http://zombieshack.com/arcade.php

that is the arcade just so you know what my problem looks like

The Rocketeer 06-19-2010 12:45 PM

Hey, How do I add new games?

Tylzen 06-19-2010 01:58 PM

Quote:

Originally Posted by pablete (Post 2054722)
If your problem is whem un user is to record an score you have to edit index.php:

find on top line:

<?php

After, 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 the file and upload at your server.

Might be a stupid question, but is it the index.php in my root folder?
Or is it the index.HTML that is in the arcade folder?

jonty 06-19-2010 04:29 PM

Quote:

Originally Posted by Tylzen (Post 2055844)
Might be a stupid question, but is it the index.php in my root folder?
Or is it the index.HTML that is in the arcade folder?

index.php in the root folder.

Tylzen 06-19-2010 05:21 PM

Fixed, thanks :)

pablete 06-19-2010 05:36 PM

Quote:

Originally Posted by Tylzen (Post 2055844)
Might be a stupid question, but is it the index.php in my root folder?
Or is it the index.HTML that is in the arcade folder?

in index on the root of vbulletin.

AceValenta 06-20-2010 02:13 AM

Quote:

Originally Posted by pablete (Post 2054722)
If your problem is whem un user is to record an score you have to edit index.php:

find on top line:

<?php

After, 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 the file and upload at your server.

THANK YOU!!! This was the fix!

Digital Jedi 06-20-2010 02:56 AM

Quote:

Originally Posted by AceValenta (Post 2056139)
THANK YOU!!! This was the fix!

Yes, and it was also included in the ZIP files documentation.

The Rocketeer 06-22-2010 04:51 AM

how do i add more games?

fr?nk 06-22-2010 04:34 PM

hi,
great add-on, but i have a problem when clicking on "submit score". instead of the arcade main page the forums main page appears. any idea?
thanks frank

odln018 06-22-2010 05:40 PM

Which index.php?

ilukem 06-24-2010 10:36 AM

Does anyone know how to fix the template? I installed it to my vBulletin 4.0.4 and it looks crap. Tables don't line up or anything.

Oh and another thing, it doesn't have a page title.

The Rocketeer 06-24-2010 12:23 PM

Hey, How the heck DO YOU INSTALL NEW GAMES >?

Digital Jedi 06-25-2010 08:03 AM

Quote:

Originally Posted by The Rocketeer (Post 2058775)
Hey, How the heck DO YOU INSTALL NEW GAMES >?

Support forum.

MarkoXaser 06-25-2010 09:32 PM

i receive an error when the application send the scoreĀ…. about certain "missed token"

smelly 06-25-2010 11:30 PM

I've done most of it but cant find the following file :Open "includes/functions_showthread.php"

also in Open "includes/functions_online.php"..i cant find ..error_reporting(E_ALL & ~E_NOTICE);

I'm running the latest VB with the patch...is this configured differently and do I need to lokk in a different file?

Digital Jedi 06-26-2010 05:46 AM

Quote:

Originally Posted by smelly (Post 2059633)
I've done most of it but cant find the following file :Open "includes/functions_showthread.php"

also in Open "includes/functions_online.php"..i cant find ..error_reporting(E_ALL & ~E_NOTICE);

I'm running the latest VB with the patch...is this configured differently and do I need to lokk in a different file?

If you're running the latest vB version, why are you following the install instructions for vBulletin 3.0.x?

smelly 06-26-2010 05:56 AM

yeah well that might explain it..my bad...thanks

might because I downloaded the wrong package...is there a package for VB4.0.3

meraj07 06-26-2010 11:58 AM

Where to Find Games Please?

KURTZ 06-27-2010 12:40 PM

guys i've a trouble with my arcade ... it looks really weird ... http://www.fniv.it/board/arcade.html


All times are GMT. The time now is 05:16 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.08778 seconds
  • Memory Usage 1,882KB
  • 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
  • (5)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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