vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Do Not Contact Us (IP Blocking) (https://vborg.vbsupport.ru/showthread.php?t=164684)

TigerWare 12-07-2007 10:00 PM

Do Not Contact Us (IP Blocking)
 
-=+ WHAT IS THIS? +=-

Quite simply this product allows certain IP Addresses to be banned from accessing the Contact Us form (sendmessage). Use sparingly. Whilst this product is useful under extreme circumstances, it should not be viewed as an anti-spam product.

-=+ REASON BEHIND THE PRODUCT +=-

This product has been created to cater for a very specific need; to stop a previously banned and IP Blocked user from sending messages via the Contact Us form. Rather than blocking at server level, I decided to bring the function directly into vBulletin to make it easier to access.

-=+ FEATURES +=-

Various aspects of this product are controlled via the AdminCP, such as:-
  • Ability to turn it on/off.
  • Enter a list of IP Addresses, in full or with partial addresses and wildcards.
  • Alter the default message shown to the user.
-=+ INSTALLATION +=-

Import the supplied product xml by using the Product Manager of the AdminCP, as below:-
  • Plugins & Products -> Manage Products -> Add/Import Product
-=+ POST INSTALLATION +=-

Post installation settings can be found in vBulletin options section:-
  • vBulletin Options -> TWP - Do Not Contact Us
In order for the product to operate certain criteria must be met, as follows:-
  • Plugin must be enabled. (true by default)
  • Product must be enabled in the options. (no by default)
If any of the above criteria are not satisfied, the product will NOT operate. Please check these before asking for help.

-=+ RELEASE HISTORY +=-
  • v1.0 : 08-Dec-07 : First public realease.
  • v0.1 : 07-Dec-07 : Internal Test Version.
-=+ ISSUES +=-

This modification is not tested in vBulletin 3.7.

TigerWare 12-08-2007 03:58 PM

Possible Future Updates
  • There are no plans to update this products' functionality.
FAQ
  • Q : Why does this not use/incorporate the existing User IP Ban list?
    A : Incorporating the standard IP ban list would ultimately lead to innocent individuals having no way of contacting the site webmaster. This product is intended to be isolated and only applied under very particular and extreme circumstances.
  • Q : How can I test this easily?
    A : Simply enter your own IP Address into the list and try to access your Contact Us form. You will see the message stating that you have been blocked. This product does not block you from any other vBulletin feature.

Almotmaiz.Net 12-08-2007 04:37 PM

nice !!

thanx ..

yahoooh 12-08-2007 05:36 PM

can u make it block by domain of e-mail?

TigerWare 12-08-2007 05:43 PM

Quote:

Originally Posted by yahoooh (Post 1397479)
can u make it block by domain of e-mail?

Sorry, No. This modification is designed to block access at IP level, and does not respond to any user input.

TigerWare 12-08-2007 05:53 PM

Quote:

Originally Posted by Almotmaiz.Net (Post 1397451)
nice !!

thanx ..

Thank you Almotmaiz.Net :up:

johnrizz 12-08-2007 08:45 PM

cool. thanks!

apiasto 12-08-2007 08:55 PM

great idea,i think things like this should be default in the board to keep those annoying ppl away,and i think it should solve the problem with ppl who has routers as well with this feature(*)
i would give it a try thnx

TigerWare 12-08-2007 09:05 PM

Thanks both, glad you have found this useful. :up:

Captain Kirk76 12-09-2007 10:48 PM

One thing.
On the screenshot, it says by ISP, but on the thread it says IP?


All times are GMT. The time now is 11:19 AM.

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.01146 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete