Skip to:
Content

bbPress.org

Opened 4 months ago

Closed 3 months ago

#3388 closed defect (worksforme)

"Last posted" is not set

Reported by: peterkueger Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Cc:

Description

I can't figure out the last posting time, it's never stored to my database with "_bbp_last_posted".

For "keymaster" and "moderator" roles, the user capability "throttle" is set to "true" in bbpress/includes/core/capabilities.php, line 46 / 92. Because of this, bbp_update_user_last_posted will not be called for new topics and replies, since the calling is checked with "! current_user_can( 'throttle' )".

For all other users "_bbp_last_posted" will not be stored into my database, but I don't know why.

Change History (1)

#1 @peterkueger
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

In the current 2.6 branch, this problem does not longer exists and "current_user_can( 'throttle' )" is removed.

I can't find "_bbp_last_posted" in my database, since "update_user_option" will not be called as "global", so it's stored inside the database as "wpbbp_last_posted".

Now I try to close this ticket, but I'm not sure, if I do this well... (please excuse me, if not)

Note: See TracTickets for help on using tickets.