Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 6 years ago

#2456 closed defect (bug) (worksforme)

bbp_check_for_flood() blocking all replies

Reported by: mordauk's profile mordauk Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: General - Content Creation Keywords: reporter-feedback
Cc: pippin@…

Description

Running latest trunk and am seeing a problem where bbp_check_for_flood() is returning false (meaning the user is flooding) on every single reply, even if replying as an admin or a new user that has never posted anything.

http://screencloud.net/v/wKv7

Change History (10)

#1 @mordauk
11 years ago

The problem appears to be with the $author_id parameter. It is getting passed as 0 even for logged-in users.

#2 @mordauk
11 years ago

Alright now I'm just confused. I've traced this all the way back to the main $current_user property of bbPress(), which is also empty.

#3 @mordauk
11 years ago

  • Cc pippin@… added

#4 @netweb
11 years ago

Trying to wrap my head around this and not doing a very good job of it though I am NOT seeing any flooding messages here, I'll go test some more...

Possibly related #2393

#5 @johnjamesjacoby
11 years ago

  • Component changed from General to Content Creation
  • Keywords reporter-feedback added
  • Priority changed from omg sweet tea to normal

Not seeing this. bbPress.org is running latest trunk. Possible plugin conflict or core modifications?

#6 @mordauk
11 years ago

I tested on a fresh install with no other plugins and only default themes.

#7 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.6

Still not seeing this. Does it need to be a new installation? The only way $cureent_user would be empty is if the actual $current_user global we're also empty, or if bbp_check_for_flood() was being called out of order.

#8 @mordauk
11 years ago

I've never replicated again so am going to chalk it up to some bizarre occurrence. Recommending close as invalid.

#9 @johnjamesjacoby
11 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Thanks. Closing for now. Please reopen if needed.

#10 @johnjamesjacoby
6 years ago

Assigning all closed & unassigned tickets in the 2.6 milestone to myself.

Note: See TracTickets for help on using tickets.