Skip to:

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#1471 closed enhancement (no action required)


Reported by: _dorsvenabili's profile _DorsVenabili Owned by:
Milestone: Priority: minor
Severity: normal Version:
Component: Core Keywords: needs-feedback
Cc: _DorsVenabili


I think could be very useful if there are a info zone with all the new notifications and invitations, where the user only have to have a look and to accept or refuse those requests. For example, it could be good to see a info area in your profile page showing you a link to your all notifications and invitations page in case you have.

For the moment, I have done two functions to show separately the notifications and the invitations in the area that you can see in the attached image.

I have written the following code in index.php of the profile folder:

$user_id = $bp->displayed_user->id;
$logged_user_id = $current_user->id;

if($user_id == $logged_user_id)

Attachments (2)

two_functions.txt (3.7 KB) - added by _DorsVenabili 14 years ago.
Screen shot-BP.jpg (96.5 KB) - added by _DorsVenabili 14 years ago.

Download all attachments as: .zip

Change History (8)

#1 @_DorsVenabili
14 years ago

  • Cc _DorsVenabili added

#2 @_DorsVenabili
14 years ago

  • Summary changed from New info zone with Notifications and invitations to bp_core_get_notifications_for_user()

By the way, I forgot to say that the new function, new_notifications(), not only will show the standar notifications, it will add to the list some more cases that the standar notificaction did not show. like when a group accept your membership request, for example and some more.

I think, it could be interesting to add those cases to the function bp_core_get_notifications_for_user().

#3 @cnorris23
13 years ago

  • Component set to Core
  • Keywords needs-feedback added; functions notifications invitations profile removed

#4 @DJPaul
13 years ago

  • Milestone changed from Future Release to Awaiting Review

#5 @DJPaul
13 years ago

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

I know this is an old ticket, but the buddybar/admin bar takes care of this. I want to look at notifications in 1.4, to see if there's anything else we should do.

#6 @johnjamesjacoby
13 years ago

  • Milestone Awaiting Review deleted
  • Severity set to normal

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.