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.sql
games_landing.php
games_newsfeed.php
games_rss.php
games_sitemap.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 ownÂ
Open you sngine .htaccess file and look for the games rules ad replace it all with this new rules
Â
open your .htaccess
Look for a
# Games
and replace all the rules 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/widgets/?$ games.php?view=widgets [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]
RewriteRule ^widgets/?$ modules/widgets/games.php [L]
RewriteRule ^widgets/games/?$ modules/widgets/games.php [L,QSA]
RewriteRule ^widgets/profile/?$ modules/widgets/profile.php [L,QSA]
RewriteRule ^widgets/leaderboard/?$ modules/widgets/leaderboard.php [L,QSA]
Â
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!