Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 13 years ago

#2650 closed defect (bug) (wontfix)

[patch] 'exclude' and 'include' parameters for bp_has_forum_topics()

Reported by: boonebgorges Owned by:
Priority: normal Milestone:
Component: Forums Version:
Severity: normal Keywords:
Cc:

Description

The trunk has a non-working implementation of 'exclude' in bp_forums_get_forum_topics(). This patch fixes that implementation and also allows an exclude parameter in bp_has_forum_topics().

The patch also adds an include parameter for bp_has_forum_topics and bp_forums_get_forum_topics().

The forum queries are kind of complicated, so I'd be grateful if others could test this, especially if you're using custom forum loops.

Attachments (1)

2650.patch (6.7 KB ) - added by boonebgorges 16 years ago.

Download all attachments as: .zip

Change History (4)

@boonebgorges
16 years ago

#1 @boonebgorges
16 years ago

  • Milestone 1.31.4

This is proving overly difficult with BB_Query. Punting.

#2 @DJPaul
15 years ago

  • Milestone 1.6Future Release
  • Severitynormal

Punting with the assumption bbPress 2.0 will make our life easier.

#3 @DJPaul
13 years ago

  • Keywords has-patch needs-testing removed
  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

Closing now that bbPress 2.0 has made our life easier. :)

Note: See TracTickets for help on using tickets.