Thread: Global banlist
View Single Post
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-15-2006 , 18:04  
Reply With Quote #5

Okay, to use this with amxbans, you have to do a few things:
Make sure you have MySQL and PHP5.
Along with PHP5, you need two extensions enabled: php_pdo and php_pdo_sqlite.
Install amxbans.. it's on amxmodx.org in the plugins forum.

You can add any bans or admins that you want at this point. One note: Rather then deleting bans from the amxbans database, you must unban them. Failure to do this will result in the person not being unbanned from all servers. I recommend that you do not give anyone access to delete bans.

Next, you need to create a directory for the web portion of the plugin.. it can be anywhere you like. Under that, you need a temp directory.. I named mine "temp"

Tree view of my amxbans folder:
Code:
amxbans
├───admin
├───images
├───include
├───plugin
│   └───temp
├───smarty
├───templates
└───tmp
(I removed amxban's subdirectories from the list)

Next, extract both the files from the web-0.11.zip file to the directory you just created. Open config.php and fill in the correct details. The path to temp variable must have any single slashes "\" replaced with double slashes "\\", like it is.

That's it for right now, there's a few things I need to modify in the serverside plugin, so you can actually change them. Any questions about the web stuff?

(See first post for download)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/

Last edited by devicenull; 06-27-2006 at 18:08.
devicenull is offline