Skip to:
Content

Opened 8 years ago

Closed 8 years ago

#3024 closed enhancement (fixed)

Filter forum posts before output them

Reported by: slaFFik Owned by: djpaul
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Forums 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
8 years ago

  • Keywords filter forum reorder added

#2 @slaFFik
8 years ago

  • Owner changed from slaFFik to djpaul
  • Status changed from new to assigned

#3 @DJPaul
8 years ago

  • Milestone changed from Awaiting Review to 1.3

#4 @djpaul
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.