Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2010, 10:08 AM
Abhik's Avatar
Abhik Abhik is offline
 
Join Date: Jun 2006
Location: Kolkata, India
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to Ban a IP or IP Range?

Hello,
I want to ban a IP or a whole IP Range.
It seems vBulletin 4.0.4 don't have a default option for that.

May I know how can I do that?
TIA
Reply With Quote
  #2  
Old 06-26-2010, 10:19 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Urr.....was answered previously..

AdminCP > Settings > Options > User Banning Options

Reply With Quote
  #3  
Old 06-26-2010, 11:15 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abhik View Post
Hello,
I want to ban a IP or a whole IP Range.
It seems vBulletin 4.0.4 don't have a default option for that.

May I know how can I do that?
TIA
You can also try to ban those ip ranges through .htaccess by placing the following code at your .htaccess file:

Code:
order allow,deny
deny from ip address range here 
deny from ip address range here
allow from all
And replace ip address range here with the ip address ranges that you want to ban. To add more, simply keep adding
Code:
deny from ip address range here.
You can also redirect them to another page by adding this code:

Code:
ErrorDocument 403 http://www.redirectbannedmembers.com//
The url I posted above is an example, you should replace it with that of your own where you want to redirect the banned users.

Hope it helps.
Reply With Quote
  #4  
Old 06-26-2010, 11:17 AM
Arunkumar's Avatar
Arunkumar Arunkumar is offline
 
Join Date: May 2010
Location: India
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am looking for the same. Thanks ChopSuey.
Reply With Quote
  #5  
Old 06-26-2010, 02:19 PM
Abhik's Avatar
Abhik Abhik is offline
 
Join Date: Jun 2006
Location: Kolkata, India
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
Urr.....was answered previously..

AdminCP > Settings > Options > User Banning Options

That's cool..
Sure I have missed that setting.

Reply With Quote
  #6  
Old 08-30-2010, 10:59 PM
jdrakopo jdrakopo is offline
 
Join Date: Jun 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.
Reply With Quote
  #7  
Old 08-31-2010, 12:45 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jdrakopo View Post
If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.
that freaked me out when chop-suey came up, but yes VB has a way to ban ips from within the admincp/options/settings/User Banning Options
Reply With Quote
  #8  
Old 08-31-2010, 09:39 AM
jdrakopo jdrakopo is offline
 
Join Date: Jun 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already use --> admincp/options/settings/User Banning Options
However, what I need is to ban a RANGE OF IP's
For instance, all IP's from Beijing

Is this do'able ?
Reply With Quote
  #9  
Old 08-31-2010, 09:55 AM
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jdrakopo View Post
If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.
I believe they do allow you to modify .htaccess.

Ask them to be sure.
Reply With Quote
  #10  
Old 08-31-2010, 02:47 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jdrakopo View Post
I already use --> admincp/options/settings/User Banning Options
However, what I need is to ban a RANGE OF IP's
For instance, all IP's from Beijing

Is this do'able ?
111.*.*.*
112.*.*.*
113.*.*.*
114.*.*.*
115.*.*.*
116.*.*.*
117.*.*.*
so one to 124, i think
if im wrong someone will say so
found this https://vborg.vbsupport.ru/showthread.php?t=227013
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 02:18 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.07769 seconds
  • Memory Usage 2,259KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (10)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