Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 15 years ago

#375 closed enhancement (no action required)

Added Functionality, by adding $forum_id = null for BP_Forums_Template_Forum construct

Reported by: fishbowl81's profile fishbowl81 Owned by:
Milestone: 1.1 Priority: trivial
Severity: Version:
Component: Keywords: forum, general forum, construct
Cc:

Description

I'm working on a general forums component, and found that I can reuse more of the current bp-forums code by reinitializing bbpress_live to a second bbpress install location. I'm trying to reuse as much of the forum code as possible, to allow for easier translation and upgrades down the road. I came across the construct for BP_Forums_Template_Forum, which accepts 2 arguments, 1 being a forum_id, and the topics per page count. I tested and found that by passing in a null forum_id it returns the most recent topics, so I can produce the same functionality as seen on a normal bbpress install.

If we can have = null added to the construct, it would make this class more multifunction, and will help other people who may be working on a general forum using the built in functionality.

Thanks,
Brad

Change History (6)

#1 @windhamdavid
15 years ago

i second this.

#2 @(none)
15 years ago

  • Milestone Forums 1.1 deleted

Milestone Forums 1.1 deleted

#3 @DJPaul
15 years ago

  • Milestone set to 1.1
  • Resolution set to fixed
  • Status changed from new to closed

This may not be applicable now as the Forums in BP 1.1/trunk don't use XMLRPC.

#4 @DJPaul
15 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @DJPaul
15 years ago

Didn't mean to close

#6 @apeatling
15 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Invalid now.

Note: See TracTickets for help on using tickets.