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
[MOD] Embed code Details »»
[MOD] Embed code
Version: , by robb9 robb9 is offline
Developer Last Online: Dec 2020 Show Printable Version Email this Page

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

Hy!

This is a mini-mod.

Add this block in your arcade/skins/skininuse
(where user play to game)

Code:
Code:
<tr>
    	<td width="100%" align="center" class="tcat">Share this Game</td>
    </tr>
  <tr>
    	<td class="alt2">Url: <input class="displaycode" onclick="this.focus();this.select();" http://yourserver.com/forum/arcade.php?&act=Arcade&do=play&gameid={$game[gid]} size="37" name="f" value="http://yourserver.com/arcade.php?&act=Arcade&do=play&gameid={$game[gid]}" tabindex="1" /></td>
  </tr>
  <tr>
    	<td class="alt2">Embed: <input class="displaycode" onclick="this.focus();this.select();" http://yourserver.com/arcade.php?&act=Arcade&do=play&gameid={$game[gid]} size="37" name="f" value="<H3>{$game['gtitle']}</H3><div style=&quot;padding:1px; margin:4px 2px 2px 2px; border:1px solid black; float:left;&quot;><img src=&quot;http://yourserver.com/arcade/images/{$game['gname']}1.gif&quot;></div>{$game['object']}<br><a target=&quot;_blank&quot; href=&quot;http://yourserver.com/arcade.php?&act=Arcade&do=play&gameid={$game[gid]}&quot;><img style=&quot;margin-top:6px;&quot; border=&quot;0px&quot; src=&quot;http://yourserver.com/play_now.gif&quot; width=&quot;77&quot; height=&quot;15&quot;></a><hr size=&quot;1&quot;><div style=&quot;float:right;&quot;><a title=&quot;games&quot; href=&quot;http://yourserver.com&quot;>Games by http://yourserver.com</a> </div>" tabindex="1" /></td>
  </tr>
You must replace "http://yourserver.com" and add icon play.gif (no insert).

That's all

Download Now

File Type: (21.4 KB, 25 views)
File Type: (21.4 KB, 24 views)

Show Your Support

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

Comments
  #2  
Old 08-30-2007, 07:42 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice idea, but should only be visible/active if guests are allowed to play (arcade main settings), otherwise all visitors following the link get "no permission"
Reply With Quote
  #3  
Old 08-30-2007, 12:35 PM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if we embed the game in other website
the only problem is after games finished it will redirect to

http://www.otherwebsite.com/index.ph...de&do=newscore



how we can redirect it to

http://www.ourforum.com/index.php?ac...de&do=newscore



do we need to edit all .tar file and add http://www.ourforum.com/index.php?ac...de&do=newscore there??
Reply With Quote
  #4  
Old 09-04-2007, 08:02 AM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basketmen View Post
if we embed the game in other website
the only problem is after games finished it will redirect to

http://www.otherwebsite.com/index.ph...de&do=newscore



how we can redirect it to

http://www.ourforum.com/index.php?ac...de&do=newscore



do we need to edit all .tar file and add http://www.ourforum.com/index.php?ac...de&do=newscore there??
Hi MrZeropage, this is still unanswered question


i am looking to edit this file, what file or plugin contain this



from

index.php?act=Arcade&do=newscore


to replace with


http://www.ourdomainforum.com/index....de&do=newscore
Reply With Quote
  #5  
Old 09-04-2007, 03:17 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basketmen View Post
Hi MrZeropage, this is still unanswered question
i am looking to edit this file, what file or plugin contain this

from
index.php?act=Arcade&do=newscore
to replace with
http://www.ourdomainforum.com/index....de&do=newscore
Have you tried editing the game.swf itself ??

Take a look at this thread ...
Reply With Quote
  #6  
Old 09-05-2007, 04:02 AM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahh so you say that this redirect is in swf files it self???

index.php?act=Arcade&do=newscore

have anyone try to change that redirect the swf file with Sothink Quicker Converting and success??? i just want to ask
Reply With Quote
  #7  
Old 09-05-2007, 03:20 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, the redirect is hardcoded in the game itself
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 04:58 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.04120 seconds
  • Memory Usage 2,282KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete