Search Results for 'buddypress'
-
Search Results
-
Hi all,
I’m attempting to have nav tabs in the standard buddybar that displays the feed/loop for Favorites and Mentions, as seen in the pic on this page:
1. I’ve managed to duplicate the activity loop on a tab with the code below, but the CSS is wrong. I’ve fiddled with the code a little as it was originally setup for blog posts and i think this is the reason the CSS i’ve written for activity loop isn’t being called. Is the hook my_profile_post() where the issue lies?
2. I’m fine with setting up the navs and subnavs as desired, but I’m still being unsuccessful in loading a user favorites and user mentions feed/loop (want to duplicate what is shown on the subnav tabs under the default activity tab). Looked through the Buddypress code files and found and tried various things but none have worked. Any help/directions?
(Code below thanks to Dan and Henry here: https://buddypress.org/support/topic/calling-a-post-authors-activity-stream/)
function bpfr_post_profile_setup_nav() { global $bp; $parent_slug = 'test'; $child_slug = 'posts_sub'; //Add nav item bp_core_new_nav_item( array( 'name' => __( 'TEST' ), 'slug' => $parent_slug, 'screen_function' => 'bpfr_profile_post_screen', 'position' => 100, 'default_subnav_slug' => $child_slug ) ); //Add subnav item bp_core_new_subnav_item( array( 'name' => __( 'SUBTEST' ), 'slug' => $child_slug, 'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 'parent_slug' => $parent_slug, 'screen_function' => 'bpfr_profile_post_screen' ) ); } function bpfr_profile_post_screen() { add_action( 'bp_template_content', 'bpfr_profile_post_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function bpfr_profile_post_screen_content() { do_action( my_profile_post); } add_action( 'bp_setup_nav', 'bpfr_post_profile_setup_nav' ); function bpfr_get_stuff() { $activity_id = bp_activity_get_activity_id( array( 'user_id' => bp_loggedin_user_id(), //'component' => $bp->activity->id, //'item_id' => get_current_activity_id(), //'type' => 'activity_comment', //'secondary_item_id' => $post->ID, //'type' => $activity_post_object->action_id, ) ); if ( ! $activity_id ) { return ''; } // this is the activity loop, with some options. if ( bp_has_activities( $activity_id . '&action=activity_update&max=5' ) ) : while ( bp_activities() ) : bp_the_activity(); bp_get_template_part( 'activity/entry'); endwhile; endif; } add_action ( 'my_profile_post', 'bpfr_get_stuff' );bp 2.2.3.1
wp 4.1.2
Website is being created locally, not online.I created a widget to display posts by a buddypress member when on their profile. The latest update has broken it though and I’m guessing it’s something to do with how I’m getting the displayed member.
Has this changed? The code I’m using is:
global $authordata, $post; $related_posts = get_posts( array( 'author' => $authordata->ID, // 'author' => bp_displayed_user_id(), 'posts_per_page' => 10, 'post_type' => 'my_story', 'post__not_in' => array( $post->ID ), 'order'=> 'ASC', 'orderby' => 'title', 'exclude' => get_the_ID() ) );Topic: Buddy Press – Blank Pages
Hello there,
I am writing as since wordpress updated last night apparently our groups and members in buddy press disappeared. As you imagine this is a quiet serious matter, and after having deactivated all the other plugins still all the Buddypress pages is blank.
The theme we are using includes buddypress support, so I was quite disappointed with that!I contacted the theme already, but if anyone has had the same experience I’d love some more help.
Theme here:
http://themeforest.net/item/lms-responsive-learning-management-system/7867581Hello,
is anyone know how can i have a popup registration form that can be called with a button in homepage? (Popup form / ajax ). is there a free plugin for this?
Also is that you can put the buddypress registration form on a wordpress page with content such as articles, images, video?
Thanks for your help,Sincerely,
Hi !
I’m looking for a widget or code which can do the same thing as the Buddypress community stats plugin, displaying stats like in this right sidebar :

The problem is that I’m running Buddypress on a multisite and this one is not working.Thank you !
I have a current WordPress site that I am trying to build that already has content and plugins. I tried to install BuddyPress but it conflicts. Does BuddyPress require its own independent WP site? If so, should I create a subdomain site? That would be a subdomain to my add-on domain. LOL Thanks in advance!
Current site is an add-on domain. Until adding BuddyPress, going good.
Primary is WebSellersLunchClub.com, DW not WP. No subdomains.
Current Site has several plugins including Web 2.0 Directory.
Theme: Twenty Eleven – Child
WordPress 4.1.2
BuddyPress 2.2.3.1
Website: http://www.onlinesellerslunchclub.comHi,
The activation link just took me to the homepage. Ideally it would auto log you in and take you to the activity or profile page. Is this possible?
If not I would be happy to simply have a message on the homepage saying, “Your account is now activated. Please login here”. Does anyone know how this would be implemented?
Have searched but not found anything of use. Thanks
Wordpress v4.1.2, Buddypress v2.2.1
Hi,
Yesterday I wanted to update my buddypress plugin and today I cannot op my admin site sta or anything else in my dashboard, please advise how to reset:
Fatal error: Call to undefined function usc_url() in /var/www/youareagoddesstoo.com/public_html/wp-content/plugins/buddypress/bp-core/admin/bp-core-functions.php on line 323
BR
AnjaTopic: Activate bbPress?
My site is http://www.testsitetuan.com/, using Evole theme, for testing WP function,
but in the Dashboard of the back-end of my site is always appear this sentence: “Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: Comunity. Repair”.
I don’t know how to repair.
What should I do?
Thank you.
WWTuan from Tokyo.