Talk Arcades > Community > Talk Arcades

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and talk advantage of the GameFeed™ Distribution Network for 1-click installation of games into your arcade.

Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Display Modes
Old 02-27-2010, 05:51 PM   #1 (permalink)
thejiggler
Preferred Member
 
Join Date: Jan 2010
Posts: 121
thejiggler is on a distinguished road


Default play fullscreen mod

Can anybody show me an easy "play fullscreen" mod for ATS? I'm not so good with php yet and any help will be very much appreciated. Thanks, guys!
__________________
Sell text links on your site
thejiggler is offline  
Digg this Post!
Reply With Quote
Old 02-27-2010, 06:14 PM   #2 (permalink)
rive0108
Arcade Elite
 
rive0108's Avatar
 
Join Date: Jul 2009
Location: Va, USA
Posts: 1,312
rive0108 is on a distinguished road


Default

there is a simple mod that goes in your game file (game.php?)

it will work with all scripts, but may need a slight modification with this to match your script-
Quote:
where /swf/ = your swf directory
where $game['nameid'] = your script's function
where [themedir] = the theme/site script directory location
href="/swf/<?php echo $game['nameid']; ?>.swf"

PHP Code:
<?php
if ($game['type']=="SWF") {
?>
 
<a href="/swf/<?php echo $game['nameid']; ?>.swf" title="Fullscreen Mode"><img src="[themedir]fullsizebutton.gif" alt="Fullscreen Mode" width="154px" height="25px" border="0"></a>
<br /><br />
<?php
 
}
?>
upload the button image to your scripts/theme directory.
Attached Images
File Type: gif fullsizebutton.gif (1.8 KB, 5 views)

Last edited by rive0108 : 03-07-2010 at 04:46 PM.
rive0108 is online now  
Digg this Post!
Reply With Quote
Old 03-07-2010, 04:06 PM   #3 (permalink)
thejiggler
Preferred Member
 
Join Date: Jan 2010
Posts: 121
thejiggler is on a distinguished road


Default

I have tried and tried but I just can't get it to work, I have ATS with the og-mega theme, a regular install with no custom directories or anything. Anything you can tell me that will help?
__________________
Sell text links on your site
thejiggler is offline  
Digg this Post!
Reply With Quote
Old 03-07-2010, 04:46 PM   #4 (permalink)
rive0108
Arcade Elite
 
rive0108's Avatar
 
Join Date: Jul 2009
Location: Va, USA
Posts: 1,312
rive0108 is on a distinguished road


Default

Quote:
Originally Posted by thejiggler View Post
I have tried and tried but I just can't get it to work, I have ATS with the og-mega theme, a regular install with no custom directories or anything. Anything you can tell me that will help?

I am not familiar with ATS , so i dont know what needs to be changed in the fullscreen script.

Also I dont know where to place it in your game pages. (but it usually goes above/under the player embed).

I suggest you talk to someone familiar with ATS scripting.

you can see how it should work here (click the fullscreen button under game):
http://www.havocarcade.com/media/3121/Narcolyxii.html
rive0108 is online now  
Digg this Post!
Reply With Quote
Old 03-14-2010, 11:43 AM   #5 (permalink)
rive0108
Arcade Elite
 
rive0108's Avatar
 
Join Date: Jul 2009
Location: Va, USA
Posts: 1,312
rive0108 is on a distinguished road


Default

Quote:
Originally Posted by rive0108 View Post
there is a simple mod that goes in your game file (game.php?)

it will work with all scripts, but may need a slight modification with this to match your script-


href="/swf/<?php echo $game['nameid']; ?>.swf"

PHP Code:
<?php
if ($game['type']=="SWF") {
?>
 
<a href="/swf/<?php echo $game['nameid']; ?>.swf" title="Fullscreen Mode"><img src="[themedir]fullsizebutton.gif" alt="Fullscreen Mode" width="154px" height="25px" style="border: 0px;" /></a>
<br /><br />
<?php
 
}
?>
upload the button image to your scripts/theme directory.
Note-
I have modified the "border" to reflect a "style" attribute instead.
rive0108 is online now  
Digg this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Play .dir Games arcadebruh2000 Talk Arcades 4 02-01-2010 12:04 PM
Fullscreen issue gigikent phpArcadeScript 4 08-04-2009 07:51 AM
Do you actually play your own games? TidusBlade Talk Arcades 14 03-23-2009 02:52 AM
Adsense PageViews and Game Play Count diex Marketing 7 01-05-2009 08:34 PM
New Games - Bratz Games , Car Games , Color Games 123peppy Free Games and Content 1 07-03-2008 01:33 PM


All times are GMT -6. The time now is 01:36 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search