Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Help and noticed a error with VBAdvanced Details »»
Help and noticed a error with VBAdvanced
Version: , by shiva shiva is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

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.

Comments
  #2  
Old 05-08-2006, 08:42 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is a confirmed bug, and it is fixed in v2.5.6+ (which is planned to be released on 11th may)
Reply With Quote
  #3  
Old 05-08-2006, 09:06 AM
shiva shiva is offline
 
Join Date: Apr 2002
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which bug is it, the url thing or the scores saving thing?

Thanks for replying so quickly. looking forward to the update
Reply With Quote
  #4  
Old 05-10-2006, 04:42 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is a bug about forums which are in a subfolder (/forums/) and only affects if you have vBulletin 3.5.x with it ... the URL-thing
Reply With Quote
  #5  
Old 05-12-2006, 07:39 AM
shiva shiva is offline
 
Join Date: Apr 2002
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-12-2006, 09:56 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please provide FTP+AdminCP-Access via PM and I will check this ...
Reply With Quote
  #7  
Old 05-12-2006, 03:22 PM
mljask mljask is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Files
File Type: (21.4 KB, 13 views)
Reply With Quote
  #8  
Old 05-14-2006, 06:31 PM
shiva shiva is offline
 
Join Date: Apr 2002
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06506 seconds
  • Memory Usage 2,289KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete