Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Installation

CMBAPPS edited this page May 9, 2018 · 5 revisions

Version 2:

This update changed a lot and fixed all known bugs, and also made it much easier for you to make the website work. Along with a new login system whats helpful for hosts!

  1. Upload all files in "Files" folder to the directory of the website URL you want to use
  2. Navigate to "Template/config.php" and fill out all the details (Help for Discord Oauth2 below too)
  3. Edit files bot1Owners.json, bot2Owners.json, bot3Owners.json, and bot4Owners.json (All in /Templates file) and enter the bot owner login ID (See how to find it below) you can enter as many user IDS into it as you need to. All users who aren't named on the list won't be able to login to that bots panel.
  4. Go to YOURURL/Install and click "Install" if successful you will get a page saying it has been installed successfully
  5. Remove the whole "Install" file and then you are ready to use the website :)

Version 1.5:

This update changed a lot and fixed many known bugs, and also made it much easier for you to make the website work!

  1. Upload all files in "Files" folder to the directory of the website URL you want to use
  2. Navigate to "Template/config.php" and fill out all the details
  3. Go to YOURURL/Install and click "Install" if successful you will get a page saying it has been installed successfully
  4. Remove the whole "Install" file and then you are ready to use the website :)

Version 1.0-1.4:

This part is long, and kind of hard, so we have written it our word for word on how to do it in steps:

  1. Upload the files in the “Files” folder to the web directory you want to use
  2. Create a database with a username and password (Can be anything)
  3. Open up the file “dbconnect” in the “PHP” folder
  4. Edit lines “2” to “6” with your database details, and save the file
  5. Upload the .SQL file in the “SQL” folder in the root of this download
  6. Open up the file “Index.php” in your web directory root
  7. You can change the navbar details between lines “36” to “75”
  8. You can then also edit the secondary user drop-down navbar between lines “76“ to “106“
  9. From lines “112” to “132” is the first discord bot widget on the home screen
  10. You can edit line “121” to the name of the bot you want to have it as (Replace “BOT1”)
  11. Then if the bot uses DiscordBots.Org you can put your discord bots id between https://discordbots.org/api/widget/status/BOTIDHERE.svg
  12. Changing “BOTIDHERE” to your bots ID
  13. You can then repeat this for the other 3 bot widgets what are on the home page.
  14. On the homepage, you can only have four (4) bot widgets there (More in an upcoming update).
  15. However, if you only want to show less than four (4) widgets you can remove them by removing <div class="col-lg-3 col-md-6 col-sm-6">” to “</div> (That should be around 17 lines of code)
  16. Open the file “bot1.php” and edit lines “5” to “7” with your SSH login details
  17. Then edit lines “17” to what your bot location is (Change “/cmbbot” to your bots location)
  18. Then do the same for lines “21”
  19. Then edit lines “148”, “155”, and “157” to the information you want to give (Kind of an about area for the bot)
  20. Then edit lines “172” and change from “IMAGEURL” to an image to represent that bot
  21. Then edit lines “176”, “177”, and “178” to the details you want (Changing “YOURBOTID” to your bots id if it's on discordbots.org)
  22. Then repeat steps “16” to “21” on the “bot2.php”, “bot3.php”, and “bot4.php” pages
  23. Then save all files
  24. To set the password open up the file “Login” and change lines “6” and replace “test” to the password you want to use
  25. You can then use the script
Clone this wiki locally