Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#1719 closed defect (bug) (fixed)

Functions related to friends output broke template output when Friends' module is disabled

Reported by: foralien's profile foralien Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: friends, disabled, template
Cc:

Description

The function bp_get_total_friend_count() spreaded over template's files of new default theme (BP 1.2-beta), ex. in activity/index, to check if a user has friends leads to "call undefined function" when friend's module is disabled...
Need if-function-exists check or something like this.

Related Forum topic
http://buddypress.org/forums/topic/problem-with-friend-related-functions-when-friends-module-disabled

P.S. Sorry, if something wrong with this ticket - I'm quite new to trac and to bug reporting in general.

Change History (5)

#1 @foralien
14 years ago

  • Keywords friends disabled template added

#2 @apeatling
14 years ago

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

Fixed in trunk.

#3 @windhamdavid
14 years ago

  • Priority changed from minor to major
  • Resolution fixed deleted
  • Status changed from closed to reopened

duplicating the error in trunk ~

bp_get_total_friend_count()
#211 core/bp-friends/bp-friends-templatetags.php still in activity/, groups/, and members/

#4 @windhamdavid
14 years ago

line number 211 sorry ticket 211 has nothing to do with it, that i know of

#5 @apeatling
14 years ago

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

(In [2620]) Fixes #1719

Note: See TracTickets for help on using tickets.