Skip to:

Opened 10 years ago

Closed 10 years ago

#5723 closed defect (bug) (no action required)

bp_notifications_get_unread_notification_count() doesn't work on some pages

Reported by: sgr33n's profile SGr33n Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:



I just want to report a page where the bp_notifications_get_unread_notification_count() functions doesn't really work.

Sorry but I can just explain what I did in order to reproduce.

We are on the notifications page, where there are 4 unread notifications. I made a link to the single activity page, instead of the standard /mentions linked by bp_the_notification_description() ... so:

instead of:

Well, on bp_notifications_get_unread_notification_count() returns 0 (should return 3 in the given example). Anyway on all the other pages returns 3 (4 initial, minus the one I visited).

Thanks :)

Change History (2)

#1 @SGr33n
10 years ago

Sorry, my mistake, I was supposing that the default user_id was the logged in one, but it's the displayed one.

#2 @SGr33n
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.