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)

dieselpowered 11-26-2005 08:45 PM

Well I would like to use this, however, without the scoring working guess it is kinda pointless. Will keep an eye on the thread to see when it is resolved.

It is an excellent hack, zero, very nicely done...just need to get that darn score thing taken care of :)

Koopa 11-26-2005 08:47 PM

Quote:

Originally Posted by RaceJunkie
During this step I get this.

XML Error: mismatched tag at Line 45

How can I edit the templates? With my skin, the link text is unreadable on a white background.

Thanks

Boofo 11-26-2005 08:58 PM

Quote:

Originally Posted by xtremeoff-road
Well I would like to use this, however, without the scoring working guess it is kinda pointless. Will keep an eye on the thread to see when it is resolved.

It is an excellent hack, zero, very nicely done...just need to get that darn score thing taken care of :)

Resolved? Those that are having problems are finding out it is not the arcade causing the issue. I'm not sure what more we can do. It works for almost everyone else in the thread.

djjeffa 11-26-2005 09:03 PM

Quote:

Originally Posted by darkworld
And you tried the solution in post #301?

https://vborg.vbsupport.ru/showpost....&postcount=301

Gemma

nice and eazy install but under Game Information it is showing everygame 2 times.
any ideals?

Boofo 11-26-2005 09:08 PM

Quote:

Originally Posted by Koopa
How can I edit the templates? With my skin, the link text is unreadable on a white background.

Thanks

In the arcade/skins/ directory there is a file called skin_arcade.php. That is where you edit the html code for the page.

redlabour 11-26-2005 09:11 PM

Quote:

Originally Posted by amykhar
Yep. This fixed it. Specifically, change these two lines:
Code:

// modified to make less use of the index.php
$ibforums->vars['base_url'] = "arcade.php?$session[sessionurl]&";
$ibforums->base_url = "arcade.php?$session[sessionurl]&";

To
Code:

// modified to make less use of the index.php
$ibforums->vars['base_url'] = "/forums/arcade.php?$session[sessionurl]&";
$ibforums->base_url = "/forums/arcade.php?$session[sessionurl]&";


Does not work with MKPortal - same Error :

Quote:

Fatal error: Cannot redeclare class db_driver in /poltbofu/www.politikstube.de/mkportal/include/mk_mySQL.php on line 7
The Score is saved but the Error is showed - and Arcade is still not showing the navbar from MKPortal.

I have tried it with the full path including www.politikstube.de of course and without.

What MKPortal does is to add a Line at functions.php :

Quote:

// parse PHP include ##################
if (!is_demo_mode())
{
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
}
//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added

Why does this not work for this Arcade ?
http://www.mkportal.it/support/showthread.php?p=53945

Alfa166 11-26-2005 09:16 PM

Firstly.......Great work Mr Z & all your helpers.

I'm using vBadvanced and found the code below allows scores to be saved, I did edit out the first section of it though as it was giving me errors, all seems to be in order now.

Code:

//if($_POST['module'] == "pnFlashGames"){
// $_GET[act] = "Arcade";
// $_GET['module'] = "arcade";
//}
if($_POST['func'] == "storeScore"){
$_GET['do'] = "pnFStoreScore";
}
if($_POST['func'] == "saveGame"){
$_GET['do'] = "pnFSaveGame";
}
if($_POST['func'] == "loadGame"){
$_GET['do'] = "pnFLoadGame";
}
$act = $_GET[act];
$showuser= $_GET[showuser];
if($act == "Arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}

Just put that at the top of the cmps index.php file under <?php
Then upload it and all should be fine

TosaInu 11-26-2005 09:56 PM

Very neat hack.

How resource intensive are the games themselves? Is the user loading data into his browser and is the whole game played 'locally' from there on, or does the server proces each second of fun for all users?

MrZeropage 11-26-2005 09:59 PM

Games are downloaded and played in local browser, you just have the traffic for each game to be transferred to the user

hobbes747 11-26-2005 10:00 PM

Quote:

Originally Posted by duplu
I have a bit of a problem which I don't know is solveable.

The whole installation went fine and the arcade is running. However I have about 1,000 games and over 30,000 scores in the scores table. Any page in the arcade takes over 30 seconds to open on my test site. If I check the server (and this is a Dual Opteron server) I can see MySQL is going mad on queries. I guess it is trying to calculate the new top tables, does it do this on every page!?

I have the same problem on a dedicated server with only 200 games. It's a bit bogged. It's the main page, scores pages and everything, not just the game pages.

Other than that, it's great. :nervous:


All times are GMT. The time now is 11:44 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.06759 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)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
  • (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