Free Arcade Script

FAS Customization => Addons/Modifications => V3.x => : am-fs December 20, 2014, 04:20:18 PM

: [Add On] AGF Game Feed
: 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/.
: Re: [Add On] AGF Game Feed
: outlaw16151 December 21, 2014, 09:58:59 AM
Thanks Dwayne..... got mine all setup
: Re: [Add On] AGF Game Feed
: kedsdex January 17, 2015, 08:46:14 AM
Where to download the
managegamefeeds.php
manageagf.php files?
or do we need to create it ourself?
: Re: [Add On] AGF Game Feed
: am-fs January 17, 2015, 08:51:48 AM
kedsdex  ..... on the top post at the bottom there is a zip file name fas-agf.zip with the files
: Re: [Add On] AGF Game Feed
: kedsdex January 17, 2015, 09:23:51 AM
Thank you didn't see that
 :-[
: Re: [Add On] AGF Game Feed
: BurimS June 26, 2015, 05:00:23 PM
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
: Re: [Add On] AGF Game Feed
: am-fs June 26, 2015, 09:20:53 PM
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.

: Re: [Add On] AGF Game Feed
: BurimS June 27, 2015, 05:10:13 AM
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.
: Re: [Add On] AGF Game Feed
: am-fs June 27, 2015, 11:14:27 PM
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
: Re: [Add On] AGF Game Feed
: BurimS June 28, 2015, 05:13:23 PM
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
: Re: [Add On] AGF Game Feed
: brianc October 05, 2015, 09:07:02 AM
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.
: Re: [Add On] AGF Game Feed
: kizinew June 16, 2016, 05:51:42 PM
0 Games Added to Database
: Re: [Add On] AGF Game Feed
: kizinew June 16, 2016, 05:56:18 PM
0 Games Added to Database
Ho ho. ok i did it. manule click. Thanks all
TinyPortal © 2005-2012