Skip to:
Content

BuddyPress.org

Opened 10 years ago

Last modified 2 years ago

#1475 new enhancement

bp_get_total_unread_messages_count()

Reported by: _DorsVenabili Owned by:
Milestone: Awaiting Contributions Priority: trivial
Severity: trivial Version:
Component: Messages Keywords: good-first-bug
Cc: _DorsVenabili

Description

This function returns the total unread messages of my Inbox, but it could be very useful to count if there is a administrator notice active aswell (the function should count it only if the user has not closed the notice). So, with a variable we could choose if we want to count only the unread messages or the unread messages more the admin's notices.

Change History (6)

#1 @_DorsVenabili
10 years ago

  • Cc _DorsVenabili added

#2 @cnorris23
10 years ago

  • Keywords reporter-feedback added
  • Milestone set to Future Release

Could you explain more what you're looking to do?

#3 @cnorris23
9 years ago

  • Component set to Messaging
  • Keywords messages classes functions removed

#4 @luccame
7 years ago

  • Keywords close added
  • Severity set to trivial

#5 @DJPaul
3 years ago

  • Keywords good-first-bug added; reporter-feedback close removed

#6 @tw2113
2 years ago

Only used in two places.

Inside messages_get_unread_count() and bp_get_total_unread_messages_count()

Note: See TracTickets for help on using tickets.