PDA

View Full Version : Redirect to Homepage



imported_Nzarect
03-09-2009, 06:18 PM
I installed some v2 games, they install and play fine, but when it comes to the scores being submitted it jumps to the homepage (vbadvanced page). Any idea what could be causing that?

KW802
03-09-2009, 06:22 PM
Do you have vBadvanced and Arcade.php installed to the same folder?

Our Sponsors
 

imported_Nzarect
03-09-2009, 06:39 PM
Yes, they're both in the same dir

KW802
03-09-2009, 06:50 PM
Yes, they're both in the same dirThat's what I suspected. :) The problem is that the IB games want to submit their scores to a file named "index.php" instead "arcade.php" like the v3A games do. The code to look for the IB game scores being submitted is using a plugin hook on forumhome and that hook location is not present by default in the vBa CMPS index.php file.

I will be back at my house later tonight; when I get there I'll follow-up this thread with instructions with what needs to be done.

Our Sponsors
 

imported_Nzarect
03-09-2009, 07:10 PM
Ok sounds good, I'll check back later on

KW802
03-10-2009, 12:57 AM
In the CMPS index file (likely named 'index.php' from what you're describing) load it in an editor and find this bit of code...
require_once('./global.php');... and after fit insert this bit of code:
($hook = vBulletinHook::fetch_hook('forumhome_start')) ? eval($hook) : false;That should then allow your IB v2 games to have their scores submitted (IB "v32" games will be supported in 1.0.9).

:)

imported_Nzarect
03-10-2009, 07:17 AM
Works like a charm, appreciate the assist Kevin.