Back to vBulletin 3.8 Add-ons

Cookie Ban
Mod Version: 1.00, by bjhuang

vB Version: 3.8.0 Rating: (3 votes - 5.00 average) Installs: 62
Released: 16 Jan 2009 Last Update: Never Downloads: 275
Not Supported Uses Plugins Re-usable Code  

Products: 1
Plugins: 1
Queries: 0

What does it do?

When you banned a user, he can just register a new account and keep posting on your forum.
When you banned an IP, the IP could be dymanic or an proxy IP. You probably banned one or more innocent users.
Why not try to ban someone by a cookie!

Installation

Step 1: import product-cookieban.xml
Step 2: add this into .htaccess

PHP Code:
                RewriteEngine on
                RewriteCond 
%{HTTP_COOKIE_xxxx_welcome
                RewriteRule 
.* - [F
be sure to replace the xxxx with your cookie prefix (check your includes/config.php)

What will happen?

When a banned user try to login your forum, he will be given a cookie of death. and then he will not be able to access your forum within an year.

Advanced

to assign a different banned usergroup, modify this line:
PHP Code:
if (is_member_of($vbulletin->userinfo8)) 
to assign a different ban period, modify this number:
PHP Code:
60*60*24*30*12 


The most famous travel forum in chinese world - http://www.bbkz.com/forum/

Download

File Type: %1$s product-cookieban.xml (864 Bytes, 295 downloads)

Similar Mods

Administrative and Maintenance Tools Cookie Stuffing Detector [Inside- What is Cookie Stuffing and Why you Should Care] vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024