Overview Store Template v2 Bot Store Template v2 Application Template PayPal Template Documentation Client Area Store Template

Application Template

How to Install

First-time Install
  1. Upload the contents of the downloaded folder into the root directory of your domain. This file will include an index.php, config.php, and uploadme.sql file.
  2. Go to your webpanel (cPanel, CentOS Web Panel, or DirectAdmin) and create a new database. Make sure to keep track of the database name, database username, and user password.
  3. Enter into that database and insert the provided SQL file.
  4. Visit here and complete the following steps:
    • Create a new application
    • Visit the OAuth2 tab on the right hand side
    • Add the following redirect. Make yourdomain.tld with the link to your domain
    • yourdomain.tld/{LOCATION OF APPLICATION TEMPLATE}
  1. Go back to where you uploaded the files and edit the config.php file to include the following information
    • Edit the $db_user to include the name of your database user.
    • Edit the $db_pass to include the password of your database user.
    • Edit the $db_name to include the name of your database.
    • Edit the $name to include the name that you want to appear throughout the site.
    • Edit the $domain to include your domain. EX: https://yourdomain.tld.
    • Edit the $logo to include the link to your logo.
    • Edit the $backgroundcolor to include the HEX color that you want to be the background color of the site.
    • Edit the $foregroundcolor to include the HEX color that you want to be the foreground color of the site.
    • Edit the $maincolor to include the HEX color that you want to be the main color of the site.
    • Edit the $discord to either be true or false. This enables or disables Discord logins.
    • Edit the $clientid to include the Discord ID from the application created above.
    • Edit the $clientsecret to include the Discord secret from the application created above.
    • Edit the $webhookurl to include a Discord webhook. Please visit here to see how to create one.
    • Edit the $smtp_domain to include the mail host for SMTP.
    • Edit the $smtp_port to include the port used to sent SMTP emails through.
    • Edit the $smtp_email to include the email you want to send the email notifications.
  1. Visit yourdomain.tld and create an account.
  2. Go back into the database and click users.
  3. Find the user you just created and change the value of the column roles to ["root"].
  4. You're finished!