The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
They're not in the forum, they're in the ZIP file. The one that says INFO. So far I've not seen anyone say that it didn't work with vB4.
|
#3
|
|||
|
|||
I am seeing exactly the same thing and have been ever since trying to get the arcade going with vb4.
I've tried all three file edits, but I have just the index.php edited at the moment. The exact message is"This score was not submitted from the game. Your score will not be saved." I get the same from every game that I've been able to test. I even installed two new games just so I'd have games with no scores - to be sure my score would be my personal best as well as high score. I've tried installing the plugin again as well. No change. This is my index.php file: Code:
<?php // ibProArcade if($_POST['module'] == "pnFlashGames") { require_once('./global.php'); switch($_POST['func']) { case "storeScore": $_GET['act'] = "Arcade"; $_GET['module'] = "arcade"; $_GET['do'] = "pnFStoreScore"; break; case "saveGame": $_GET['do'] = "pnFSaveGame"; break; case "loadGame": $_GET['do'] = "pnFLoadGame"; break; case "loadGameScores": $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT); $uid= $vbulletin->userinfo['userid']; $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1"); $scores = $game[score]; if($scores != false) { //Return true print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke } else { print "&opSuccess=false&error=Error&endvar=1"; } break; } } $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 /*======================================================================*\ || #################################################################### || || # vBulletin 4.0.4 - Licence Number |
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
I've been having this same issue since upgrading to VB 4.03 a few months ago. My arcade is useless now and the support here is non-existent.
|
#6
|
|||
|
|||
I didn't include the entire file. I just wanted to show that I had the code shown in the INFO files right after the opening <?php
|
#7
|
|||
|
|||
Quote:
I have the same problem and cant save high scores....and the zip folder doesnt show an info file. --------------- Added [DATE]1277641745[/DATE] at [TIME]1277641745[/TIME] --------------- well I went back through everything and redid all the script addons and it works now. |
#8
|
|||
|
|||
Quote:
Re-install? Did you un-install first or just install over the existing installation? If you did an uninstall, did you have to setup all of your games again as well or were they still there? |
#9
|
|||
|
|||
Well, I've checked and tried everything - still no scores are saved.
arcade directory has correct permissions. I have verified that the edit has been done to index.php - still no scores are saved. I tried to add the code to content.php and forum.php (just in case) - still no scores are saved. Backed out all edits and just did the index.php file again - still no scores are saved. Uninstalled the product (and lost all games and settings) then re-installed and re-did edits - still no scores are saved. Uninstalled product, deleted all the files and made sure the tables were removed from the database, then re-installed - still no scores are saved. I'm not a complete noob to this stuff, but I'm not an expert either. I can dig into code if someone points my nose in the right direction. There's something going on here beyond the edit to the index.php. |
#10
|
||||
|
||||
if the index edit didn't work for you I posted in here what esle can be done..
https://vborg.vbsupport.ru/showthread.php?t=249120 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|