Previous Thread
Next Thread
Print Thread
Hop To
#178147 02/10/2007 8:56 AM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
I have the flood check set to 180 but new users are still able to register and send messages every 20 seconds or so.

Conrad #178278 02/12/2007 1:43 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Guys, is the flood check working for anyone?

Conrad #178279 02/12/2007 1:53 PM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Three minutes seems like quite a long time. Mine is set for 10 seconds, but can't really test it myself since it doesn't pertain to Admins/Mods... I'm wondering what values others use?


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
jgeoff #178280 02/12/2007 2:06 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The flood control is only for posting topics/replies. I've got it set to 30 seconds on my devel board and it's working ok. It doesn't throttle registrations or private messages however.

Rick #178293 02/12/2007 4:58 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
I have it set to 180 but some spammer registered and I think he replied in like 30 topics in under 15 mins.

Unfortunately I erased this guy and his posts from within the CP, but I'll try to make a 'print screen' the next time something like this happens.

P.S. Is the edit feature fully safe now? Before even with an edit time limit of 5 mins users could edit their messages indefinitely as long as they simply opened the edit page within those 5 minutes...

Conrad #178307 02/12/2007 7:42 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
I use 5 minutes for the floodcheck, and 30 minutes for the edit post timer; both seem to work well


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #178330 02/13/2007 1:42 AM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Originally Posted by Gizmo
I use 5 minutes for the floodcheck

FIVE MINUTES?? Between posts???

Mine's like 10 SECONDS and I never had a problem.

Dag...! Good thing you're an Admin/Mod then, to spam at will... cuz to me that's a REALLY LONG time for everyone else!!!



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
jgeoff #178335 02/13/2007 2:22 AM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
lol, well it varies the forum; i have several communities... my main is 30 seconds, and another forum is 5 minutes wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #178357 02/13/2007 7:08 AM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Guys, I think I know where the bug is:

All new registrations have the flood check set to 0, which basically means that the flood check is automatically switched off for each user upon registration (the setting needs to be blank in order for the global setting to take effect).

Is this fixed in 7.1?

Conrad #178362 02/13/2007 12:38 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, it's supposed to have a default value of -1 for the field. I'll alter the adduser script to make sure that it sets new registrations to -1 for 7.1

Rick #178374 02/13/2007 2:57 PM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

The flood check assigned to new registrations on my 7.0 board isn't overridden (the field is blank)...

"If blank, the global config setting will be used."

That's ideal. What's a setting of -1 do? confused


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
jgeoff #178379 02/13/2007 3:41 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
-1 will make it so it uses the default set in the control panel. Any value of 0 an up means that it's specific to that user, in which case 0 would be no flood check.

Rick #178382 02/13/2007 4:14 PM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

So a blank value and -1 do the say thing... I suppose the CP wording would need to be changed if both are valid values...

"If blank or -1, the global config setting will be used."


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
jgeoff #178389 02/13/2007 5:19 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
hmm, no a blank value would be treated as 0 as well.

Rick #178390 02/13/2007 5:28 PM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Doh!

Guess I just didn't notice since mine's set to only 10 secs anyway... wink

Okay, so guess this needs to be changed anyway:

"If set to -1, the global config setting will be used." wink



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
jgeoff #178490 02/15/2007 7:52 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Thanks guys, case closed. Would never have noticed this if not for the frequent spammer visits that I get with someone dumping 30 cut&paste posts in a matter of minutes... wink

Conrad #178621 02/17/2007 4:28 PM
Joined: Apr 2006
Posts: 144
Member
Member
Joined: Apr 2006
Posts: 144
Rick, is there a database command that can be run to reset all those members who have the setting of 0 back to -1? And is this change getting into 7.1 final?

Thanks


Stress the system until it breaks. Hey.. it works for Spacecraft.. why not here?

UBB since 1999: MonteCarloSS.com
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
This should work:
Code
UPDATE `forums_USER_PROFILE` SET `USER_FLOOD_CONTROL_OVERRIDE` = '-1' WHERE `forums_USER_PROFILE`.`USER_FLOOD_CONTROL_OVERRIDE` = '';

All of mine are set to NULL though

I think you should just be able to:
Code
UPDATE `forums_USER_PROFILE` SET `USER_FLOOD_CONTROL_OVERRIDE` = '-1';


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #179413 02/24/2007 10:28 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Hmmm...

I typed in "UPDATE `forums_USER_PROFILE` SET `USER_FLOOD_CONTROL_OVERRIDE` = '-1';" and it came back with some sort of message that 13,000 rows were affected by the query.

But when I check out any user the field is still blank. What's even more strange is that when I try the query again it tells me that 0 rows were affected.

Does this mean that all users have the -1 setting even though it doesn't show up in the CP? And are moderators still "immune" to the flood-check?

Conrad #179414 02/24/2007 10:44 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
Mods and Admins should always be immune.

As for the cp not displaying, i'm not sure, it may just show blank when you look at it, but the blank should actually be a -1.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #179417 02/24/2007 10:57 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Just logged in as a test user and had no trouble posting twice in a matter of seconds, bypassing the flood check. frown

What would be the query to blank out that setting for all users? Just ending the query with... = '-1';" as opposed to = '-1';" ?

Gizmo #179421 02/24/2007 11:20 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
This would be for users which don't have a setting (which is none, since you ran it before):
Code
UPDATE `forums_USER_PROFILE` SET `USER_FLOOD_CONTROL_OVERRIDE` = '-1' WHERE `forums_USER_PROFILE`.`USER_FLOOD_CONTROL_OVERRIDE` = '';

This would be for ALL users, regardless of if it's set or not:
Code
UPDATE `forums_USER_PROFILE` SET `USER_FLOOD_CONTROL_OVERRIDE` = '-1';

If you want the field to be blank, just update '-1' to ''.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #179423 02/24/2007 11:24 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Sorry, I meant to say: = '(nothing between the quotes)';" as opposed to = '-1';"

I guess I now have it set to -1 because when I ran that query again earlier for a second time it wouldn't change any rows, even though in the CP users still show up with a blank setting.

So how can I blank out the setting now? Is it safe to run a query with just '' to wipe out whatever setting I created?

Conrad #179426 02/24/2007 11:29 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
Yes it'd be safe to run the query.

I'm finding on my forums that i hvae some users who are '-1' and some who are ''; i'm thinking that When created they are created with '' and when they update their profile for the first time, it's changed to '-1'... I have nothing to back this, but it makes sense why one or two "new" users are '-1' whereas 20 other new users are ''...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #179427 02/24/2007 11:29 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
I'm curious what the proper setting is :glances at rick:


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #179440 02/25/2007 12:00 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Well I'm curious what's going on, cause I...:

- ran the query to change the setting to "-1" for all users
- checked up on random users in the admin CP only to see that the setting was still blank for each of them
- ran the query again only to see that no rows were affected (so seemingly all were changed to -1 even though the admin CP... still showed them as blank?)
- logged in using a regular (non-admin, non-mod) account only to post two posts in 15 seconds, bypassing the admin setting of 180


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Forum Privacy Policy
by ECNet - 02/26/2024 11:58 AM
Who's Online Now
2 members (Geoff, domspeak), 353 guests, and 190 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)