Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Ip_NoPost! Blocking Guests with problem IPs from posting! Details »»
Ip_NoPost! Blocking Guests with problem IPs from posting!
Version: 1.00, 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: 14
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 of two people that asked me to modify the script to block guests from Posting as opposed to viewing. In their case, they allow guests to post in some of their forums and they needed a way to block guests with problem IPs from being able to post.

Like my IP_NoView script, once the blocked guest logs in, this script will not have any impact on their use of the forums. To test this, I blocked my own IP address and IP host and as soon as I logged in I was able to use the site as normal.

How this works

This works through the use of three settings inside the AdminCP >> vBulletin Settings >> Ip_NoView! These settings include an ON/OFF switch, a list of blocked IPs, and a List of blocked IP Hosts.

If the system is on, two pluggins at the start of newpost and newthread check the IP and IP Host of guests and compare them to the array of blocked IPs. If the guest that is trying to post has an IP that matches, then the system generates an error letting them know that the Administrator has blocked posts by guests with their IP address.

Version Control

16-Oct-2006
- v 1.0.0 released
- tested in vb 3.6.2.
- beta as I could not test on a live site as I do not allow guests to post!

Show Your Support

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

Comments
  #2  
Old 10-17-2006, 12:34 AM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first post, nice hack .... *installed"
Reply With Quote
  #3  
Old 10-17-2006, 07:12 PM
Wheemer Wheemer is offline
 
Join Date: Oct 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tried this mod and blocked my own IP. But I was still able to post as a guest...?

Thank you so much for making this mod though, the morons that are poluting our forum will soon be very surprised!
Reply With Quote
  #4  
Old 10-17-2006, 10:11 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheemer
I just tried this mod and blocked my own IP. But I was still able to post as a guest...?

Thank you so much for making this mod though, the morons that are poluting our forum will soon be very surprised!
Are you sure you remembered to turn it on?

Did you try blocking based on your IP Host if your IP was not blocked?

Also, depending on your IP Provider, some IPs will change while you are browsing... AOL does this and drives me nuts!

I have another hack I have been using on my site that I can give you that will make it easy to verify that yout IP is not changing to trouble shoot. Just send me a PM if you still have problems but that code is part of a bigger project that I am not ready to release yet!
Reply With Quote
  #5  
Old 10-18-2006, 12:58 AM
Wheemer Wheemer is offline
 
Join Date: Oct 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah I'm sure it was enabled, and my ip is static...

Must I have any of your other plugin installed?

The only thing for installation is importing the product right?
Reply With Quote
  #6  
Old 10-18-2006, 01:05 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correct, just this product... You should have one pluggin that should be active and the settings turned on and the IP address added. I tested it on 3.6.2 so I am curious...

Do you know what version PHP you use? I will need to strip down some code to allow you to confirm that the code is getting your IP correctly. I can't do it tonight.... Look for a PM tomorrow evening!
Reply With Quote
  #7  
Old 10-18-2006, 01:23 AM
Wheemer Wheemer is offline
 
Join Date: Oct 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure, I am using php 5.1.6
Reply With Quote
  #8  
Old 10-19-2006, 01:54 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheemer
sure, I am using php 5.1.6
I have finally managed to strip down my next release to a point that it will get you what you need. Please download the userloggerlite zip file and follow the instructions in the enclosed instructions.txt file.

It is IMPORTANT that you don't leave this on your site too long as that text file will get HUGE if you don't clear it out every so often!

What I need to know is if your server is able to resolve IP addresses and IP Hosts and that the addtess that this outputs is what you had tried to use in your IP_NoPost! list of IPs!
Reply With Quote
  #9  
Old 10-20-2006, 05:07 AM
Wheemer Wheemer is offline
 
Join Date: Oct 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this is really necisarry then I will have to do this in a few days... but my whos online resolves ips just fine, if that means anything.
Reply With Quote
  #10  
Old 10-20-2006, 06:41 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheemer
If this is really necisarry then I will have to do this in a few days... but my whos online resolves ips just fine, if that means anything.
It is up to you but this is the best way to test what your sever says to debug any issues. If the script works for you, then you don't need to test it.
Reply With Quote
Reply

Thread Tools

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 06:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07965 seconds
  • Memory Usage 2,283KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (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
  • (1)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