[buddypress-trac] [BuddyPress] #3024: Filter forum posts before output them

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jan 24 21:51:10 UTC 2011


#3024: Filter forum posts before output them
-------------------------+-----------------------------
 Reporter:  slaFFik      |      Owner:  slaFFik
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Forums       |    Version:  1.3
 Keywords:               |
-------------------------+-----------------------------
 In order to make available such feature as forum posts reordering a quick
 and easy change to bp_forums_get_post_extras() is required. In 1.2.7
 that's the line 513. Change it please from:

 {{{
 return $posts;
 }}}

 to

 {{{
 return apply_filters('bp_forums_get_post_extras', $posts);
 }}}

 I'm using this to make possible threaded replies to forum posts in groups
 forum (I think that's usefull feature! And plugin is ready but needs this
 core change).

 Thank you in advance,
 Slava

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


More information about the buddypress-trac mailing list