vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Script Errors and cant submit scores (https://vborg.vbsupport.ru/showthread.php?t=123957)

MrZeropage 08-29-2006 05:25 AM

@Ranger187:
you've mail :)

@aggiefan:
fixed it - the sessdo-thing is done, but the games where working fine ...

Ranger187 08-29-2006 08:41 PM

Zero, you rock! Works great. Thanks.

aggiefan 08-30-2006 10:50 PM

Ours works too....thanks!

CompuJonathan 09-01-2006 08:24 AM

I'm having the same problem of not being able to submit scores. Zero, could you please PM me how to fix this issue.

Thank You!
- Compu

MrZeropage 09-01-2006 08:39 AM

you are using vbAdvanced, read the enclosed instructions "vbadvanced and other portals.txt" to fix this :)

rolandogomez 09-03-2006 03:46 PM

I have the same problems, read the portals.txt, then when I made the changes on the index, I got this (but only on the forum, not the portal page) :

Notice: Undefined index: module in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 4

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 12

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 18

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 24

Notice: Use of undefined constant act - assumed 'act' in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 30

Notice: Undefined index: act in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 30

Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 32

Notice: Undefined index: showuser in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 32

Additionally, some games work, store the scores, etc., but when I add other games, not all work. I have one question, do you do custom work so my arcade can look similar to the one on iBPA? Thanks, rg sends!

toolmanwill 10-12-2006 11:03 AM

I'm in that same boat there. Same errors as above when adding the portal code to index.php.

We use vb 3.6.2, vbadvanced CMPS, and Arcade 2.5.6+.
Still cant get the scores to save for anything. It just takes you back to the forums index, not the portal index and still doesnt save the score.

Help Please.

SarahP 10-12-2006 12:18 PM

I have posted a new post about htis but i am having the same issues as pp
please help

Malk 10-13-2006 12:14 PM

Both in arcade.php and this "fix", variables are not defined correctly, which is why the "error" notices are displayed.

Paste in this instead:

Code:

// ibProArcade modification
if(isset($_POST["module"]) && $_POST["module"] == "pnFlashGames"){
        $_GET["act"] = "Arcade";
        $_GET["module"] = "arcade";
}
if(isset($_POST["func"]) && $_POST["func"] == "storeScore"){
        $_GET["do"] = "pnFStoreScore";
}
if(isset($_POST["func"]) && $_POST["func"] == "saveGame"){
        $_GET["do"] = "pnFSaveGame";
}
if(isset($_POST["func"]) && $_POST["func"] == "loadGame"){
        $_GET["do"] = "pnFLoadGame";
}
$act = (isset($_GET["act"])) ? $_GET["act"] : "";
$showuser = (isset($_GET["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

Either way, I have the same problem that randomly scores are not submitted.

SarahP 10-13-2006 12:35 PM

Hey thanks for the info but where do i put this ? i know you said the arcade.php but i dont read scripts and i am just learning all of this ...can someone explain how to do it?


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

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.01071 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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