Community Template (Legacy)
This documentation goes over everything needed for our Community Template. Information about the configs and setup is all stated below.
We do not recommended changing anything but the config.php
, json files
, and application files
at any time.
Also do NOT edit the very bottom lines of code in config.php
!
Installation
Once you have purchased the Community Template you will get access to download the bot.
If you are running it on your home PC we recommend getting xampp. If you are running it on a webserver then it should work fine.
Download / Extraction
Go to your profile on our store page and you will see a download button. After you download you will get a .zip
file.
- Place the
.zip
wherever you want the site's files to be. - Create a another folder where you want the site's files to be located
- Open the
.zip
file and drag the contents into the other file you created. - Finally, make sure that all the files from the
.zip
are in the folder where you want the site's files.
Configuring the Site
This website template has a plethera of configurable elements built into the config files.
You can find a default config.php
in the Resource section of this page.
Site Settings
- siteName
- siteLogo
- headerImage
- siteDescription
- siteTags
- themeColor
- buttonColor
- buttonHoverColor
- linkColor
- textColor
- embedColor
- embedImageActive
- socialIcon
- socialButtonName
- socialButtonLink
This defines the sites name. It only appears on the footer, search bar, tabs, and link embeds. It will follow every page title after the "|".
This is the logo that will appear as the site favicon. It doesn't appear on any page.
This appears on the navigation bar and the link embeds, if enabled.
This is appears on the link embeds, search engines, and can be the home page text.
These are for SEO. They are not magic but can help with search resaults. They need to be seperated by a comma, EXCEPT for the last one.
This is the main color that will be used across the website. Must be hex,
rgb, or rgba code. If using rgb or rgba you need to put the code like this:
rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with the #
.
This is the color of all the buttons on the website. Must be hex, rgb, or
rgba code. If using rgb or rgba you need to put the code like this: rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with the #
.
This is the color of all the buttons when a mouse hovers over them. Must be
hex, rgb, or rgba code. If using rgb or rgba you need to put the code like
this: rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with
the #
.
This is the color of all the links on the website. Must be hex, rgb, or rgba
code. If using rgb or rgba you need to put the code like this: rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with the #
.
This is the color of all the text on the website. Must be hex, rgb, or rgba
code. If using rgb or rgba you need to put the code like this: rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with the #
.
This is the color that will appear on the left of link embeds. Must be hex,
rgb, or rgba code. If using rgb or rgba you need to put the code like this:
rgb(0, 0, 0)
| rgba(0, 0, 0, .5)
, and hex codes must start with the #
.
If true
then $headerImage will appear on link embeds; if false
$headerImage
will not be on embeds. Value must be true or false.
This is the top button on the 404 / No application page. Avalible Icons: discord, twitter, youtube, globe, facebook, tiktok, twitch An avalible icon MUST be used and MUST be lowercase.
This is the text of the social button.
This is the link for the social button.
Header Buttons
- button{number}Active
- button{number}Link
- button{number}Text
This defines if the button will show or hide. Must be true or false.
This is the link the button will take you to.
This is the text that appears as the button.
Footer Buttons
- fbutton{number}Active
- fbutton{number}Link
- fbutton{number}IconType
- fbutton{number}Text
This defines if the button will show or hide. Must be true or false.
This is the link the button will take you to.
This is the type of icon that shows up. IconTypes are either social
,
internal
, and external
If social
then the Avalible Icons options:
discord
, twitter
, youtube
, globe
, facebook
, tiktok
, twitch
If
internal
the path must be within assets/img/
, but do not add
assets/img/
If external
it must be a img link from the enternet
This is the text that appears on the button.
Home Page Settings
- buttonHomePageActive
- buttonHomePageLink
- buttonHomePageText
- heroText
- heroDescription
If true
the button under the hero text will be on, if false
, it will
not. Must be true or false.
The link for the button on the home page.
The text on the home page button.
The title that appears on the home page at the very top.
The text under the title on the top of the home page. Leave as ""
for it
to be $siteDescription.
Info Section
- buttonHomePageActive
- buttonHomePageLink
- buttonHomePageText
- heroText
- heroDescription
If true
the button under the hero text will be on, if false
, it will
not. Must be true or false.
The link for the button on the home page.
The text on the home page button.
The title that appears on the home page at the very top.
The text under the title on the top of the home page. Leave as ""
for it
to be $siteDescription.
Links Section
- infoSectionActive
- infoSectionTitle
- col{number}Image
- col{number}Text
If true
the button under the info section will be shown, if false
, it
will not. Must be true or false.
The title of the info section. Leave as ""
to disable.
The image above the text for the colum.
The text for the colum.
Gallery Section
- linkSectionActive
- linkSectionTitle
- link{number}Active
- link{number}Link
- link{number}Text
If true
the button under the link section will be shown, if false
, it
will not. Must be true or false.
The title of the link section. Leave as ""
to disable.
If the link will appear or not. Must be true or false.
The link that users will be directed to.
The text that appears as the link.
Team Section
- gallerySectionActive
- gallerySectionTitle
- gallery{number}Active
- gallery{number}Link
If true
the button under the gallery section will be shown, if false
, it
will not. Must be true or false.
The title of the gallery section. Leave as ""
to disable.
If the image will appear or not. Must be true or false.
The link to the image. Can be an internal or external link.
Apply Page Settings
- appsPageTitle
- appsPageDesc
- {section}ApplicationsActive
- {section}ApplicationsTitle
- {section}ApplicationsDesc
The title on the top left of the apply page.
The description to the right of the title.
If the section of applications will be active. Must be true or false.
The title for that section of applications.
The Description for that section. Leave as ""
to disable.
applications.json
Information below is to help with editing the applications.json file found in the json folder. This is where all the actual application data is stored for the apply page. If you need a default copy head to the resources section.
Each section follows the same parameteres. Also, do not edit the section names (ie "mainApplication"
) and adding more sections will not do anything but possibly break something.
If you have more then one a ,
must be at the end of each , except the last.
{
"name": "Name of Application",
"fileName": "The name of the file within the apps folder (no file extention)",
"status": "Either Open or Closed (Caps don't matter)"
}
For information on the apps files, head to App Files.
Gallery Page Settings
- galleryTitle
- galleryDesc
- galleryImages
The title on the top left of the gallery page.
The description to the right of the title.
The images that appear on the gallery page. They can be external or internal
links. The ""
must be arround the link, if the link has a quotation mark
in it, put \
infront of it. And a comma must be at the end of all the
link, outside the quote, except for the last.
Team Page Settings
- teamTitle
- teamDesc
The title on the top left of the team page.
The description to the right of the title.
teamMembers.json
Information below is to help with editing the teamMembers.json file found in the json folder. This is where all the actual team member data is stored for the team page. If you need a default copy head to the resources section.
Each grouping follows the same parameteres. Also, do not edit the section names ("teammembers"
) and adding more sections will not do anything but possibly break something.
If you have more then one a ,
must be at the end of each , except the last.
{
"name": "Their Name",
"rank": "Thier Rank (Appears under the name)",
"desc": "The description that appears under the name / rank.",
"imgLink": "An internal or external link to their picture (Appears at the top of the member box)"
},
Application File Editing
This section goes over how to edit, add, and remove application files.
All information is relevent to files within the apps
folder, except the applcations.json
as that is in the json
folder.
NEVER EDIT THE grabber.php
!
An example of a application file:
<?php
$appTitle = "First App";
$appDesc = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Repudiandae, dolorem quisquam quas architecto, ut porro molestiae nihil reprehenderit, nulla facilis quam aperiam consectetur odit. Quidem laudantium nemo animi consequatur deleniti.";
$appLink = "https://docs.google.com/forms/d/e/1FAIpQLSc81OBt2FKIHBrw-Ob5WkI5Eg8G6oTpczOEvXDy3D96X7bGsQ/viewform";
?>
<div class="container">
<h1 class="header"><?= $appTitle ?></h1>
<p><?= $appDesc ?></p>
<div class="frame">
<iframe src="<?= $appLink ?>?embedded=true" allowfullscreen mozallowfullscreen webkitallowfullscreen></iframe>
</div>
</div>
Adding
To add a new application file simple do the following steps:
- Create a new file within the
apps
folder with whatever name you want (must be all lowercase) and make sure the extention is.php
. - Go into the file and add the example code or code from another app file.
- Add the application information to the
applications.json
file with the new file name.
Removing
- Delete the file of the app you want to remove.
- Remove the file name / application data from
applications.json
.
Editing
Editing is not to hard, just be careful.
- Enter the app file you want to edit.
- Change the information at the top of the page within the
<?php ?>
phrase. - Your Done!
Resources
Below are all the configs used for this bot. A default and blank version is provided incase you break something, want to start over, or need to look at the original configs.