vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   I'm having trouble keeping a user out of my forums. (https://vborg.vbsupport.ru/showthread.php?t=55743)

MaDCaT75 07-30-2003 09:58 PM

I'm having trouble keeping a user out of my forums.
 
This guy with a dynamic IP address keeps registering and causing problems at my forum. Isnt there a more effective way of keeping him out rather than banning his IP address over and over? Both IP addresses I have banned have started with 212.202.

Is there a better way of keeping him out? I have vB3 beta 4.

insanctus 07-30-2003 10:09 PM

I did an isp ban on mine for a special member (or ex member) In global php.

PHP Code:

$ipaddress=getenv("REMOTE_ADDR");

$ip =@gethostbyaddr($ipaddress);
if (
stristr("$ip""dialup.renocs.nvbell.net")) {
print (
"Sorry but but you can not view this site. Feel free to email admin@sitename if you feel you reached this in error. ");
mail("admin@sanguinox.com""Banned user""$ip tried to view the forum and failed");
exit;


dialup.renocs.nvbell.net being the banned isp

I just tosed that in top of global (I got part of it from a hack in here someplace so I take no credit for it. I added the mail to (I like to know they trying) Call me odd.

MaDCaT75 07-30-2003 10:43 PM

Ok thats great but how do I know do I ban the user's ISP?

insanctus 07-30-2003 10:46 PM

in online options do a resolve ip, when the user logs in you see there isp in the resolve, vb3 shows it resolved if you look at there history I am not sure about vb2.

So once you have there resolved isp you can ban it as I just showed ya.

MaDCaT75 07-30-2003 10:49 PM

excuse me for being a n00b but where is the "online options" located? Is it in admin cp I assume?

insanctus 07-30-2003 10:57 PM

Yes it is in admin options , whos online, resolve ip.

You can aslo do a find user, the name, ip's and if 3 it will show there resolved isp, if 2 I am unsure.

MaDCaT75 07-30-2003 11:01 PM

Thanks I will try it out

filburt1 07-30-2003 11:28 PM

Never resolve the IP on every page load. Sometimes an IP is unresolvable and takes a few seconds to time out, stalling the page load.

MaDCaT75 07-30-2003 11:34 PM

Ok so how the heck do I ban their ISP? You still havent told me how to do this in admin cp! Please I keep getting unwanted users!! Aaahhh!!!

insanctus 07-31-2003 12:17 AM

could always just use that on register ? then atleast it not be every page and the said user could not reg


All times are GMT. The time now is 10:25 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.01030 seconds
  • Memory Usage 1,726KB
  • 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_php_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