Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#1719 closed defect (bug) (fixed)

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

Reported by: foralien Owned by:
Priority: major Milestone: 1.2
Component: Version:
Severity: 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
17 years ago

  • Keywords friends disabled template added

#2 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

Fixed in trunk.

#3 @windhamdavid
17 years ago

  • Priority minormajor
  • Resolution fixed
  • Status closedreopened

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
17 years ago

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

#5 @apeatling
17 years ago

  • Resolutionfixed
  • Status reopenedclosed

(In [2620]) Fixes #1719

Note: See TracTickets for help on using tickets.