Version: 1.00, by bjhuang
Developer Last Online: Jun 2013
Category: Administrative and Maintenance Tools -
Version: 3.8.0
Rating:
Released: 01-15-2009
Last Update: Never
Installs: 62
Uses Plugins
Re-useable Code
No support by the author.
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->userinfo, 8))
to assign a different ban period, modify this number:
PHP Code:
60*60*24*30*12
The most famous travel forum in chinese world - www.bbkz.com
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.
This is a good suggestion, I would like to know if this can be done before I look for other options.
For all those that have tried banning members accounts and IPs only to have them resign up or use an ip changer, this is a good 3rd option. People shouldn't really know if they are banned by a cookie, it isn't a default vb banning option. Just ensure nothing gives that away and the mod is great.
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.
Can this be made to use custom ban periods. Like If i have 10 day ban to save the cookie with an 10 days life , if is permanent ban to save ca 1 year expire cookie?
Good idea as is a simple way to block most of the users (not many knows about cookies let alone delete them).
BTW, if you give a 10 day ban (this will move user to ban group for 10 days) this will place a death cookie or not?
Tagged ...
I guess most of your users don't use Firefox and cookie manager plugins? My users live by that sort of thing. Even flash supercookies don't deter them.