vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   [MOD] Embed code (https://vborg.vbsupport.ru/showthread.php?t=156601)

robb9 08-30-2007 06:05 AM

[MOD] Embed code
 
1 Attachment(s)
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

MrZeropage 08-30-2007 06:42 AM

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" ;)

basketmen 08-30-2007 11:35 AM

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??

basketmen 09-04-2007 07:02 AM

Quote:

Originally Posted by basketmen (Post 1328836)
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

stangger5 09-04-2007 02:17 PM

Quote:

Originally Posted by basketmen (Post 1331990)
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 ...

basketmen 09-05-2007 03:02 AM

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

MrZeropage 09-05-2007 02:20 PM

yes, the redirect is hardcoded in the game itself


All times are GMT. The time now is 02:57 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.01905 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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