Cookie Ban

MobileHacks

New Member
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
[align=left]
PHP:
         RewriteEngine on 
         RewriteCond %{HTTP_COOKIE} _xxxx_welcome 
         RewriteRule .* - [F]
[/align]
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:
if (is_member_of($vbulletin->userinfo, 8))
to assign a different ban period, modify this number:
PHP:
60*60*24*30*12
 
I don't think this is possible...

all you would have to do is clear cookies and be able to access site again..
 
Back
Top