Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vb 4.0 compatibilty? Details »»
vb 4.0 compatibilty?
Version: , by edytwinky edytwinky is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-08-2009 Last Update: Never Installs: 0
 
No support by the author.

Has work begun on this mod to make it compatible with vBulletin 4.0 coming out late this year/early next?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-19-2009, 07:14 AM
jalmz's Avatar
jalmz jalmz is offline
 
Join Date: Aug 2005
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too, i will not upgrade to vb 4 without this plug in.. this is the most vital plug in in vb
Reply With Quote
  #23  
Old 11-19-2009, 08:45 AM
Magz's Avatar
Magz Magz is offline
 
Join Date: Nov 2006
Location: UK
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
I have the main part of ibproarcade working with vb4.0 right now..
Still need to work on the css tho..

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
Reply With Quote
  #24  
Old 11-19-2009, 09:11 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did some template and php edits to get it to work..

I`m trying to get up with MrZeropage before posting anything..
Reply With Quote
  #25  
Old 11-19-2009, 10:37 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
I did some template and php edits to get it to work..


I`m trying to get up with MrZeropage before posting anything..
That's great.

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.
Reply With Quote
  #26  
Old 11-19-2009, 03:32 PM
puppetmaster222 puppetmaster222 is offline
 
Join Date: Aug 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Veer View Post
That's great.

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.
ditto.. Messed around some here but with no real progress.

Unfortunately will remain Disabled for now
Reply With Quote
  #27  
Old 11-19-2009, 10:41 PM
Garamond's Avatar
Garamond Garamond is offline
 
Join Date: Jul 2004
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sent MrZeropage a PM some days ago with question about his commitment to bring this addon to vB4, but still no reply.
Reply With Quote
  #28  
Old 11-22-2009, 02:42 AM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
I did some template and php edits to get it to work..


I`m trying to get up with MrZeropage before posting anything..
What all would it take stangger to make the mod available for you to take over?
Reply With Quote
  #29  
Old 11-22-2009, 06:40 AM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magz View Post
A Lot of us are waiting for info for vb4.

Last post by the author, according to his profile was around July time

Ohhh july? Is a lot of time!
Reply With Quote
  #30  
Old 11-24-2009, 12:14 AM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Step 3:

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;
Erase this code and replace with:
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;
Step 4:

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
Hopefully this will work for you. I am by no means a pro so don't bust my chops if this don't work for you.
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.
Reply With Quote
  #31  
Old 11-24-2009, 10:06 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05473 seconds
  • Memory Usage 2,327KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete