Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_friend_total_for_member gone?

  • @smuda

    Participant

    hey everyone,

    i’ve used <?php bp_friend_total_for_member() ?> to display the total number of friends a user has on his profile since forever. i just upgraded to 1.2 (RC) and the function spits out the following error:

    <b>Fatal error</b>: Call to undefined function bp_get_friend_total_for_member() in <b>/home/poolie/plazaa.de/wp-content/themes/plazaabp/members/single/member-header.php</b> on line <b>15</b><br>

    does anyone know why? is the function gone?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @djpaul

    Keymaster

    Probably renamed into something else. It’s missing out the backwards compatibility plugin, so I’ve pinged the author — good catch.

    @djpaul

    Keymaster

    Just found out the new way.

    If you’re using BP 1.2-rc or trunk, change that function call to friends_get_total_friend_count() or wait for jjj to update the backwards compatibility plugin.

    @smuda

    Participant

    hey djpaul, thanks for your quick reply.

    hmm, friends_get_total_friend_count() returns nothing. weird.

    i guess i have to wait for the plugin.

    @mikepratt

    Participant

    why wait for the plugin when all you have to do is browse the buddypress template tag files in each folder for the functons you are looking for?

    @johnjamesjacoby

    Keymaster

    Just tagged version 0.5.3 of the BuddyPress Backwards Compatibility plugin to fix this.

    @mkels

    Participant

    <b>Fatal error</b>: Call to undefined function bp_get_friend_total_for_member() in <b>/home/poolie/plazaa.de/wp-content/themes/plazaabp/members/single/member-header.php</b> on line <b>15</b>

    also found out this error.

    i see its on fix road already

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘bp_friend_total_for_member gone?’ is closed to new replies.
Skip to toolbar