Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 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
16 years ago

  • Keywords filter forum reorder added

#2 @slaFFik
16 years ago

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

#3 @DJPaul
16 years ago

  • Milestone Awaiting Review → 1.3

#4 @djpaul
16 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.