[buddypress-trac] [BuddyPress] #1471: New info zone with Notifications and invitations

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Dec 17 15:57:21 UTC 2009


#1471: New info zone with Notifications and invitations
--------------------------------------------------------+-------------------
Reporter:  _DorsVenabili                                |       Owner:                
    Type:  enhancement                                  |      Status:  new           
Priority:  minor                                        |   Milestone:  Future Release
Keywords:  functions notifications invitations profile  |  
--------------------------------------------------------+-------------------
 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:


 {{{
 <?php
 ...
 $user_id = $bp->displayed_user->id;
 $logged_user_id = $current_user->id;

 if($user_id == $logged_user_id)
 {
 new_notifications();
 new_invitations();
 }
 ?>
 ...
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1471>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list