Category : buddypress

I have a wordpress site, with buddypress and Youzify plugins running. I need to put the Activity Stream as it is on the page designated for that, and put inside another page. I’ve tried to include the plugin template, but it won´t work. Because a lot of functions of the template return UNDEFINED add_shortcode( ‘activity_stream’, ..

Read more

I am trying to acomplish this for buddypress. Here is the buddypress code /** * Add advertisement after x activities BuddyPress. */ function buddydev_inject_content_after_n_activities() { static $current_activity_index = 1; // change $n to the correct number of activities. $n = 5; // After how many activities you want to inject content. if ( $current_activity_index % ..

Read more

I have a question about php (wordpress) I have a plugin(buddypress) with function bp_the_profile_field_name(); when i use echo bp_the_profile_field_name(); It’s return "Tags" But.. if (bp_the_profile_field_name() == "Tags"){ echo "Yes, it’s working"; } else { echo "Oh no.."; } ?> its return "Oh no.." When i try equal to string "Tags" dosent’t match. Why? Please help ..

Read more

I spend hours trying to fix my issue, but i don’t know where is the problem, can someone help me, want to create a buddy press tab (not profile tab) so I want to show custom data on it.. Here is example. http://example/members/gift or better http://example.com/gift function gift_tab() { global $bp; bp_core_new_nav_item( array( ‘name’ => ..

Read more