Giter Site home page Giter Site logo

ab-web-addon's Introduction

ab-web-addon

A simple, but sleek, web addon for AdvancedBan.

  • You can find the example here.

Main Features

  • 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

Using the Addon

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.

Credit and Problems

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.

Issues

  • None

ab-web-addon's People

Contributors

samerton avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.