Developer Guide
Read this in order to know how to Mod Elite Bulletin Board.
includes guide
As of version 2.0.0 all classes and functions are in the includes folder(except for the template class). Below is a description of what each files does.
- acp_validate.js - This is the live validator for the ACP.
- admin_functions.php - This contain all functions designed for the ACP.
- db.php - The DB class
- function.php - This has all mise. functions.
- posting_function.php - This contain all functions used during the process of posting topics, posts, and PMs.
- smtp.php - the smtp class expanded from the phpmailer class.
- template_function.php - This file has all of the loop structures and general template-based outputs.
- topic_function.php - This contain the functions for topics, polls, and policy checker.
- user_function.php - This has user settings, theme settings, anything that needed to serve or validate a user.
- validate.js - The live validator for the board(all non-ACP items)
Installer guide
A new feature for version 2 is the installer system. This allows users to easily install things from Mods, smiles, and themes.
When making an installer be sure to use the right extension, failing to do so will result in it showing up in the wrong Location.
- stylename.style.php - This is the format for a style installer
- smilepackname.smile.php - The format for smile packs
- modname.mod.php - The format for mod installers
Style Installers
To create a theme installer, look at the Theme guide page to learn about that.
Smile Packs
The smile pack serves the same purpose as the style installer, to add in the new values into the DB.
Mod Installers
The Mod installer will update the DB and if needed allow the administrator to set up any new settings.
very important, when using any of the installers, make sure to upload them to the install folder(if you deleted it, make a new folder named install and chmod the folder 777 or 755)
Being the nice guy I am, I have made a general template to play off of. make sure to edit it throughly to ensure nothing goes wrong when the installer runs.