vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Apply flood check to guests (https://vborg.vbsupport.ru/showthread.php?t=46033)

Paul 11-22-2002 10:00 PM

Apply flood check to guests
 
Hi,

I think this qualifies as a vBulletin bug, however since the problem has been present in versions as early as 1.1.4, I'm going to post it here as a hack. This may or may not be included in some form or another in future versions of vBulletin.

Presently, if guests/unregistered users are allowed to post on your forum, they will not be checked for flooding (should you have the flood check feature enabled on your forum). Only registered users are checked for flooding.

For a full discussion of this issue, visit this thread at vbulletin.com:
http://www.vbulletin.com/forum/showt...threadid=59267

This modification requires two file edits and one SQL query. Instructions are included in the zip file.

Support will only be given within this thread--emails and private messages regarding this or any other hack will be ignored.

Regards,
Paul

mondaynightmike 11-23-2002 04:52 PM

I know a few forums i visit will love that hack :D

!!! 11-23-2002 06:17 PM

How do I enable guests and unregistered people to post? I've been wanting that, but as it's more and more apparent that I'm too lazy to search, can you give me some help on this topic?

Paul 11-23-2002 06:18 PM

Edit the permissions for the unregistered/not logged in usergroup in the Admin CP. You really should read the manual over on vbulletin.com and familiarize yourself with all of vbulletin's features.

!!! 11-23-2002 06:23 PM

Quote:

Originally posted by LoveShack
Edit the permissions for the unregistered/not logged in usergroup in the Admin CP. You really should read the manual over on vbulletin.com and familiarize yourself with all of vbulletin's features.
In the admin CP? Interesting. Not sure how I missed that.
But, again, if it's not something so very importantly needed by me, then I won't go searching too far for it.
I never read manuals.

Paul 11-23-2002 07:52 PM

You're asking a question that relates to the core permissions system in vbulletin. You really should make an exception here and familiarize yourself with how permission settings in vbulletin work. It's well documented and I'm not about to rehash it here. :)

!!! 11-23-2002 07:59 PM

Quote:

Originally posted by LoveShack
You're asking a question that relates to the core permissions system in vbulletin. You really should make an exception here and familiarize yourself with how permission settings in vbulletin work. It's well documented and I'm not about to rehash it here. :)
Come on. Ignore me here...you don't have to embarrass me anymore. :)

Paul 11-23-2002 08:02 PM

For those interested, I found that Overgrow had previously released a hack (here) that tackles this issue in a different way--by limiting posts made within a certain timeframe by any unregistered user. His hack is not session specific and instead will prevent any guest from posting within xx seconds of another guest posting. His is more of a hack than a "bug fix."

The modifications I've included here are session specific and extend the floodcheck function to include unregistered users in the same way that registered users are currently checked.

Best wishes,
Paul

BlackDeath 12-22-2002 10:32 AM

i have a few people that like to run this script that registers hundreds of sessions on the forums. they aren't posting but it will show like 4,000 guests online. eventually it will crash the server. (i enabled load limiting options to prevent this) but the only way to stop it is to have it when it goes past a certain amt of sessions to deny access and that denies access to everyone.

if i'm reading this right, it won't allow multiple guests from creating new sessions from the same IP? right?

Paul 12-22-2002 05:25 PM

Quote:

Originally posted by BlackDeath
i have a few people that like to run this script that registers hundreds of sessions on the forums. they aren't posting but it will show like 4,000 guests online. eventually it will crash the server. (i enabled load limiting options to prevent this) but the only way to stop it is to have it when it goes past a certain amt of sessions to deny access and that denies access to everyone.

if i'm reading this right, it won't allow multiple guests from creating new sessions from the same IP? right?

No I'm sorry. This only prevents them from posting once within a set time limit. What you're describing would require a different hack.

BlackDeath 12-23-2002 10:21 AM

Quote:

Originally posted by LoveShack


No I'm sorry. This only prevents them from posting once within a set time limit. What you're describing would require a different hack.

any idea where i can get that or if it exists? i know about 8 different sites that that person is doing this too and they would be eternally grateful for some way to stop it.


All times are GMT. The time now is 04:44 PM.

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.00960 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete