[buddypress-trac] [BuddyPress Trac] #5522: Make hidden activity visible to buddypress admin in frontend

buddypress-trac noreply at wordpress.org
Tue Apr 8 13:54:32 UTC 2014


#5522: Make hidden activity visible to buddypress admin in frontend
--------------------------+-----------------------------
 Reporter:  lenasterg     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Activity      |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi.
 Same issue with ticket #5428 but also for buddypress administrator.
 Currently the buddypress administrator can't see in the activity page,
 activities marked as private ex.from private or hidden groups.
 I have a suggestion for that, but I'm not sure if it is OK (thats why I
 don't attach it as file).
 Is the approach to add the following into bp_activity_classes.php line
 317, correct or will it cause other problems?
 {{{
  if ( bp_current_user_can( 'bp_moderate' ) ) {
             $show_hidden = true ;
         }
 }}}

 Thanks in advance
 Lena

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5522>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list