The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
||||
|
||||
![]()
me too, i will not upgrade to vb 4 without this plug in.. this is the most vital plug in in vb
|
#23
|
||||
|
||||
![]() Quote:
Will you post the needed changes here, or will it be available form your site? Is the mod author still available, sadly, i dont see any recent activity from him |
#24
|
||||
|
||||
![]()
I did some template and php edits to get it to work..
I`m trying to get up with MrZeropage before posting anything.. |
#25
|
|||
|
|||
![]() Quote:
I have upgraded my forum to vb4 and trying to change arcade template and files as well, but it is very hard for me cause I don't understand most codes. ![]() |
#26
|
|||
|
|||
![]() Quote:
Unfortunately will remain Disabled for now ![]() |
#27
|
||||
|
||||
![]()
I sent MrZeropage a PM some days ago with question about his commitment to bring this addon to vB4, but still no reply.
|
#28
|
|||
|
|||
![]()
What all would it take stangger to make the mod available for you to take over?
|
#29
|
|||
|
|||
![]() Quote:
Ohhh july? Is a lot of time! ![]() |
#30
|
|||
|
|||
![]()
I don't know what the rules are here about editing someone elses work,
so if the mods feel this is "over the line" then please delete. I take absolutely no credit for ibproarcade, it is a fantastic mod and so good, it was essential I get it up and running on VB4. Perhaps there are better ways to do this and there could be glitches, but here is what I did to get my arcade back. First, this assumes you still have ibproarcade installed. Step 1: Log into Admin, deactive "ibProArcade: ARCADE Template Cache" (Perhaps someone else can help with this plugin) Step 2: Erase and replace your ARCADE template with the following: Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw vboptions.bbtitle}</title> {vb:raw headinclude} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle"> <h1>{vb:raw pagetitle}</h1> </div> <h2 class="blockhead">Arcade</h2> <div class="blockbody"> <div class="blockrow"> {vb:raw arcadeheader} {vb:raw maincontent} </div> </div> {vb:raw footer} </body> </html> Locate the arcade standard file functions.php in /arcade/functions/ Near line 1345 you will see the following: Code:
// HTML-TITLE DONE :) $debug = false; $navbits = $output_array['NAV']; $navbits = construct_navbits($navbits); eval('$navbar="' . fetch_template('navbar') . '";'); eval('$footer="' . fetch_template('footer') . '";'); $maincontent = $this->to_print; eval('print_output("' . fetch_template('ARCADE') . '");'); exit; Code:
// HTML-TITLE DONE :) $debug = false; $navbits = $output_array['NAV']; $navbits = construct_navbits($navbits); $navbits = construct_navbits(array('' => 'Arcade')); $navbar = render_navbar_template($navbits); $maincontent = $this->to_print; $templater = vB_Template::create('ARCADE'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('footer', $footer); $templater->register('pagetitle', 'Arcade'); $templater->register('maincontent', $maincontent); $templater->register('arcadeheader', $arcadeheader); print_output($templater->render()); exit; Edit your index.php file in root to support the score saving routine by adding the following code at or near the top of the index.php file. Code:
// ibProArcade modification if($_POST['module'] == "pnFlashGames"){ $_GET[act] = "Arcade"; $_GET['module'] = "arcade"; } if($_POST['module'] == "pnFlashGames"){ $_GET[autocom] = "arcade"; $_GET['module'] = "arcade"; } if($_POST['func'] == "storeScore"){ $_GET['do'] = "pnFStoreScore"; } if($_POST['func'] == "saveGame"){ $_GET['do'] = "pnFSaveGame"; } if($_POST['func'] == "loadGame"){ $_GET['do'] = "pnFLoadGame"; } $act = $_GET[act]; $showuser= $_GET[showuser]; if($act == "Arcade") { include "arcade.php"; exit(); } if($act == "autocom") { include "arcade.php"; exit(); } if(!empty($showuser) && $showuser >= 1) { $u = $showuser; $_GET[u] = $showuser; include "member.php"; exit(); } // end of ibProArcade modification Just trying to get a patch out there until the REAL coders provides a better solution. One more note... Be sure to make a backup of your index.php file as - like me - I am sure you will overwrite it with future VB4 updates. Oh an props to Lynne for her consolidated article here: https://vborg.vbsupport.ru/showthread.php?t=228112 It helped me get the idea behind this alteration. |
#31
|
|||
|
|||
![]()
Well done cory_booth
![]() Your patch worked for me, but the template is not looking good, I think it require some CSS editing too.. Still not bad for now, thanks so much mate. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|