Bans', 'Manage Bans', 'manage_options', 'accessqontrol', 'aqontrol_manage'); add_submenu_page('accessqontrol', 'AccessQontrol > Bans', 'Add Ban', 'manage_options', 'accessqontrol2', 'aqontrol_edit'); add_submenu_page('accessqontrol', 'AccessQontrol > Site access', 'Site access', 'manage_options', 'accessqontrol3', 'aqontrol_site'); add_options_page('AccessQontrol', 'AccessQontrol', 'manage_options', 'accessqontrol4', 'aqontrol_options'); } /* ------------------------------------------------------------- Name: aqontrol_manage Purpose: Admin management page Receive: -none- Return: -none- ------------------------------------------------------------- */ function aqontrol_manage() { global $wpdb; $message = $_GET['message']; $specific = $_GET['specific']; if(isset($_POST['aqontrol_order'])) { $order = $_POST['aqontrol_order']; } else { $order = 'id ASC'; } ?>

Manage Bans

Ban created

Ban(s) deleted

Action prohibited

Sort by

prefix.'accessqontrol')) { $bans = $wpdb->get_results("SELECT * FROM `".$wpdb->prefix . "accessqontrol` ORDER BY ".$order); if ($bans) { foreach($bans as $ban) { if(is_numeric($ban->address) and is_numeric($ban->range)) { $ban->address = long2ip($ban->address); $ban->range = long2ip($ban->range); } else { $ban->address = $ban->address; $ban->range = $ban->range; } if($ban->address == $ban->range) { $final_address = $ban->address; } else { $final_address = $ban->address." - ".$ban->range; } $class = ('alternate' != $class) ? 'alternate' : ''; ?>
  Victims Reason Date set Expiry date
reason; ?> thetime); ?> duration > 0) {echo date("M d, Y H:i", $ban->duration); } else { echo 'Never'; } ?>
No bans set.
There was an error locating the database table for AccessQontrol. Please deactivate and re-activate AccessQontrol from the plugin page!!
If this does not solve the issue please seek support at http://forum.at.meandmymac.net

Ban Someone

An error occured:

You: IP:
Hostname:
Select method: Single IP or hostname
IP Range
Address/Range: / (IP address or hostname)
Possibilities: - Single IP/Hostname: fill in either a hostname or IP address in the first field.
- IP Range: Put the starting IP address in the left and the ending IP address in the right field.
Reason: (optional, shown to victim)
Redirect to (Full URL): (optional)
How long:
Leave field empty when using permanent. Fill in a number higher than 0 when using another option!
Hints and tips: - Banning hosts in the 10.x.x.x / 169.254.x.x / 172.16.x.x or 192.168.x.x range probably won't work.
- Banning by internet hostname might work unexpectedly and resulting in banning multiple people from the same ISP!
- Wildcards on IP addresses are allowed. Block 84.234. to block the whole 84.234.x.x range!
- An IP address always contains 4 parts with numbers no higher than 254 separated by a dot!
- If a ban does not seem to work try to find out if the person you're trying to ban doesn't use DHCP.
- A temporary ban is automatically removed when it expires.
- For more questions please seek help at my support pages.

Cancel

Settings saved

Website access

Allow... The dashboard stays available at all times!
Never block these users
Type login names, comma seperated (user1,user2,etc.). 'admin' cannot be blocked and does not need to be excluded!

Settings saved

AccessQontrol options

Template

Template Title HTML allowed.
Template Content
Since this is a somewhat preformatted page less HTML is better. Stick to text as much as you can. Only use HTML for small markup things.
Available options: %login_link%. HTML allowed.
Options for banned people (Skipped for other settings): %until% %reason%.

AccessQontrol Uninstall

AccessQontrol adds some options to the database. When you disable the plugin these will not be deleted. To delete the options use the button below.
WARNING! -- This process is irreversible and will delete ALL saved options related to AccessQontrol!