vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - ibProArcade Game Full Screen (https://vborg.vbsupport.ru/showthread.php?t=310994)

stangger5 05-02-2014 10:00 PM

ibProArcade Game Full Screen
 
1 Attachment(s)
This mod makes the game full screen...

The original way makes the the screen full but not the game..

Should work with any version of ibProArcade..

Demo: www.next-level-arcade.com

Find this is the main arcade.php file..It should be around line 2929..
PHP Code:

<BODY BGCOLOR="#000000" oncontextmenu="javascript:return false" margin0padding0;>
                  <
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="playnewin" name="ibproarcade" width="100%" height="100%">
                <
param name="menu" value="false" />
                  <
param name="movie" value="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}/>
                <
param name="type" value="application/x-shockwave-flash" />
                <
param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer/" />
                <
param name="bgcolor" value="#{$game['bgcolor']}/>
                <
param name="quality" value="high" />
                <
param name="menu" value="false" />
                <
param name="width" value="{$game['gwidth']}/>
                <
param name="height" value="{$game['gheight']}/>
                <
param name="flashvars" value="location=./&amp;gamename={$game['gname']}&hash={$game['hash']}/>

                <
embed src="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}width="{$game['gwidth']}height="{$game['gheight']}bgcolor="#{$game['bgcolor']}quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer/" flashvars="location=./&amp;gamename={$game['gname']}menu="false"></embed>
                <
noembed>{$ibforums->lang['no_embed']}{$game['gtitle']}</noembed>
                </
object>
</
body></html

Replace it with this:

PHP Code:

<body bgcolor="#000000" marginwidth="0" marginheight="0" bottommargin="0" rightmargin="0" topmargin="0" leftmargin="0" scroll="no" style="overflow: hidden">

<
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%">
<
param name="movie" value="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}/>
<
param name="menu" value="false" />
<
param name="quality" value="high" />
<
param name="scrollbars" value="no" />
<
param name="toolbar" value="no" />
<
param name="status" value="no" />
<
PARAM NAME="SCALE" VALUE="exactfit">
<
embed src="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}quality="high" type="application/x-shockwave-flash" width="100%" height="100%" SCALE="exactfit" scrollbars="no" toolbar="no" status="no" pluginspage="http://www.macromedia.com/go/getflashplayer/" flashvars="location=./&amp;gamename={$game['gname']}menu="false">
</
object>

{
$footer}
</
body></html

Close and save..
##############################################
If you use the ibproarcade skin,,edit the skin_Arcade file..

Find:
PHP Code:

<!--popup play-->
<
a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}', 'height={$entry['gheight']},width={$entry['gwidth']},left=200,top=100,resizable=yes,scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br /> 

Replace it with this for full screen in same window..
PHP Code:

<a href="arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}">{$ibforums->lang['gamebox_playpopup']}</a><br /> 

or this if you want it to open in a pop up window :
PHP Code:

<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}', 'scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br /> 

Close and save..
##############################################
If you use the v3arcade skin,,edit the skin_v3Arcade file..

Find:
PHP Code:

<div class="smallfont">{$entry['cost_info']}{$entry['jackpot_info']}</div

and put this after it:

For full screen in same window..
PHP Code:

<a href="arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}">{$ibforums->lang['gamebox_playpopup']}</a><br /> 

or this if you want it to open in a pop up window :
PHP Code:

<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}', 'scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br /> 

Close and save..
##############################################

Edit the lang_Arcade_ file:
change
PHP Code:

gamebox_playpopup    => "(in new window)"

to

PHP Code:

gamebox_playpopup    => "(Full Screen)"

Close and save..
##############################################

Works with most games..:rolleyes:

Enjoy !!
:)

goxy63 05-03-2014 03:06 PM

thank you, installed, nominated, rated :)

blind-eddie 07-14-2014 01:28 PM

Outstanding, Thank you!


All times are GMT. The time now is 10:28 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.01047 seconds
  • Memory Usage 1,788KB
  • 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
  • (10)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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