Backup your default sngine games files and games database files tat 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 playgama_import.php 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 go to https://widgets.playgama.com/ look for any game and open look for you Affilate link all the way to the bottom right of the page e.g https://playgama.com/game/hidden-object-clues-and-mysteries?clid=p_f7248fac-dbc6-4891-9c0b-b77d6b0abcb6 so in this link you will copy the p_f7248fac-dbc6-4891-9c0b-b77d6b0abcb6 //now open open includes/config/playgama_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 //# Games 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/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 you 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
LIVE NOW
Loading...
and (This is the style and js)