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
Redirecting/Scores not saving Details »»
Redirecting/Scores not saving
Version: , by amagazi amagazi is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-03-2007 Last Update: Never Installs: 0
 
No support by the author.

I have a problem.

Installed the latest version.

When the game is completed: I am redirected to the index.php and my scores are not saved.

Using the lasest vbAdvanced.

Any suggestions?

I'm sure this has been answered, but hell, I'm not even sure what to search for.

- Team Amagazi

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-03-2007, 03:21 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use the readme and make the edit specific for vBAdvanced users.
Reply With Quote
  #3  
Old 02-03-2007, 07:13 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put in the index.php of your vBAdvanced:

After

PHP Code:
<?php
This

PHP Code:
// 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];
$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 modification 
Reply With Quote
  #4  
Old 02-04-2007, 03:18 AM
amagazi amagazi is offline
 
Join Date: Jan 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried using this code.. I get this error:


Code:
Warning: main(arcade2.php) [function.main]: failed to open stream: No such file or directory in /data/12/1/3/68/1166068/user/1239319/htdocs/forums/index.php on line 20

Warning: main() [function.include]: Failed opening 'arcade2.php' for inclusion (include_path='.:/usr/services/vux/lib/php') in /data/12/1/3/68/1166068/user/1239319/htdocs/forums/index.php on line 20
edit: Tried changing line 20 to arcade.php from arcade2.php
Got this error:

Code:
This score was not submitted from the game. Your score will not be saved.
Fixed.. needed some AdminCP changes.
Reply With Quote
  #5  
Old 02-11-2007, 01:01 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed or nor fixed?? What do you mean by needed some admincp changes??? I have the same problem so I'd like to know.
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 05:40 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.16082 seconds
  • Memory Usage 2,244KB
  • Queries Executed 18 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete