A simple, but sleek, web addon for AdvancedBan.
- You can find the example here.
- Host it on your own website
- Easily edit the theme and style
- Easily change the title and description
- Allow visitors to search punishments by user
- Allow visitors to search punishments by type
- Full control
- Security put in place to prevent SQL injection
- Works with all punishments
- Easy to install and easy to use
- Mobile friendly
To use the AdvancedBan web addon, you must first upload all PHP pages to your site. The database.php file is the only file that requires editing.
$con = mysqli_connect("host","username","password","database"); //Enter your MYSQL details here.
$info = array(
'title'=>'AdvancedBan Web Addon', //This will be displayed in the title, main jumbotron, and navigation bar.
'description'=>'A simple, but sleek, web addon for AdvancedBan.', //This will be displayed under the title on all pages.
'theme'=>'yeti', //This is the name of the theme you wish to load. You can find a list of compatible themes at http://bootswatch.com/.
'table'=>'PunishmentHistory'); //The table of your MYSQL database for which punishments are saved.
if (mysqli_connect_errno()) {
die('Failed to connect to database.');
}
Once you have correctly entered in your database details and table name, the addon should start working.
The site theme and framework are by Bootswatch and Bootstrap. The addon itself by mathhulk. All credit for AdvancedBan goes to its original author, whose link can be found on the example page.
- None