-
shanebp replied to the topic Probleme using BP core functions in the forum Creating & Extending 10 years, 7 months ago
You’re probably calling the BP function before BP has loaded.
Read this: https://codex.buddypress.org/plugindev/checking-buddypress-is-active/There may be additional problems with your code including the issue raised by @henrywright
-
Henry Wright replied to the topic Probleme using BP core functions in the forum Creating & Extending 10 years, 7 months ago
Hi @mika89
You should be able to use
friends_get_friend_count_for_user()
in your plugin. Are you sure you have BP activated? Are you sure you have the Friends component enabled? -
bp-help replied to the topic Custom Activity loop in the forum Installing BuddyPress 10 years, 7 months ago
@mika89
Please review:
You will need to copy the buddypress folder from your-sitewp-contentpluginsbuddypressbp-templatesbp-legacybuddypress
Place this in the root of your child theme. Then simply navigate to activityactivity-loop.php in that same…[Read more]
@mika89
Active 9 years, 11 months ago