![]() |
Thread creation rate-limiting hack
Well, my forum was being spammed by a lot of idiots who felt the need to create a large amount of threads, and generally disrupt the flow of our bb.
I knew I could rate limit their posts, but it wasn't so much the posts that bothered me (they were easily pruned), but the irritation of seeing all those new threads until a mod could delete them all. I decided to rate-limit it so users could only create a certain number of threads per hour. Drop me a line if you find this useful or have an problems! -Kyle |
please enter the installation into a txt file and attach it to your post instead of posting the instructions.
that way pirates can't use your hack thx |
all set!
|
Cool hack, but im confused;
Is this a limit for a user, or for all users? |
This applies to all users, except for moderators.
What happens is, these kids register accounts, get validated, wait a little while, then post up a bunch of crap (sometimes several people at a time). We IP ban and ban accounts, but they are using proxies and yahoo accounts, so as you can imagine, its a bit hard to prevent. Our board doesn't allow guest posting, and for all we know, any user could potentially could be a "spammer", so I've been forced to limit everyone.. |
Cool;
Hehe, this hack is a neat little way to prevent things like that - Thanks |
Sounds like a practical hack. Good idea buddy :)!
- miSt |
Quote:
|
Quote:
Guest can view this forum so they can check out what hacks are out there before they buy vBulletin, so if everyone puts their hacks into .txt/.zip attachments then no one has to worry. |
/me licks install!!
|
eww! :laugh:
|
Posted a small change which would fix a stupid bug on my part, it just changes the one line.
PHP Code:
|
Excellent idea. Is there a way to add a setting that you can change in the Admin CP? ;)
|
I suppose there is :)
I'll look into how everyone else did it, I took the easy way out because I didn't feel like touching the database at all (aside from adding the template), but I'll see what I can do. |
Here you go Boofo. To work with admin options simply go to forums/admin/setting.php then add a setting to the relevant group - it generates a qury and it allows you to work with a variable which is an option when creating the setting ;)
Then this variable with its value (e.g. 5) can be used throughout every php page which includes global.php :) |
Thanks, Mist. ;)
|
Your Welcome Boofo ;)
_ miSt |
Can this hack be made some people can only post some many times ina CERTAIN forum? as opposed to the entire forum? and have the time extened to say a person can only post twice in 24 hours (from their first post) in Forum A - but can post all they want as often as they want in Forum B?
|
This hack is now obsolete, please check out the new improved version of this hack @ https://vborg.vbsupport.ru/showthrea...threadid=54596
-Kyle |
All times are GMT. The time now is 04:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|