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)
-   -   Anon Floodcheck - prevent guest spamming (https://vborg.vbsupport.ru/showthread.php?t=35618)

Overgrow 03-01-2002 10:00 PM

Anon Floodcheck - prevent guest spamming
 
Disclaimer:

-No support is offered for this hack. If you PM or email for support, it will be joyfully ignored. When I have time, I will answer questions in this thread.

Anon Floodcheck

The normal floodcheck is great for preventing repeat and junk posts. But if you allow guest posting in some forums you can have users that will post under a variety of guest names all the time. In an effort to reduce the amount of guest trash posting under numerous names, I put in an anonymous post floodcheck option.

This will allow you to say "as a guest, you may only post once every 10 minutes, or once every hour, or once every day." If they attempt to post more often, they will get an error screen that encourages them to register to bypass this check.


Design Spec:

Prevent guests from posting more than once every so often.


Steps for installation:

-add one setting via 'admin/setting.php'
-add one template 'error_anonfloodcheck'
-edit two files 'newthread.php' 'newreply.php'
-upload the two files


Tested: 2.2.1

Jadelit 03-02-2002 07:18 PM

Great Idea.. Thanks overgrow..

Overgrow 03-02-2002 07:20 PM

I've been using this hack since 1.1, works great :D

Overgrow 03-02-2002 07:25 PM

The query it adds is not the fastest on really large post tables (> 500k posts) but it's better than adding another index since it only adds this query when a guest posts.. and the effect is worth it.


All times are GMT. The time now is 03:41 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.01945 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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