![]() |
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! |
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 |
When you enabled it did you have any ip's in the list? if not it will produce an error.
|
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. |
Quote:
|
Quote:
|
I can see this is good work in progress. Tagged for later.
|
Hi thank you but where do i add the isp in the usual banning options page?
|
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.
|
Product updated - new enhancements!
|
Looks good. How about an email notification on select blocked IPs?
|
Lol, you haven't marked this as installed!, i can do that but lets see how the mod floats for now before i go messing around with it, if everyone is happy over the next week then i'll add either emailing, creating a thread or writing to a log on your server.
|
To be honest the log is probably the better way to go or you could get thousands of emails or threads created!
|
There, I marked it as installed even though I have not installed it yet. The email option would work best for me, but only for those IPs I designate, not for all of them in the setting.
|
Well thats probably going to be an add on then rather than a mod change as i think you are talking about not having emails from the blocked range and not having emails from those sigularly blocked, you want to be able to have a section where you enter IP's and emails sent to you if they access your site?
|
Beat product added with email capability. :)
|
Quote:
|
Boofo, uninstall that last beta and install the new one, the last one had a typo so wouldn't work!
|
Downloaded. Thanks.
|
Thanks this will help
|
Hope you like it :)
|
should i use the beta.xml or the 4.xml?
|
The beta is stable it was in beta when i added the emailing capability, thats the only difference, so if you dont want emailing capability then the 4.xml is fine :)
|
installed in 4.1.9 and get this error evveytime with both xml files>>>>>>> error>>>>>>>>>>> Warning: stristr() [function.stristr]: Empty delimiter in [path]/includes/class_bootstrap.php(965) : eval()'d code on line 12
|
I was getting following error:
Warning: stristr() [function.stristr]: Empty delimiter in [path]/includes/class_bootstrap.php(965) : eval()'d code on line 181 G! Quote:
|
If you've installed this please mark it as installed :)
You got that error because you have the mod activated but no IP's in the list to deal with, deactivate it until you have use for it ;) |
Quote:
|
5 stars and marked as installed reinstalled since you gave me he code error reason thank you very much!!!
|
Your welcome, try out my ban spider by useragent and you'll save on valuable resources too :)
|
bug found :
Code:
PHP Fatal error: Cannot redeclare ip_redirect() (previously declared in |
Edit: Must be a conflict with another mod you have.
|
Quote:
PHP Code:
its does seem obvious to me its your function that's causing the issue shown in the erro_log, this is not shown on the main forum as an eror PHP Code:
|
Can you check your /archive/global.php to see if it contains ip_redirect?
|
Quote:
yeah as its a fresh install no pronlem |
Other than the ability to redirect to a custom page (which is quite an attractive feature, BTW), what is the difference between this mod and the standard IP Banning options under:
ACP > User Banning Options > Banned IP Addresses Thanks, TM |
for 4.2.0 pl3 it seems to be
PHP Code:
|
Quote:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 11:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|