*

Recent

Author Topic: [Add On] AGF Game Feed  (Read 93799 times)

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
[Add On] AGF Game Feed
« on: 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.




Edit pages/admin/index.php
Find:
Code: [Select]
case 'socialmedia':
include ('socialmedia.php');
break;

Add After:
Code: [Select]
case 'managegamefeeds':
include ('managegamefeeds.php');
break;

case 'manageagf':
include ('manageagf.php');
break;

Edit pages/admin/template.php

Find:
Code: [Select]
case 'managegames':
$e = 'active';
break;

Add After:
Code: [Select]
case 'managegamefeeds':
$e = 'active';
break;

Find:
Code: [Select]
                        <li><a href="'.$domain.'/index.php?action=admin&case=managecategories">Manage Categories</a></li>

Add After:
Code: [Select]
                        <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:
Code: [Select]
.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:
Code: [Select]
            $thumb_url = mysql_real_escape_string($game['thumbnail']);

Replace with:
Code: [Select]
            $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/.
« Last Edit: December 20, 2014, 04:34:26 PM by am-fs »

outlaw16151

  • Jr. Member
  • **
  • Posts: 54
  • Force: +0/-0
    • OutlawsGameroom
Re: [Add On] AGF Game Feed
« Reply #1 on: December 21, 2014, 09:58:59 AM »
Thanks Dwayne..... got mine all setup

kedsdex

  • Newbie
  • *
  • Posts: 2
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #2 on: January 17, 2015, 08:46:14 AM »
Where to download the
managegamefeeds.php
manageagf.php files?
or do we need to create it ourself?

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: [Add On] AGF Game Feed
« Reply #3 on: 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

kedsdex

  • Newbie
  • *
  • Posts: 2
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #4 on: January 17, 2015, 09:23:51 AM »
Thank you didn't see that
 :-[

BurimS

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #5 on: 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

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: [Add On] AGF Game Feed
« Reply #6 on: June 26, 2015, 09:20:53 PM »
your directory path is incorrect.

create file path.php
Code: [Select]
<?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.


BurimS

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #7 on: 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.

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: [Add On] AGF Game Feed
« Reply #8 on: 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

BurimS

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #9 on: 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

brianc

  • Newbie
  • *
  • Posts: 10
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #10 on: 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.

kizinew

  • Newbie
  • *
  • Posts: 10
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #11 on: June 16, 2016, 05:51:42 PM »
0 Games Added to Database

kizinew

  • Newbie
  • *
  • Posts: 10
  • Force: +0/-0
Re: [Add On] AGF Game Feed
« Reply #12 on: June 16, 2016, 05:56:18 PM »
0 Games Added to Database
Ho ho. ok i did it. manule click. Thanks all