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)

betts02 08-30-2010 06:04 PM

Ca anyone post the exact fix for the scores not showing ?

Cheers in advance

Hippy 08-30-2010 07:43 PM

I try to help keep the arcade alive since the Author has not been around.. this mod has gone unsupported for months..

I own vb forum... I went as far as Buying the suite to help the people that where having issues vb suite and the arcade since there is code changes, files added etc..

when I posted this stuff .. I have my wife over my shoulders, do this do that, get off the computer..etc
so lots of think aren't clarified as they should. I figure people read enough around here that they would understand..

Quote:

Originally Posted by onehost (Post 2091407)
running v4.0.6 - only problem that i notice is it is not saving data.

saw link above for fix.

placed arcade code in index.php
changed "content" to "index"
renamed forum.php and index.php
changed forum to index in admincp
reuploaded xml file...

I made all these changes, and still no saved data.

There is one more problem, all the game avatars are shifted over to the right, while the column has not...
so the colums are in place, and the game avatars are not.


update: Ok, got it to save scores now, but it does say can not access table...
games avatars still out of place...

I did not say to do everything in that fix
I stated
if adding this code to your index.php don't work
to try renaming the forum.php index.php etc...
this was something I test to get the score to save..


import the product-ibproarcade.xml again
is not part of that I will clear that up in that thread..
this was for the people that had the arcade working and did the upgrade to 4.0.6 and lost the ARCADE template and the ARCADE.css..

update: Ok, got it to save scores now, but it does say can not access table...
from helping people fix there arcades I came across this a couple times they had to kill /delete/unistall the games via admincp>arcade> and they install them from a tar file..
but any new game they uploaded worked perfect.. no errors no can't access tables etc..
I feel this is a issue with the game not the arcade at this time..

so the colums are in place, and the game avatars are not.
I would have to see your site or post a image , I am unsure of what the problem is there..

Quote:

Originally Posted by onehost (Post 2091432)
Your directions are not very clear...

over write your ARCADE template with the attachment
<attachment.zip>

Ok, which file is the arcade template? as the next
line states open the arcade.css => which I thought
the arcade.css is the arcad template, obvious it is not.

then open up the ARCADE.css and copy it completely

Ok, copy arcade.css to additional.css, then do what
with the arcade.css? Leave it after copying? delete it?

now paste it into the additional.css
click save...

Please clarify this in better steps.


over write your ARCADE template with the attachment
I just assume people know what a template is and where they are located..
also goes for the .css templates..
anyway
Ok, copy arcade.css to additional.css, then do what
with the arcade.css? Leave it after copying? delete it?

I didn't say do anything with the ARCADE.css after moving it's contents ..since this is just a fix. I didn't want people to delete it so when the new version comes out, I didn't want to cause more problems..
after copying it over I posted this
Quote:

now go to
Plugins & products > plugin manager > Product : ibProArcade for vBulletin >ibProArcade: ARCADE CSS
and select no for "Plugin is Active" ...
thats it turn store css as a file back on"


this unhooks it from the vbulletin.css
so the ARCADE.css is just there. Its no longer being used or called by the script..

Hippy 08-30-2010 07:53 PM

Quote:

Originally Posted by betts02 (Post 2091681)
Ca anyone post the exact fix for the scores not showing ?

Cheers in advance

This is that mrzeropage has in his arcade zip file..
Quote:

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:

open index.php

At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------

you have to insert:
----------------------------------------------------------
// 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
----------------------------------------------------------


Otherwise your scores won't be recorded :)
If this don't work.. I posted about changing a few things without using this index file fix thats in your arcade zip file named INFO - vbadvanced or another Portal.txt

does not matter if you use a portal .. as this is old info and has not been updated for a long time..

this has to do with vb changing over to forum.php
It used to be index.php.......
But there is still a index.php with your vb install ... but now it's only a redirect..

If his fix don't work for you and you can't figure out how to do what I posted I can walk you through it on MSN

I am going to clean up that thread I posted and try to make it clearer

Hippy 08-30-2010 09:46 PM

Quote:

Originally Posted by betts02 (Post 2091326)
Again many thanks, That fixed that issue

But if you could be more specific to new users like myself

Maybe name the fix better ?

cheers again

Just to add also

What add-ons work with this ? Do you know ?cheers

SXLM - ibPro Arcade - Anywhere Image Link
Users Active in ibproArcade on top of arcade
Arcade: Main Nav Tab + Sub Menu + Dropdown Menu
Ibproarcade new post on highscore
Ibproarcade new thread on highscore
ibProArcade reduce scores to keep arcade competitive.
ibProArcade multiple CMPS-Module this one I fixed to work with vb4 if you want it let me know I can't post it because I don't have permission as mrzeropage has not logged in since june or something like that

bruneiguru 08-31-2010 06:50 AM

Hi there, I've uploaded the arcade to my server and unzipped the files. Also added the xml file via my vbulletin admin panel.

I can't see how to get it working now as not showing anywhere.

In Plugin/Products in the vb admin panel there are numerous downloads for arcade in the uploads/downloads tab. eg:

ibProArcade: ARCADE Template Cache ibProArcade for vBulletin

Do I need to tick these then download? I'm new to this. Help much appreciated

fethimurat 09-07-2010 10:47 PM

Good. But I need Turkish language. Can I find?

johndoeno001 09-08-2010 12:08 AM

Hi, I seem to have a problem. The arcade has been working perfect for the longest time, but for some reason scores have stopped saving. No error code is given, the game simply freezes once you lose and doesnt move on to the scores. My site is http://www.paradoxforums.com if you want to take a look. Thankyou

Hippy 09-08-2010 12:34 AM

the games that don't save scores check the gamedata folder to make sure those games not saving scores the folder is there..
I ran into the same problem. for some reason the gamefolder gets deleted..

mmacrypt 09-09-2010 07:02 AM

Quote:

Originally Posted by tazattitude (Post 1972901)
What I did on the postbit_legacy template was look for this

PHP Code:

<vb:if condition="$post['userid']">
                <
hr /> 

and directly below it, I added this

PHP Code:

<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br /> 

This seemed to work better for me :up: At first , mine also looked like yours

Thank you for this, helped me out a lot.:D

Hippy 09-09-2010 07:33 PM

add this, this one is correct
Code:

<dd>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br />
;)

sunnylikbeckham 09-10-2010 04:52 PM

hey i upgraded from 3.8vb to 4.0
also upgraded arcade
all going well
but in page title it shows link not a game name

why so

Hippy 09-10-2010 06:54 PM

Quote:

Originally Posted by sunnylikbeckham (Post 2096323)
hey i upgraded from 3.8vb to 4.0
also upgraded arcade
all going well
but in page title it shows link not a game name

why so

first post

https://vborg.vbsupport.ru/showthread.php?t=249120

biggeorge 09-11-2010 01:33 AM

1 Attachment(s)
Installed and working perfectly with vb 4.0.6

I would like to work on the layout of (either of) the templates - the layout is kind of cluttered. I've tweaked the settings the best I can in the admincp, but I'm still not satisfied. Are there any templates available for download, or can someone direct me to the template I can edit? At a minimum it seems I'm having an issue with columns not lining up.

Thanks in advance.

Attachment 121787

Hippy 09-11-2010 02:34 AM

ibProArcade Fixes

Quote:

Originally Posted by biggeorge (Post 2096504)
Installed and working perfectly with vb 4.0.6

I would like to work on the layout of (either of) the templates - the layout is kind of cluttered. I've tweaked the settings the best I can in the admincp, but I'm still not satisfied. Are there any templates available for download, or can someone direct me to the template I can edit? At a minimum it seems I'm having an issue with columns not lining up.

Thanks in advance.

Attachment 121787


luseik 09-11-2010 04:28 AM

I have a problem in Arcade > Add game.
Quote:

mySQL query error: SELECT gid, gname FROM games_list WHERE gname='Jason's Pong (Oblivion Knight)'

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 's Pong (Oblivion Knight)'' at line 1
mySQL error code:
Date: Friday 10th 2010f September 2010 10:27:17 PM
Does anyone help me how to fix it? Thank you.

Hippy 09-11-2010 07:54 PM

does it happen with all game ?
some games are not packed correctly so you'll get an error

shahryar_neo 09-12-2010 09:11 AM

Thanks for this perfect module .

I'm using Advanced Forum Statistics [AJAX] hack on my forums . it's on the forum home ( below the navbar) the problem is when the player want to submit the new score , it shows this stats below the navbar . how can I prevent it to show ? ( it shows just in submitting score page )

Tomale 09-13-2010 12:21 AM

Are there directions for modifying a Flash Actionscript 3.0 game to work?

AfterWorldForum 09-13-2010 07:03 AM

Quote:

Originally Posted by luseik (Post 2096553)
I have a problem in Arcade > Add game.

Does anyone help me how to fix it? Thank you.

Remove the ' in "Jason's".

An apostrophe indicates the beginning or end of a SQL character string. In other words, the SQL reply from the database indicates it tried executing this command:

Code:

SELECT gid, gname FROM games_list WHERE gname='Jason'
And the rest ('s Pong (Oblivion Knight)) is not recognised as valid SQL.

So either rename the game to Jasons Pong (Oblivion Knight), or add an escape character (backslash " \") in front of the name to make it go through.

HTH.

Peter

K4GAP 09-13-2010 08:37 AM

Hippy, you are a great addition to this community. I like folks like you. Keep up the good work :)

ZombieAndy 09-14-2010 12:26 AM

My site used to use v3 arcade but as they dont seem to have developed a update for vB4 yet i was considering converting, can anyone tell me, does this arcade support converting all my games and members scores from vB3 v3 arcade to vB4 ibarcade?

KW802 09-14-2010 01:42 AM

Quote:

Originally Posted by ZombieAndy (Post 2097860)
My site used to use v3 arcade but as they dont seem to have developed a update for vB4 yet i was considering converting, can anyone tell me, does this arcade support converting all my games and members scores from vB3 v3 arcade to vB4 ibarcade?

{You have PMs disabled....} v3a for vB4 is available at v3Arcade.com (is mentioned in the vB3 thread). ;)

mmackinnon 09-14-2010 07:33 AM

1 Attachment(s)
For some reason I am having display issues with this mod. I am using 4.0.6 of vb and have no idea whats happening.

Here is a screen shot of how screwed up it has gotten

help!

AfterWorldForum 09-14-2010 07:53 AM

Quote:

Originally Posted by mmackinnon (Post 2098001)
For some reason I am having display issues with this mod. I am using 4.0.6 of vb and have no idea whats happening.

Here is a screen shot of how screwed up it has gotten

help!

Try and head over to the support forum for the arcade. This is a wellknown issue, and a solution has been well documented for it. Basically, if my memory serves me well, you grab the code from the arcade.css and paste it into the additional.css.

You will also need to do another edit in order to ensure your scores can be saved, which includes copy/pasting some code into your index or forum.php.

HTH.

Peter

pportuese 09-14-2010 05:43 PM

Anyway to make an arcade button on the navi bar where it says forum/what's new/ etc

AfterWorldForum 09-14-2010 06:01 PM

Edit: Here's the mod I ended up using: Arcade: Main Nav Tab + Sub Menu + Dropdown Menu .

Hippy 09-15-2010 07:13 PM

Quote:

Originally Posted by AfterWorldForum (Post 2098002)
Try and head over to the support forum for the arcade. This is a wellknown issue, and a solution has been well documented for it. Basically, if my memory serves me well, you grab the code from the arcade.css and paste it into the additional.css.

You will also need to do another edit in order to ensure your scores can be saved, which includes copy/pasting some code into your index or forum.php.

HTH.

Peter

correct AfterWorldForum :up:
but moving the ARCADE.css contents to additional.css will only work if the arcade template is replaced with the one posted ;) in the thread..


happy Modding :up::up:

Simmons 09-15-2010 08:28 PM

where do i find games to add?

Ment 09-16-2010 06:16 PM

1 Attachment(s)
Following problem: I have update to vb 4.0.7. Since the update I have the problem that I am no longer able to save highscores (see error message). I have no idea about security tokens. Who can explain it to me please what I must do like where? Sorry for my bad english.

Hippy 09-16-2010 07:01 PM

Quote:

Originally Posted by Ment (Post 2099184)
Following problem: I have update to vb 4.0.7. Since the update I have the problem that I am no longer able to save highscores (see error message). I have no idea about security tokens. Who can explain it to me please what I must do like where? Sorry for my bad english.

look in the ibProArcade-Support-Forum

War.Frog 09-16-2010 08:45 PM

Quote:

Originally Posted by Ment (Post 2099184)
Following problem: I have update to vb 4.0.7. Since the update I have the problem that I am no longer able to save highscores (see error message). I have no idea about security tokens. Who can explain it to me please what I must do like where? Sorry for my bad english.

I'm having the same problem. I've added the index.php code like I have with every other vBulletin upgrade, but this time it's not working. Once I've finished playing a game it takes me immediately back to my forum home page.

Any thoughts? BTW, I searched the support forum to no avail re: 4.07

Hippy 09-16-2010 08:55 PM

admincp , under settings > options> Forums Home Page Options
change the "Script Name for Forum Home Page" from forum to index

War.Frog 09-16-2010 09:09 PM

Quote:

Originally Posted by Hippy (Post 2099264)
admincp , under settings > options> Forums Home Page Options
change the "Script Name for Forum Home Page" from forum to index

Thanks Hippy. I tried this and I get this error:

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

Any thoughts?

Hippy 09-17-2010 12:21 AM

are you using the suite ?
Score Not Saving / Missing token fix found here

https://vborg.vbsupport.ru/showthread.php?t=249120

SEW810 09-17-2010 05:25 AM

Fixed Saving score issue.
Thnx

Now, trying to fix "messed upd things"

Great MOD.
Regards!!!


EDITED ++++++++++++++++


Fixed messed up things too
This line saved my arcade wiiiiiiiiiiiiiiii

Quote:

open up your skin_v3Arcade.php and your skin_Arcade.php with your editer, do a search for tcat.... and replace them all with blockhead
http://www.seusers.com/foro/arcade.php

Hippy 09-17-2010 11:45 PM

Quote:

Originally Posted by SEW810 (Post 2099473)
Fixed Saving score issue.
Thnx

Now, trying to fix "messed upd things"

Great MOD.
Regards!!!


EDITED ++++++++++++++++


Fixed messed up things too
This line saved my arcade wiiiiiiiiiiiiiiii




http://www.seusers.com/foro/arcade.php

tcat is no longer used in vb4 so the style and the arcade are a little out of date :(

glad you sorted it out

bek4ever7 09-18-2010 02:38 PM

I have a problem

when i play a game..and finally die/ win or whatever
it fails to load the page and takes ya back to the main site

so your score / high score isnt recognized
and thus the board looks like noones ever played it

Hippy 09-18-2010 04:28 PM

Does it happen with all games ?
If not then make sure the gamedate folder is not missing..
whats your site url?

MonsterDK 09-18-2010 08:59 PM

hey,

Can anyone kindly help with changing the arcade colours so I can match them to my forum colours please? so that is the background and also text colours of the arcade... thanks in advanced.

Hippy 09-18-2010 10:00 PM

Quote:

Originally Posted by MonsterDK (Post 2100196)
hey,

Can anyone kindly help with changing the arcade colours so I can match them to my forum colours please? so that is the background and also text colours of the arcade... thanks in advanced.

with out seeing your arcade I could suggest changing your alt1 and alt2 in your arcade.css
to this

Code:

.alt1, .alt1Active
{
        background:{vb:stylevar formrow_background.backgroundColor};
        color: {vb:stylevar blocksubhead_color};
          //-moz-border-radius-top{vb:stylevar right}: {vb:stylevar border_radius};
        //-moz-border-radius-top{vb:stylevar left}: {vb:stylevar border_radius};
        //-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar border_radius};
        //-webkit-border-top-{vb:stylevar left}-radius: {vb:stylevar border_radius};
        //-moz-box-shadow: -1px 1px 1px {vb:stylevar forumbits_shadow_color};
        //-webkit-box-shadow: -1px 1px 1px {vb:stylevar forumbits_shadow_color};
        //margin-bottom: {vb:stylevar padding};
}
.alt2, .alt2Active
{
        background-color:{vb:stylevar content3_background.backgroundColor};
        color: {vb:stylevar blocksubhead_color};
        //-moz-box-shadow: -1px 1px 1px 1px {vb:stylevar forumbits_shadow_color};
        //-webkit-box-shadow: -1px 1px 1px 1px{vb:stylevar forumbits_shadow_color};
        //margin-bottom: {vb:stylevar padding};
}


and change your ARCADE template to this https://vborg.vbsupport.ru/showpost....07&postcount=2
grab the attachment


All times are GMT. The time now is 05:09 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.06269 seconds
  • Memory Usage 1,869KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (20)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