Help Center
Find answers or browse our knowledge base.
Latest Questions
How to install Advanced Games Addon
Backup your default sngine games files and games database
files that will be overwriten are
root/games.php
includes/traits/games.php
content/themes/default/templates/games.tpl
content/themes/default/templates/__feeds_game.tpl
Download the zip file upload according to the file structure
In yout root you must have
games.php
games.json
games_landing.php
multi_import.php
install-games.php
Visit your Website.com/install-games.php and follow the guide.
Once you finish importing the games, it will create a file inside includes/config called playgama_config.php
you will need to add your CLID there
go to https://playgama.com/partners and create an account
look for you Affilate code under you username and email
it look like this p_f7248fac-dbc6-4891-9c0b-b77d6b0abcb6
now open open includes/config/playgama_config.php and games_config.php
look for
define('PLAYGAMA_CLID', 'p_f7248fac-dbc6-4891-9c0b-b77d6b0abcb6');
and replace my code
p_f7248fac-dbc6-4891-9c0b-b77d6b0abcb6 with your ownOpen you sngine .htaccess file and look for the games rules ad replace it all with this new rules
# Replace all you current Games htaccess code with this
RewriteRule ^games/?$ games.php [L,QSA]
RewriteRule ^games/played/?$ games.php?view=played [L,QSA]
RewriteRule ^games/popular/?$ games.php?view=popular [L,QSA]
RewriteRule ^games/favorites/?$ games.php?view=favorites [L,QSA]
RewriteRule ^games/leaderboard/?$ games.php?view=leaderboard [L,QSA]
RewriteRule ^games/report/?$ games.php?view=report [L,QSA]
RewriteRule ^games/mobile/?$ games.php?view=mobile [L,QSA]
RewriteRule ^games/genre/([^/]+)/?$ games.php?view=genre&genre_id=$1 [L,QSA]
RewriteRule ^games/genre/([^/]+)/([^/]+)/?$ games.php?view=genre&genre_id=$1&genre_url=$2 [L,QSA]
RewriteRule ^games/genre/([^/]+)/([^/]+)/([^/]+)/?$ games.php?view=genre&genre_id=$1&genre_url=$2&page=$3 [L,QSA]
RewriteRule ^games/([^/]+)/([^/]+)/?$ games.php?view=game&game_id=$1 [L,QSA]
RewriteRule ^games/search/([^/]+)/?$ games.php?search?query=$1 [L,QSA]
RewriteRule ^games/search/?$ games.php?view=search [QSA,L]
RewriteRule ^games/search/([^/]+)/?$ games.php?view=search&query=$1 [QSA,L]
Open root/index.php and look for
if ($_GET['view'] != "") {
user_access();
}
and after that add
require('games_landing.php');
Clear your site cache and visit your new game page
Inside content/themes/default/templates/games you have 3 widgets
widget_now_playing.tpl
top_rated_widget.tpl
most_played_widget.tpl
you can include it anywhere in your site like this
{include file="games/widget_now_playing.tpl"}
and
{include file='games/game_slider_styles.tpl'} (This is the style and js)
{include file='games/most_played_widget.tpl'}
{include file='games/top_rated_widget.tpl'}
Visit your page and enjoy
Was this answer helpful?
You must login to vote.
0 found this helpful,
0 did not
How could it be better?
What went wrong?
Thank you for your feedback!