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
open in new window Details »»
open in new window
Version: , by ShawneyJ ShawneyJ is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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

hi,

is there away i can add "open in new window" as set out the v3 arcade way instead of ipro-arcade way?

when i change my ipro-arcade to ipro-arcade style that has open in new window but v3 style does not.

thanks.

Show Your Support

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

Comments
  #2  
Old 08-21-2007, 11:43 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you wanting to put (open in new window) in the v3arcade skin ??
Reply With Quote
  #3  
Old 08-21-2007, 11:49 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, using the v3 arcade style on ibp arcade thanks.

Have any idea's for me stangger5, i have to go soon lol sorry just waiting around ...
Reply With Quote
  #4  
Old 08-21-2007, 12:51 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open skin_v3Arcade.php and find:

Code:
function row($entry,$gamesplit,$top,$pbest,$links,$rowcol,$rating,$actualtop,$newgame) {
global $ibforums;
return <<<EOF
Below that put:

Code:
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url,features)
{
newwindow=window.open(url,'playnew',features);
}
//-->
</script>
Then search for:

Code:
{$ibforums->lang['pbest']}: {$pbest}<br />{$entry['v3style_info']}
Below that put:

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=yes,toolbar=yes,status=yes');">{$ibforums->lang['gamebox_playpopup']}</a><br />
That should work
Reply With Quote
  #5  
Old 08-21-2007, 12:56 PM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow worked like a charm thanks heaps
Reply With Quote
  #6  
Old 08-21-2007, 01:10 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fast too..:up:
Reply With Quote
  #7  
Old 08-21-2007, 01:24 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also if you search for:

Code:
function leaderstart($ginfo, $links) {
global $ibforums;
return <<<EOF
And after that add:

Code:
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url,features)
{
newwindow=window.open(url,'playnew',features);
}
//-->
</script>
Then search for:

Code:
<td class="alt2" align="center" valign="top">
				{$links['click']}<br />
				<a href="{$ibforums->base_url}act=Arcade&amp;cat={$ginfo['gcat']}">{$ginfo['backlink']}</a><br />
				{$ginfo['fave']}<br/>
And add this afterwards:

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=yes,toolbar=yes,status=yes');">{$ibforums->lang['gamebox_playpopup1']}</a><br />
Then save skin_v3Arcade.php and upload it.

Then open lang_Arcade_en.php and search for:

Code:
gamebox_playpopup	=> "(in new window)",
After that add:
Code:
gamebox_playpopup1	=> "Play Game In New Window",
Save and upload the file - that will allow you to choose to Play Game In A Window from the Highscore page
Reply With Quote
  #8  
Old 08-22-2007, 01:14 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

omg nice thanks again.
Reply With Quote
  #9  
Old 08-22-2007, 03:26 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Gemma !!
Reply With Quote
  #10  
Old 09-16-2007, 03:29 PM
gmatrix gmatrix is offline
 
Join Date: Apr 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question on playing in a new window. When the score is submitted at the end of play, I'm finding it's using the same small pop up window, which is too small to view the highscore table. Should it be using the parent window?
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 05:19 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.06240 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (10)bbcode_code
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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