- layout fix & store css as files fix
Quote:
Originally Posted by Hippy
today is your lucky day then
over write your ARCADE template with this
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<title>{vb:raw ibprotitle}</title>
{vb:raw headinclude}
{vb:raw headinclude_bottom}
{vb:cssfile ARCADE.css}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
{vb:raw arcadeheader}
{vb:raw maincontent}
{vb:raw footer}
</div>
</body>
</html>
Click save
No longer needed with the above template..
[s]Now open up the ARCADE.css and copy it completely
close it out, no need to save.
now paste it into the additional.css
click save...[/s]
next go to
Plugins & products > plugin manager > Product : ibProArcade for vBulletin click open ibProArcade: ARCADE CSS
and select no for "Plugin is Active" ...
save
thats it
you can turn store css as a file back on
enjoy
|
for those that are just trying to fix there log / banner
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.
- Spacing between icon and title fix
Quote:
Originally Posted by Hippy
ok
I had a litte time so I found a fix for this
open /arcade/functions/functions.php
search for // we are on vB 4 or later WHOHOOO
Just under it on line 1380 you'll see
Code:
$navbits = $output_array['NAV'];
move it under
Code:
$navbits = construct_navbits(array('' => $ibforums->lang['page_title']));
enjoy
|
If you don't want to edit it yourself I attached it here
- leaderbord issue closing <form> code
- Score Not Saving / Missing token
vb suite users
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:
Originally Posted by Harley D
If you run into this memory issue, you need to increase the size of the Memory in your php.ini file, normally found in your /public_html/.
First make a COPY of the PHP.INI file, so you can RESTORE it.
Open "EDIT" the file and do a search for MEMORY, you should see the max allowed, increase it to handle a bit more than the error states it needs. Save it and re-upload the file. Should work fine now.
EXAMPLE:
Code:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 600 ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
memory_limit = 96M ; Maximum amount of memory a script may consume (16MB)
Go back to the PHP.INI file and put it back the way it was. Shared servers don't like you to have this over 64mb I believe.
|
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