Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
IP_NoView! Blocking Guests w/ problem IP addresses from Showthread & Showpost pages! Details »
IP_NoView! Blocking Guests w/ problem IP addresses from Showthread & Showpost pages!
Mod Version: 2.1.0, by Quarterbore (Coder/Designer) Quarterbore is offline
Developer Last Online: Aug 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (1 vote - 5.00 average) Installs: 28
Released: 22 Sep 2006 Last Update: 07 Oct 2006 Downloads: 311
Not Supported DB Changes Uses Plugins  

Background:

The idea behind this product is that we really can't ban some IP addresses without locking out guests and members that we want to be able to access the forums. To further complicate this issue, with some internet providers a member can have a dozen or more IP addresses. Blocking all of these various IPs that a bad user might have would also block dozens of members that could all share the same IP addresses resulting in good guests or members not being able to access the site.

This product was created so problem guests with identified IPs can not read the threads and posts in the forums but good members can still get in and use the site! Even guests with the same IP address, will be able to look around the site, see the forums and topics being discussed (just not read the threads or posts) and perhaps decide they wish to join. This script does not impact the registration page, login page, or anything else on the site (unless you add the pluggin code to other hooks that you wish to block )

How the Product works:

This script works using hooks for the start of SHOWTHREAD and SHOWPOST and if a visitor is not logged in (ie they are a guest) their IP address is compared to an array of "NoView" IP addresses. If their IP address is in that array, the user will get an error message explaining that they can not see the thread or post because their IP address is on a list of problem IPs and they can login or register to make the problem go away (see attached for showthread and showpost).

Inside the AdminCP is an option to turn this script ON or OFF and IP addresses are listed in a text area with one IP address listed per line (see attached).

NEW FEATURE ADDED with Version 2.0.0:

With some hosting companies, like AOL, users get a new IP address each time they seem to dial into AOL. This makes blocking by a specific IP address difficult if not impossible. Php however affords us a function that allows a script to resolve the host responsible for an IP address. So, with version 2.0.0 of this script I have added the ability to block viewing of threads or posts based on the host.

When using this feature, you can use as specific or general of a host as you wish but remember that if you make it too general you will impact a lot more members then if you keep it somewhat specific. For example, the person I wanted to lock out of my website showed up on my Whos Online page as "cache-mtc-ab07.proxy.aol.com". In the list of HOST IP addresses to block I could use ay of the following for that guest to no longer be able to see threads or posts:

cache-mtc-ab07.proxy.aol.com
ab07.proxy.aol.com
proxy.aol.com
aol.com
.com

Note, the one I decided to use was the "proxy.aol.com" as everything before that seemed to change with a new call. This works like the IP list such that you can add one host per line.

NEW FEATURE ADDED with Version 2.1.0:

I have added two new pluggins that will also block problem IPs or IP Hosts from viewing forums or using the search on the site. If someone does not want these, you can go into your pluggins and turn off the these pluggins inside your pluggin manager under IP_NoView!

What Does this Add to your site?
4 Small Hooks
5 Small Phrases
3 vBsettings in the settings table

Version Information:
Version 1.0.0.
- Initial Release Sept 22, 2006

Version 2.0.0
- Released Oct 2, 2006
- Added a way to block based on Resolved Host Name

Version 2.1.0
- Released Oct 5, 2006
- Fixed bug processing of BLOCKED HOSTs in array
- See: http://www.vbulletin.org/forum/showthread.php?t=128343
- HUGE thanks to nico_swd for the solution!
- Added two new plugins to block Forum viewing and Searching for problem IPs

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	NoView_showpost.jpg
Views:	588
Size:	87.1 KB
ID:	53773   Click image for larger version

Name:	NoView_showthread.jpg
Views:	462
Size:	86.9 KB
ID:	53774   Click image for larger version

Name:	IP_NoView-v2-Admincp.jpg
Views:	341
Size:	65.9 KB
ID:	54222  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Moderators Functions Ip_NoPost! Blocking Guests with problem IPs from posting! Quarterbore vBulletin 3.6 Add-ons 11 19 Jul 2007 08:41

Comments
  #2  
Old 22 Sep 2006, 20:10
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Reserved

I have installed this in 3.6.0 and 3.6.1 forums and I did not have any problems! I also UNINSTALLED and it did not cause any problems either but as always I suggest you do a databackup as I can't help you fix your site if this causes you problems!

Updates:

9/22/2006 17:37 EST

I just discovered a typo in the adminCP area where I had "Please note there is no trailing zero!". That should have said "Please note there is no trailing period!" Product has been fixed and a new image of the AdminCP has been uploaded.

Last edited by Quarterbore; 23 Sep 2006 at 03:26.
Reply With Quote
  #3  
Old 22 Sep 2006, 21:38
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Real name: STEVE
installed on 3.5, works no problems....

updated, that was just a phrase change wasnt it?

Last edited by Gizmo5h1t3; 22 Sep 2006 at 21:42.
Reply With Quote
  #4  
Old 22 Sep 2006, 21:44
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Originally Posted by Gizmo5h1t3
installed on 3.5, works no problems....

updated, that was just a phrase change wasnt it?
Yes, just the phrase and it was not a critical fix...
Reply With Quote
  #5  
Old 22 Sep 2006, 21:45
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Real name: STEVE
gotta admit, i was lookin for trailing zeros tho...lmao
Reply With Quote
  #6  
Old 22 Sep 2006, 22:02
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks man!
Reply With Quote
  #7  
Old 22 Sep 2006, 22:11
andrewrhs andrewrhs is offline
 
Join Date: Jul 2005
thanks a lot, this sounds like a potentially great product.
Reply With Quote
  #8  
Old 23 Sep 2006, 11:17
Ajavas's Avatar
Ajavas Ajavas is offline
 
Join Date: Aug 2004
Great work! Thnx and installed.
Reply With Quote
  #9  
Old 23 Sep 2006, 23:26
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Yeah Great work, I've been looking around for something like this for quite a while.

Thanks.
Reply With Quote
  #10  
Old 25 Sep 2006, 05:00
bigfrank bigfrank is offline
 
Join Date: Jul 2005
Ken you are the Man, I know one place that this code will help drive out a Pest.
Reply With Quote
  #11  
Old 02 Oct 2006, 16:52
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Version 2.0.0 of this script has been created.

As indicated above, version 2.0.0 features a way to block by a partial IP Hostname to make it easier to block users of hosting companies that have extremely diverse IP addresses for their members. Now, you can require all "AOL" members as an example to be logged in to view posts or threads.

To upgrade, simply download the product and go int your vBulletin AdminCP and reupload the product. Make sure you click "Overwrite" and that is all that will be required. Your blocked IP list should not be affected!

Enjoy!

Last edited by Quarterbore; 02 Oct 2006 at 18:46.
Reply With Quote
  #12  
Old 05 Oct 2006, 13:43
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
EDIT: Product has been updated to solve a problem with the array of HOST IPs (details posted in revision history).

Last edited by Quarterbore; 05 Oct 2006 at 14:40.
Reply With Quote
  #13  
Old 05 Oct 2006, 15:01
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
*INSTALLED* and "seems" to be running fine on 3.6.2!

Does this mod have the ability to block an IP range by simply entering a partial IP? Or would that fall under blocking the host?

Thank you!
Reply With Quote
  #14  
Old 05 Oct 2006, 16:12
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Originally Posted by Gripemaster
*INSTALLED* and "seems" to be running fine on 3.6.2!

Does this mod have the ability to block an IP range by simply entering a partial IP? Or would that fall under blocking the host?

Thank you!
The IP list blocks a specific IP. The Host list will block a partial of the host(say you put in "com" it would block all hosts with com in them!).

As for the IP range, I have not worked on that yet as with host blocking I can get pretty much the same effect. For me, it is all about AOL and how they allow people to get a new IP and proxy with each new dial in!
Reply With Quote
  #15  
Old 06 Oct 2006, 06:19
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
I have been terrorized by aol'ers. I'll try it
__________________
Los Angeles Kings Fan Page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:18.

Layout Options | Width: Wide Color: