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 />
;)


All times are GMT. The time now is 09:57 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.09642 seconds
  • Memory Usage 1,769KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (7)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