Poko Arcade HTML 5 Game Portal PHP Script

Poko Arcade HTML 5 Game Portal PHP Script documentation version 1.0


Introduction

  • Item Name : Poko Arcade HTML 5 Game Portal PHP Script
  • Item Version : v1.0
  • Author : coder_mvn

First of all, Thank you so much for purchasing this template and for being my loyal customer. You are awesome!
You are entitled to get free lifetime updates to this product + exceptional support from the author directly.

This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this script is made and how to edit this properly. Developer.mozilla and learn.shayhowe.

Requirements

You will need the following sofwares to customize this script.

  1. Code Editing Software (eg: Dreamweaver, Sublime Text or Notepad)
  2. Web Browser for testing (eg: Google Chrome or Mozilla Firefox)
  3. FTP Tool to upload files to Server (eg: FileZilla)

Be careful while editing the template. If not edited properly, the design layout may break completely.
No support is provided for faulty customization.

Getting Started

Poko would like to welcome you to our official Knowledge Base. In our efforts to continually improve our product and assistance, we've established this new knowledge base and are filling it with user and developer documentation.

How to Install

Follow the steps below to setup your site:

  1. Unzip the downloaded package and open the /Poko folder to find all the script files. You will need to upload these files to your hosting web server using FTP or localhost in order to use it on your website.
  2. Below is the folder structure and needs to be uploaded to your website or localhost root directory:
  3. You should upload all the files.
  4. Once you are done uploading, open your browser (Google Chrome is recommended).
  5. Go to http://www.YOUTSITE.com/install
  6. Agree the Terms of Use then click Next.
  7. Important! Before we start the installation, please make sure you have the following installed on your server:
  8. In the second page, make sure to fill the required data:
    • Purchase Code - Envato purchase code.
    • SQL Host name - MySQL host name, e.g: localhost
    • SQL Username - MySQL username.
    • SQL Password - MySQL user password.
    • SQL Database - MySQL database name.
    • Site URL - Your Website URL, examples:
      • https://siteurl.com
      • https://www.siteurl.com
      • https://siteurl.com
      • https://subdomain.siteurl.com
      • http://localhost/
      • https://siteurl.com/subfolder
    • Site Name - Your site name, max 32 characters.
    • Site Title - Your site title, max 100 characters.
    • Site E-mail - Your site email, ex: info@yourdomain.com, Gmail or Hotmail is not supported. It should be one of your server's emails.
    • Admin Password- Choose your admin password.
  9. Once you have wrote the information, please click the install button and wait for a while, the installation process may take up to 5 minutes.
  10. Your Website is Ready!

How to add games

Follow the steps to add a game

  1. go to your admin panel YOUR_DOMAIN/admin/
  2. go to admin > games YOUR_DOMAIN/admin/games.php
  3. go to admin > games > add game YOUR_DOMAIN/admin/add-game.php
    • Name : your game name
    • Description : your game description
    • Image Source Type : Select what is your image type, file or URL
    • Game URL : The gameplay URL of your game
    • Game Banner URl : In this option you have to enter the URL of the banner image of the game. (400 x 240) recommended size
    • Game category : select game category
    • Game action : This option is to publish or unpublish the game.
  4. click on Publish button to publish your game

How to add categories

  1. go to categories
  2. go to categories > click on add
  3. fill the following fields
    1. Name : Your Category Name
    2. Slug : Your Category url Name. This is optional

Creating User

  1. go to users
  2. go to users > click on add
  3. fill the following fields
    1. Full Name : User Full Name
    2. Email : User Email
    3. Username : User Username
    4. User Pic : User profile image recommended size ( 80x80 )
    5. Password : User password
    6. User is : This field means that you want to (block) user or (add)

Creating Pages

  1. go to pages
  2. go to pages > click on add
  3. fill the following fields
    1. Page title : Your Page Name or Title
    2. Page description : This is the description, where you can briefly describe your page.
    3. Page content : Here you can write the main content of your page

How to Fetch Games From API

  1. go to tools
  2. go to tools > Select the API in which you want to add games
  3. fill the following fields
    1. category : Select which category of games you want to fetch.
    2. Items : how many games do you want fetch.
    3. Order : What kind of games do you want to fetch, last published games or quality games.
    4. Offset : This is the page. Example : If you set 96 games in items then you will get all 96 games in offset 1 but if you want more 96 games then you will have to increase the offset.

Advertisements

  1. go to Advertisements
  2. go to Advertisements > You get a total of 6 advertisement spaces
  3. fill the following fields
    1. Name : ads name.
    2. Advertise Code : You can enter your advertisement code here.
    3. off advertisement : If you tick this then this advertisement will not be visible.

Settings

  1. go to Settings
  2. go to Settings > General
    1. Site Name : your website name
    2. Profile tagline : Your profile tagline, which appears below your profile
    3. Logo : your website logo. Note this logo is show in light mode. Recommended Logo size is (313x54)
    4. Dark logo : this logo is show in dark mode
    5. Favicon : website website favicon
    6. Head Custom Code : Here you can enter the code inside your head
  3. go to Settings > SEO
    1. Site title : your website title.
    2. Site Description : your website description.
    3. Site keywords : your website keywords, seperated by commas.
    4. Game title : Here you can give the title of the game. This title will show your all games, newest game, popular game pages.
    5. Game Description : Here you can give the description of the game. This description will show your all games, newest game, popular game pages.
    6. Play title : This title will show in your game page. Along with this, you get a variable called [name] by which you can show the name of the game in your title.
    7. Play Description : This description will show in your game page. Along with this, you get a variable called [name] by which you can show the name of the game in your description.
    8. Profile title : This is the profile page title, In this also you get [name] variable through which you can show the username of the user.
    9. Profile Description : This is the profile page description, In this also you get [name] variable through which you can show the username of the user.
    10. Category title : This is the category page title, Along with this you also get the [name] variable with which you can show the name of the category.
    11. Category Description : This is the category page description, Along with this you also get the [name] variable with which you can show the name of the category.