Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_friend_total_for_member gone?


  • smuda
    Participant

    @smuda

    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)
  • Probably renamed into something else. It’s missing out the backwards compatibility plugin, so I’ve pinged the author — good catch.

    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

    @smuda

    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.


    Mike Pratt
    Participant

    @mikepratt

    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?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

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


    mkels
    Participant

    @mkels

    <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