vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ban IP's In vBulletin Options Easily (https://vborg.vbsupport.ru/showthread.php?t=268147)

Simon Lloyd 08-07-2011 10:00 PM

Ban IP's In vBulletin Options Easily
 
1 Attachment(s)
What this mod does
With this simple mod you can enter a list of IP's that you want to ban (redirect) one per line, when trying to access your site the user of the IP will be redirected to an obscure google page with a 301 permanent redirect.

What this mod won't do
With this mod you cannot ban partial ranged IP's laid out like this 2.23.123 - 2.23.130

How to install
Simply go to Admincp>Manage Products and import product-baniparray.xml

Please mark as installed if you use this!

Version History
v1.0.1

Made it possible to use partial IP addresses
v1.0.2
Added custom redirect message box
Added custom redirect url box
Added IP Range boxes for banning IP's that fall within range
Ranged IP's parsed during checks
vbetaadded for test purposes 9/08/2011
Beta has email notification ability, this beta is for those of you that wish to test it and feed back!


Checked range block working only against my IP range, please report any bugs!

bosanci28 08-08-2011 02:37 AM

well when i enable in 4.1.5 i get this error:

Code:

Warning: stristr() [function.stristr]: Empty delimiter in [path]/includes/class_bootstrap.php(917) : eval()'d code on line 13

Simon Lloyd 08-08-2011 02:54 AM

When you enabled it did you have any ip's in the list? if not it will produce an error.

bosanci28 08-08-2011 04:32 AM

yap,that fixed it.

now let say i ban someones ip,and then i will erase his account,what will happen then?
can he register again or?

thanks friend.

Simon Lloyd 08-08-2011 04:46 PM

Quote:

Originally Posted by bosanci28 (Post 2230770)
yap,that fixed it.

now let say i ban someones ip,and then i will erase his account,what will happen then?
can he register again or?

thanks friend.

No not with the same IP, if they use the same IP they will never get to see your site again only the redirect site. There will be further enhancements coming soon with this mod :)

FReeSTER 08-08-2011 06:12 PM

Quote:

Originally Posted by Simon Lloyd (Post 2230955)
No not with the same IP, if they use the same IP they will never get to see your site again only the redirect site. There will be further enhancements coming soon with this mod :)

Good stuff, I will tag for later use. Cant wait for more options. lol

DonosOdD 08-08-2011 06:45 PM

I can see this is good work in progress. Tagged for later.

steve1966 08-08-2011 07:35 PM

Hi thank you but where do i add the isp in the usual banning options page?

Simon Lloyd 08-08-2011 10:32 PM

If you mean in my mod then it's self explanatory. This mod does not interact with or affect vb's built in banning options page.

Simon Lloyd 08-08-2011 10:45 PM

Product updated - new enhancements!


All times are GMT. The time now is 05:07 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.02084 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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