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 |
#92
|
|||
|
|||
when i play game and it ends it takes me back to forum home what can i do to remedy this what did i do wrong....
|
#93
|
||||
|
||||
never head of this...
so redirect you may have set ? how long was the arcade installed ? when did this start happening ? what version are you running ? forum or suite ? |
#94
|
|||
|
|||
i am using vb version 4.0.7 along with 2.7.0 for arcade i followed all directions but must went wrong somewhere i installed it 4 days ago and has done it since then takes me back to main forum after game finishes when i click submit score ...where would i change redirect if thats the case ...
thanks for fast response |
#95
|
|||
|
|||
i think this is for the changes in de index.php, i hace this problem too.
--------------- Added [DATE]1291881997[/DATE] at [TIME]1291881997[/TIME] --------------- i have those problem, i think it is for the changes in the index.php |
#96
|
||||
|
||||
yep do the portal / index edit .. found in the zip archive..
|
#97
|
|||
|
|||
i see the index php but what am i changing to stop the redirect and what do i put in as new code ...thanks in advance
|
#98
|
||||
|
||||
INFO - vbadvanced or another Portal.txt
Code:
If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin, you have to edit your alternate index.php: 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 :) |
#99
|
|||
|
|||
many thanks hippy that did it funny thing it was recording my scores too but we are good now thanks....
|
#100
|
||||
|
||||
Hey guys, Im having a problem with score submission/log out on submission of scores with this mod. I am running 4.1 as well. I have noticed that the arcade works fine for some of my members, but not for others. I did also notice all scores were erased when I made upgrade from 4.0.8 to 4.1.... There seems to be no usergroup discrimination either with this no permission/ not saving score issue. One of my admins are having trouble, while I am fine(admin).... I have looked through most of the files, but I am still fairly new here, lol. My members are getting a bit restless for the arcade and Im hoping someone can help Thanks for any help in advance guys!
|
#101
|
||||
|
||||
Hi Rich_Princess .. as far as the scores being erased, the upgrade had nothing to do with it to my knowledge.. the only thing that would od that would be a un-install.. or manualy editing the database via phpmyadmin etc..
the user groups can be edited admincp usergroups.. as far as score saving .. Do you run the suite or the forum? Do you use the index.php for the forum or forum.php? Do you use vbadvanced ? Did you add the code to your index file ? if your forum address is ending in forum.php? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|