![]() |
If you can find the program called "whois" for windows, then this might work with it.
|
Quote:
I don't expect that you read this... but I still need to tell you this... TAKE care on your comments !!! If you call my family scum, that same to you and your familiy is scum for me also, take a look there and do NEVER ever make such remark again to catogorize a whole country, due to some persons. ! MODS, how to accept such comment ?? Doesn't anybody look ??? I hope his comment will be deleted very soon and edit mine pls ! Thanks. |
Quote:
Meissenation did not say ALL people from these places are scum but: Quote:
The reason I made this mod was not to start some international incident, but to try and shut out these idiot spammers in any way I can. Is that offensive? Surely not nearly as offensive as waking up in the morning and checking your FAMILY ORIENTATED forum to find that some Russian IP posted about 30 threads all containing XXX rated pornography. If it was up to me, the Internet should be cut off from these places until their Governments can at least make an attempt at policing its use. |
Ok, I broke down and made a Windows compatible version. Should work on all platforms now for that matter..
|
People please cool off. Unless your family are spammers (or other unwanted internet activity), then nobody insulted your family our your fellow countrymen.
Only thing that has been posted is the observation that a lot of "scum" on the internet originates from IP addreses in those countries. Edit: In order to avoid misinterpretations we have changed the word "scum" to "problems". This should still leave the original mesage meaning the same, but avoiding words that might be understood in the wrong way. |
Quote:
Quote:
Quote:
I understand Linux can be made much more secure, but it's much easier for me to fix a Windows box than a box with an OS I'm just not familiar with. :) |
Quote:
|
Very helpful mod. For me, however, it's more helpful to create a simple list of excluded countries as I have an international membership. Most of my spammers seem to originate in Nigeria and China, with a few from Bulgaria and Russia. It's hard to eliminate Russia as I have a number of legitimate Russian users as this is a World War II site and the Soviet Union was a major combatant. In fact a very large part of my site deals with the war on the eastern front.
I've modified the code to disallow users from specified countries. It hasn't been fully tested as I haven't had any registrations yet from those countries but the changes are fairly simple and I suspect that it will work as intended. I'd be happy to share it with the developer's permission. |
Quote:
Code:
if (!in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); } Code:
if (in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); } Cheers. |
Yeah that's the basic change. I also prettied up the phrases and changed the variable "valid_countries" to "excluded_countries" just to make the code easier to understand.
Thanks again for the mod. It definitely should help. |
All times are GMT. The time now is 03:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|