Version: , by shiva
Developer Last Online: Jul 2008
Version: Unknown
Rating:
Released: 05-08-2006
Last Update: Never
Installs: 0
No support by the author.
First off, getting that **** high score not saving error, which has been driving me batty, despite 2 hours of searching.
And I noticed something as well. VBA is very bad for not placing the proper link to forum pages if the forums are in a child folder, and sure enough, in the nav bar, it was pointing to the root instead of the forums folder. VBA people should check that, just put in the full URL
(You would think after a couple years, that would be fixed by now.)
This thing with the high score though...
This is my index.php in the root. My forums are in it's own folder
Code:
<?php
// ibProArcade modification
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();
}
// end of ibProArcade modification
// ++=========================================================================++
// || vBadvanced CMPS v2.1.0 (vB 3.5) - 25594
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 13:39, Wed Feb 22nd 2006
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = '/var/www/virtual/****/forums';
// ============================================
// No Further Editing Necessary!
// ============================================
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
I've doubled checked chmod and everything. (My path is correct, I just stared out some of it) Did I do this right, and if I did, any ideas?
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Just upgraded, and still not saving my high scores.
I had a look at everything, and it all works okay other than that, but double checked my index.php. I have vba in the root as index.php, but my forums are in a separate folder.
Any ideas? Pretty fresh setup, I just moved hosts.
i have strange error when i put arcade.php under vBadvanced ... see picture
with the extremepixels sking and i noticed that is problem with default style problem too
thx for answers
p.s. i hope is not wrong coz i post here under that topic
I decided to just redo the entire thing, appears the backups from the previous host was corrupted, but when I reinstall it, and if I have the same problem, will send the info.
It will be quite clean as well, very few hacks. Be php5