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 |
#212
|
||||
|
||||
Score not saving: Missing token..
Me too, after upgrade to 2.71. tried adding the code to index.php as you suggested in post one, get this error: Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/username/public_html/forum/index.php on line 2 I'm not too keen on renaming forum to index and vice versa, etc, not because I can't do it, but because I'll completely forget about this once vbulletin gets upgraded, which seems to be fairly frequently, not to mention the google site searching changes. Any other fix for this? In a way that can keep this whole process functional and simple? |
#213
|
||||
|
||||
Quote:
right after <?php add the code so the top of your index.php file will look like this 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 hope this helps .. you can pm me if you get stuck.. will help you out I am off to bed tho ATM so it will be tomorrow enjoy welcome glad to help |
#214
|
||||
|
||||
That worked! Thanks.
(Was that code different than the first post, or did I just make a really stupid mistake....) Appreciate it. |
#215
|
||||
|
||||
it was the same ..
enjoy |
#216
|
|||
|
|||
After i upgrading, the background color of the tables were transparent, how do i change now? Tks.
|
#217
|
||||
|
||||
I'm not sure where you mean post a screen shot..if you can..
|
#218
|
|||
|
|||
Look man:
|
#219
|
||||
|
||||
in your arcade css change the background color for alt1 and alt2
to Code:
background: transparent; well looking now at the new ARCADE.css the background was removed .. so just add that line above color:#000000; so it looks like this Code:
.alt1, .alt1Active { background: transparent; color: #000000; } .alt2, .alt2Active { background: transparent; color: #000000; } |
#220
|
|||
|
|||
Perfect my dear. Many thanks!
|
#221
|
|||
|
|||
Hi Hippy,
I am having a style issue with my forum. Something is conflicting in the css I am sure. This is the CSS with your modification (fix). PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|