Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3024 closed enhancement (fixed)

Filter forum posts before output them

Reported by: slaFFik Owned by: djpaul
Priority: normal Milestone: 1.5
Component: Forums Version: 1.5
Severity: Keywords: filter, forum, reorder
Cc:

Description

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

Change History (4)

#1 @slaFFik
15 years ago

  • Keywords filter forum reorder added

#2 @slaFFik
15 years ago

  • Owner changed from slaFFik to djpaul
  • Status newassigned

#3 @DJPaul
15 years ago

  • Milestone Awaiting Review1.3

#4 @djpaul
15 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [3916]) Add filter to bp_forums_get_post_extras. Fixes #3024, props slaFFik

Note: See TracTickets for help on using tickets.