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 |
#302
|
|||
|
|||
Hi
We are using NGINX and do not have any .htaccess file in the root directory of the arcade. Also, the zip attachment you have above has nothing in it. Our problem is half the games are not able to submit scores... Quote:
|
#303
|
|||
|
|||
Quote:
I've installed it as a mirror, without removing the previous version, but now is I have two identical sets |
#304
|
||||
|
||||
Quote:
I do not have the time to check your OS but you need to have your ftp client set to be able to view dot file you can make your own .htaccess with this in it Code:
RewriteEngine on # Send hardcoded ipa scores to arcade instead RewriteCond %{QUERY_STRING} act=Arcade [OR] RewriteCond %{QUERY_STRING} autocom=arcade RewriteRule ^index.php arcade.php [L,QSA] this goes for the others who are posting they are adding this to there arcade dir Quote:
Im not sure why this happens to some with these older v2 games make a test site and try it there |
#305
|
|||
|
|||
Actually i know how to create an .htaccess file...its just that NGINX web servers do not use the .htaccess file so what could i do in it's place?
I also have a second question...seems when i add games it says that i need to CHMOD certain directories to 777. I am just curious if setting these directories to 777 will post any security risks....and the arcade directory in general should be set to 777 or 755? Thanks. Quote:
|
#306
|
||||
|
||||
Did you do the index edit ? in the archive you'll find the code
|
#307
|
||||
|
||||
Hi Hippy
I uploaded your htaccess file to the root dir where arcade.php, index and forum are and then removed the index.php arcade code, I then tried a game and it would not send the score, I put the code back in the index.php did not remove the htaccess file and then replayed the game and it scored. Any ideas ? |
#308
|
||||
|
||||
was it a .htaccess ? or htaccess with out the .
was was the issue before ? |
#309
|
||||
|
||||
That was it, forgot the "." Thank You Hippy
|
#310
|
||||
|
||||
Anytime
|
#311
|
|||
|
|||
Im so sorry but this thread has just totally confused me, Im not a programmer so I am beat and will have to install the Arcade. this line is not in my navbar template,
HTML Code:
<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li> Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|