vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   v3Arcade & ibProArcade Side by Side (https://vborg.vbsupport.ru/showthread.php?t=130994)

Holidazed 11-07-2006 03:23 PM

v3Arcade & ibProArcade Side by Side
 
I want to run both the v3Arcade and the ibProArcade on my site side by side. How can I do this. It seems that both have an "arcade.php" file.

Mark.B 11-07-2006 09:36 PM

Quote:

Originally Posted by bitg
I want to run both the v3Arcade and the ibProArcade on my site side by side. How can I do this. It seems that both have an "arcade.php" file.

That's the crux of what needs to be changed. I have done it, but it's a pain!

You have to basically go through all the php files and find all instances of
arcade.php

and change them to
ibproarcade.php

then find all instances of
arcade/

and change them to
ibproarcade/

In a nutshell, that will do it, but it's a lot more work than it sounds. And don't just search and replace the word "arcade" as that will bugger things up.

Also you then have the issue that any ibp games that have gamedata folders need to have those folders in the v3arcade /arcade/ folder, not the newly-renamed /ibproarcade/ one! This is because the flash games generally look in /arcade/ not /ibproarcade/.

Once up and running, you can no longer run ibp games on v3 due to a conflict in the score sending, you would have to keep games to their "native" arcades.

Basically there's quite a bit of trial and error involved. But my own site proves it can be done.

Olli460 11-07-2006 11:19 PM

Im wondering what would be the benefits of doing so? So that you can have the features of both? :P

Mark.B 11-07-2006 11:51 PM

Quote:

Originally Posted by Olli460
Im wondering what would be the benefits of doing so? So that you can have the features of both? :P

That's pretty much it really..plus, for nutters like me, the technical satisfaction of having achieved it. Sometimes I do forget which arcade can do what though.

Then you can try getting really snazzy and having a leaderboard that covers both arcades on one page:

http://www.bowlandcentral.com/forum/leaderboard.php?

Acers 11-08-2006 12:17 AM

Quote:

Once up and running, you can no longer run ibp games on v3 due to a conflict in the score sending, you would have to keep games to their "native" arcades.
you can actually ;)
just set up the conditional to look for those games at submit time. It just needs that the games in both arcade be unique. :)

Holidazed 11-08-2006 03:35 AM

Well, the v3arcade does not use an "arcade" folder. It uses a "games" folder. So, following your instructions, all I need to do is find and replace all references to "arcade.php" and replace it with "ibproarcade.php"?

Mark.B 11-08-2006 05:46 AM

Quote:

Originally Posted by bitg
Well, the v3arcade does not use an "arcade" folder. It uses a "games" folder. So, following your instructions, all I need to do is find and replace all references to "arcade.php" and replace it with "ibproarcade.php"?

You could be right about that...I am sure there used to be a clash somewhere though, it's so long since I first did this (vB 3.0 days) that I can't think now. But I'm sure I remember it was changed for a reason.

Quote:

Originally Posted by Acers
you can actually ;)
just set up the conditional to look for those games at submit time. It just needs that the games in both arcade be unique. :)

I never thought of that...although I do have some games duplicated in both....

Acers 11-08-2006 12:54 PM

duplicates will work if the submission is direct to arcade.php as in v3arcade and for the ibpro game to index.php as thats independent submission. It will fail if you have duplicate same arcade games.. like v3 or ib game in both arcades.:)

Wabuf 11-08-2006 10:05 PM

Quote:

Originally Posted by bitg
Well, the v3arcade does not use an "arcade" folder. It uses a "games" folder. So, following your instructions, all I need to do is find and replace all references to "arcade.php" and replace it with "ibproarcade.php"?

That is all you have to do. I did this and it works.

Holidazed 11-10-2006 12:25 PM

The real question is "is it really worth it?". I have to decide which arcade system I like better?


All times are GMT. The time now is 03:18 AM.

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.01031 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete