The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
ibProArcade Fixes Details »» | ||||||||||||||||||||||||||||||
Quote:
or Full width Forum logo mod the above ARCADE template will work alone this template should be changed anyway.. the arcade is so out of date. it's calling the old template ARCADE instead of ARCADEVB4 I just copied the ARCADEVB4 template and added it to the ARCADE template with a couple small changes If you are still using the stock ARCADE template soon or later it's going to stop working.
Quote:
if adding this code to your index.php don't work below as stated in your arcade zip file you downloaded Code:
open index.php At the very beginning of the File, right after: ---------------------------------------------------------- <?php ---------------------------------------------------------- you have to insert: ---------------------------------------------------------- // 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 ---------------------------------------------------------- Otherwise your scores won't be recorded :) If the Above edit does not work Pitman posted a rewrite that does the same things with out editing the index.php or of you don't have one https://vborg.vbsupport.ru/showpost....6&postcount=83 I also have a version of this from stangger5 Posted in the new updated Ibproarcade fixes Fatal error: Allowed memory / uploading in bulk Quote:
I tried to add all the bug fixes in one thread to make it easy for people to find them.. If I forgot any feel free to post them here.. Hope this helps out enjoy Download Now
Show Your Support
|
Comments |
#322
|
||||
|
||||
Could be many different things..
If they get a max_input_vars isnt high enough..Try raising it.. Could try deleting the game (Remove from database and delete game files).. Install some other games and then install it again.. |
#323
|
|||
|
|||
Arghhhhh
This Dude wasted my Time and now he just sayed it is not so important for him. He says he can live with this Issue. First he could not get fast enough Help and now that. So i will stop at this Point to search for him for a Solution. Sorry for taking Time from you stangger and you Hippy. Regards, Mahoni |
#324
|
||||
|
||||
no problem..
|
#325
|
|||
|
|||
hi buddy im trying to change the black lines on Tournaments cant seem to find it
any chance u know how |
#326
|
||||
|
||||
That's probably in arcade.php. He using tables with border colors to create the lines. You'd have to edit that file directly after hunting for it somewhere in the file. The code would look something like this:
PHP Code:
|
Благодарность от: | ||
Hippy |
#327
|
||||
|
||||
Quote:
Is this with a custom skin? Shoot me pm I'd you would like me to see the issue... I forget tho jedi is also correct about this being in the tourtment area |
#328
|
|||
|
|||
Hi,
I've got my arcade up but the only thing that seems to be not working is that high scores are not being saved. The game screen says it is sending the score and then sends you to a forum page rather than back to the arcade page. Is that suppose to happen? I'm using vb4.2 I'm also using vb on a Windows server. I think I saw a place where this was addressed but I can't find it again. Thank you in advance for your help. :-) |
#329
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=282802 You'll find it here or within your arcade archive you downloaded @vb in mrzeropages arcade thread |
#330
|
|||
|
|||
Quote:
I just did that and my arcade comes to a complete stop after a game and it is sending results. It "stops" at the following URL: http://www.yoursite.com/forum/index....de&do=newscore I'm not sure what to do now?? Thank you for your help. :-) |
#331
|
||||
|
||||
not enough info.. anyway
windows server the htaccess rewrite will not work .. so you need to use open index.php At the very beginning of the File, right after: ---------------------------------------------------------- Code:
<?php you have to insert: ---------------------------------------------------------- Code:
// 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 Code:
Otherwise your scores won't be recorded :) |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|