![]() |
IP_NoRegister! Block problem IPs or IP Hosts from registering on your site!
Background:
This script is basically the same code used for my IP_NoView! hack but was created because a member asked me to modify the script to block specific IPs or IP Hosts from Registering. How this works This works through the use of three settings inside the AdminCP >> vBulletin Settings >> Ip_NoRegister! These settings include an ON/OFF switch, a list of blocked IPs, and a List of blocked IP Hosts. If the system is on, a pluggin at the start of Register check the IP and IP Host of guests and compare them to the array of blocked IPs. If the guest that is trying to register has an IP that matches, then the system generates an error letting them know that the Administrator has blocked registrations by guests with their IP address. Version Control 6-Aug-2006 - v 1-0-1 Update - Please see the product file uploaded here: https://vborg.vbsupport.ru/showpost....3&postcount=23 It fixes a couple phrase issues and I do not seem to be able to edit the downloads anylonger so that I can add it here? Special thanks to "Makc666" for posting this fix while I have been away! 16-Oct-2006 - v 1.0.0 released - tested in vb 3.6.2. - beta as I did not test on a live board! |
Is this really any better than the IP blocking already available in vBulletin?
|
The default IP banning stops an IP from accessing anything on your site via IP address. The problem I faced, and the reason I made the IP_NoView! version of this code was that I have several hundred AOL users on my site and ONE PITA psycho! To block all AOL IPs that this member used was impossible (when I gave up I had over 2-dozen blocked!). So, I created the second part using php functions to resolve the IP host so I could block at that level.
Now, because these hacks work off a hook location and they use a conditional so that only guests are affected, members are able to log in and use the forum as normal. I have other tools on the site that help me identify multiple accounts or multiple account registrations... I created this because I needed it for my site and it has worked really well for me! That is why I decided to share it here and these two follow-ons pretty much use the same code. |
Will This Work On 3.5.4?
|
The pluggin code is really quite simple so it should... The only problem that you may run into is with the "execution order" in the product as I belive that is a vB 3.6.x thing.
So, download the product and try it... if you get an error try removing the code executionorder="5" in the pluggin before you try to import the product. Please let me know if it works or if you need help... |
This may sound dumb but why not just block the users IP in CPanel, this will give them a blank screen with a unauthorized to view this site message.
no need for the hack then? |
Well, as above... This only works via ONE IP address! With AOL (my nightmare) when a AOL user dials into AOL they IP address will shift AS they browse and the same AOL user can have dozens of IP addresses. Because AOL shares these IPs with all their users, blocking IPs will have two problems!
1. You will not be effective in blocking the person you want to block 2. You will be blocking people you want to be able to visit the site (BLOCKING EVERYTHING - Regradless if they log in or not) By using the IP and IP Host method, you can start with a single IP to see if that gets the problem person to go away. If they get in with more IPs, well then you can go to the host level. The other thing with the scripts I have posted, these ONLY impact guests! If the guest logs in, they will be able to use your forum (obviously different with this register version). Now, with this script, let's assume you have problems from some former Com-Block IP host that keeps posting spam. You close their accounts but they keep comming back. With this script you can block their IP or IP Hst from registering and no new registrations. Perhaps they can e-mail you to get access or perhaps you don't care. Just the same, these guests would still be able to browse the site using this method where other methods they would not be able to do so. So, the difference in this script compared to CPanel or vBulletin's built in is that it can allow some actions but not all actions based on IP address. You can now block registration, posting, or viewing of posts for guests based on their IP address. By adding new pluggins, you can do much more as posted in my IP_NoView! version of this script. |
Just what I needed, giving it a whirl now. :)
|
I've been looking for a mod like this for years! Finally, a way to block IPs without banning innocents; I'll install this as soon as I get a chance!
|
How much different is this, since your last version?
|
Quote:
These other scripts were prepared seperately to allow more options for webmasters. |
thanks :).....................
|
so this won't affect current AOL users on your board...just the guests who come to your board via AOL?
cause I have several AOL users now and I don't wanna block them from the site...just a couple of trolls who keep coming back via AOL after they have been banned. |
This would prevent any NEW AOL registrations if you set this up like that... It does not impact members that are already registered.
|
Nice one :)
*Installed... |
Instead of just blocking registration, it bans them all entirely :(
What did I do wrong? |
Quote:
Sorry, just getting back into the swing after the holidays... First, Please go into your AdminCP >> Plugins Please confirm that the pluggin for this is attached to "register_start" Next, try logging out of your system. Can you see your site? Then click the register button. Do you get the BLOCKED message? Is your IP address or host listed in in the AdminCP to explain why you might be blocked? If you don't get the blocked message, next go in and add your OWN IP address to the blocked list. Then try logging out and see what happens. Try clicking the register button and you SHOULD get the blocked message. When you log in, the message should go away! If you get locked out of your system for any reason, you will need to temporarily turn off plugins via your config file. Simply add the following on a new line DIRECTLY after the "<?php" define('DISABLE_HOOKS', true); Let me know what this does for you. I would also like to know what version of PHP you are running. |
does anybody know what i have to type in to block people from registering with hotmail? cause i put in hotmail.com and this one nut keeps coming back using hotmail?
|
Quote:
I'm also curious as I understood if you put "hotmail.com" in the list, that should prevent anyone from registering using hotmail? Regards, Badger |
wow...love it!!! INSTALLED!!!
|
There are mods which I can only say two words:
Must have! This is on of them! |
Set it to block mail.ru in attempts to block spammers using that site.
In spite of that, the mod still allows registrations from that site? What am I missing? I don't think this mod is functioning, at least for the domain element blocking as above. Thanks Regards, Badger |
As Quarterbore didn't reply for my PM but Last Online: Jun 2007 I will post a language phrase fixed version of this mod...
This is ONLY language phrase fixed version! No any function modifications! Quote:
I think or you don't understand what this mod does, or you don't understand what you are talking about.
I don't see any association with two above any mail.ru mail.ru just sends mails and it is not a proxy server. |
Quote:
I just took his instructions quoted below with AdminCP literally and assumed that anyone using the domain suffix mail.ru would be blocked. Quote:
Thanks for the clarification. :) Regards, Badger |
Nice - thanks.
|
Hi
Just noticed today, that when a guest goes to register, he/she now sees, twice, this: -------------------------------------------------- Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /register.php(79) : eval()'d code on line 25 Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /register.php(79) : eval()'d code on line 25 ---------------------------------------------------- at the top of the page...they can still successfully register, but how can I get rid of this? Br. |
Quote:
Try to download my "fixed phrases" mod here: https://vborg.vbsupport.ru/showpost....3&postcount=23 and then recheck settings in ACP. |
Quote:
Quote:
This mod is to prevent registration based on their actual IP address they are coming from, not what email account they use |
Anyone know if the IPs entered can be ranges? Like trying to ban all of Asia, etc? Using 88 with nothing after it, etc
|
Does anyone know if this works with 3.7?
|
I'll give this a shot and see how it works out for me.
|
kk, I wasn't sure, I have an aggressive forum troll/hacker and I'm not sure if it's keeping him at bay since the upgrade or not.
|
works 3.7.0 :)
|
gonna give this a whirl got a numpty who keeps signing up to my forum with offensive names and reporting them to their ISP didnt work, want to make it so she doesnt even get to register, shes not aol but its one of those IPs that changes every few weeks or so.
thanks for this, much needed to keep my community safe and my admins sane! :D |
i installed this - now i am not able to login to my site... someone PLEASE HELP
|
Quote:
This one blocks you only from registration attempts. |
I've been using this one for a long time. Just wondering if someone here already tested on 4.0.
|
All times are GMT. The time now is 12:51 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:
|