Free Arcade Script
FAS Customization => Addons/Modifications => V3.x => : am-fs December 20, 2014, 04:20:18 PM
-
Arcade Game Feed is now availble for Free Arcade Script
This Mod will allow you to install games with one click, just find the game you want and click install.
(http://freearcadescript.net/images/feeds.jpg)
(http://freearcadescript.net/images/agffeed.jpg)
Edit pages/admin/index.php
Find:
case 'socialmedia':
include ('socialmedia.php');
break;
Add After:
case 'managegamefeeds':
include ('managegamefeeds.php');
break;
case 'manageagf':
include ('manageagf.php');
break;
Edit pages/admin/template.php
Find:
case 'managegames':
$e = 'active';
break;
Add After:
case 'managegamefeeds':
$e = 'active';
break;
Find:
<li><a href="'.$domain.'/index.php?action=admin&case=managecategories">Manage Categories</a></li>
Add After:
<li><a href="'.$domain.'/index.php?action=admin&case=managegamefeeds">Manage Game Feeds</a></li>
Edit pages/admin/css/style.php
Add at the bottom of the page:
.box{
float:left;
width:890px;
height:100px;
border: 1px solid #e3e3e3;
background-color: #f2f2f2;
margin-bottom:10px;
margin-left:14px;
}
.boximage{
float:left;
width:150px;
height:150px;
background:transparent;
text-align: center;
font-family: Arial;
font-size: 12px;
margin:10px;
padding:2px;
}
.boximage a {color:#060606;text-decoration: none}
.boximage a:hover {text-decoration: underline}
Upload 2 files to pages/admin
managegamefeeds.php
manageagf.php
*Note* The default image size of the game feed is 180x135, if you would like to use 100x100 images you will need to make one more edit. You Must do this before you hit the update feed button
Edit pages/admin/manageagf.php.php
Find:
$thumb_url = mysql_real_escape_string($game['thumbnail']);
Replace with:
$thumb_url = mysql_real_escape_string($game['lgthumb']);
Now login to your admincp
select => games => manage game feeds and hit the update feed button.
Now your ready to install games.
This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/4.0/.
-
Thanks Dwayne..... got mine all setup
-
Where to download the
managegamefeeds.php
manageagf.php files?
or do we need to create it ourself?
-
kedsdex ..... on the top post at the bottom there is a zip file name fas-agf.zip with the files
-
Thank you didn't see that
:-[
-
Hello can help me anyone on this errorr please, how can i fix that? Thank you. regards.
Warning: include() [function.include]: Failed opening '/home/hostingaccountname/public_html//includes/counter.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8450762/public_html/templates/monster/blocks/stats.php on line 13
-
your directory path is incorrect.
create file path.php
<?php
echo getcwd(); // Short for `Get Current Working Directory`
?>
run yoursite.com/path.php
copy and paste the path into your admin => settings => directory path, make sure you have / at the end, also edit the includes/config.php and add the correct path there.
-
Hello thank you for your help but is the same problem, because i cannot save changes from admin pannel nothing i don't know why? and i put some ads is not showing, Regards.
-
check the path in the admin settings, it is there twice
it should be => /home/a8450762/public_html/
not sure how or why the path is showing at the top of your site
-
sorry bro thank you i find the problem,
The problem is because i use free hosting for that i have test in a real host it works.
Regards
-
It worked for me the first time, I even installed games with it. Now when I click on game feed it just takes me back to the home page of the site and doesn't show me the game feed anymore.
-
0 Games Added to Database
-
0 Games Added to Database
Ho ho. ok i did it. manule click. Thanks all