The Arcive of vBulletin Modifications Site. |
|
[MOD] Embed code Details »»
|
|||||||||||||||||||||||||||||
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="padding:1px; margin:4px 2px 2px 2px; border:1px solid black; float:left;"><img src="http://yourserver.com/arcade/images/{$game['gname']}1.gif"></div>{$game['object']}<br><a target="_blank" href="http://yourserver.com/arcade.php?&act=Arcade&do=play&gameid={$game[gid]}"><img style="margin-top:6px;" border="0px" src="http://yourserver.com/play_now.gif" width="77" height="15"></a><hr size="1"><div style="float:right;"><a title="games" href="http://yourserver.com">Games by http://yourserver.com</a> </div>" tabindex="1" /></td>
</tr>
That's all Download Now
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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"
|
|
#3
|
||||
|
||||
|
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?? |
|
#4
|
||||
|
||||
|
Quote:
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 |
|
#5
|
||||
|
||||
|
Quote:
Take a look at this thread ... |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
||||
|
||||
|
yes, the redirect is hardcoded in the game itself
|
![]() |
|
|