Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IP_NoRegister! Block problem IPs or IP Hosts from registering on your site! Details »»
IP_NoRegister! Block problem IPs or IP Hosts from registering on your site!
Version: 1.0.1, by Quarterbore Quarterbore is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.2 Rating:
Released: 10-16-2006 Last Update: 10-16-2006 Installs: 91
Uses Plugins
Is in Beta Stage  
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-17-2006, 12:53 AM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this really any better than the IP blocking already available in vBulletin?
Reply With Quote
  #3  
Old 10-17-2006, 01:51 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-17-2006, 02:00 AM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will This Work On 3.5.4?
Reply With Quote
  #5  
Old 10-17-2006, 02:28 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 10-17-2006, 10:02 AM
Davidhi Davidhi is offline
 
Join Date: Sep 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 10-17-2006, 12:11 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-17-2006, 04:11 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just what I needed, giving it a whirl now.
Reply With Quote
  #9  
Old 10-17-2006, 08:18 PM
Zelos's Avatar
Zelos Zelos is offline
 
Join Date: Jun 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #10  
Old 10-17-2006, 10:49 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How much different is this, since your last version?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:32 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
  • Page Generation 0.05467 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete