Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,976 through 20,000 (of 94,567 total)
  • Author
    Search Results
  • #238223
    danbp
    Participant

    you have to add a scope in bp_get_stuff function.

    if ( bp_has_activities( $activity_id . '&scope=favorites,mentions&max=5' ) ) :

    Thought you have to uncomment some of array values too. (component and item_id)

    Reference: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

    @mcuk
    Participant

    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:

    Activity dropdown filters in templates

    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.

    #238215
    danbp
    Participant
    phos flip
    Participant

    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()
    ) );
    #238213
    fab_pj
    Participant

    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/7867581

    #238205
    Rajo
    Participant

    Hello,

    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,

    #238204
    MedianP
    Participant

    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 :

    http://static.themeshaker.com/uploads/271/images/single/buddy-buddypress-wordpress-theme.jpg
    The problem is that I’m running Buddypress on a multisite and this one is not working.

    Thank you !

    caniwigirl
    Participant

    Last year, @bp-help posted a useful bit of code that prevents non-logged in users from accessing BuddyPress pages… an I believe extended these to forums.

    Unfortunately during all the updates since I got it going a couple weeks ago… this solution no longer seems to work. Any ideas?

    Here is the original code from that post… it goes inside functions.php

    /* Prevent logged out users from accessing bp activity page */
    function nonreg_visitor_redirect() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_group_forum() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    if(!is_user_logged_in()) { //just a visitor and not logged in
    wp_redirect( get_option('siteurl') . '/wp-login.php' );
    }
    }
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    darkwoof
    Participant

    Hi,

    I noticed that on my BuddyPress site, if a logged-out user views the site from a desktop browser, there is a “Register” and “Login” link displayed on the toolbar.

    However, on a mobile phone, there is only a plain black bar when viewed in portrait mode, and only the WordPress icon on the left if viewed in Landscape mode. The links are missing from the toolbar.

    This is regardless of the theme used.

    How may I get the links to show up on the mobile browser?

    Thanks.

    winnergirl
    Participant

    Wow, thanks so much for the fast reply. I activated BuddyPress and set it up, but the BP pages are messed up versions of my other site pages. I will go back through it all again and try to see where I went wrong. Again, thanks for the reply, I really do appreciate it. Also, I do not want the BP pages on my main menu. I will have to work on that, too.

    #238181
    Henry Wright
    Moderator
    Henry Wright
    Moderator

    Hi @winnergirl

    Does BuddyPress require its own independent WP site?

    No. BuddyPress works just like any other plugin you might install on your WordPress website. You should just be able to click ‘activate’.

    winnergirl
    Participant

    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.com

    #238176
    shanebp
    Moderator

    @i-am-anja – I apologize for the fact that you weren’t provided good info on how to access your dashboard.

    You will need to use FTP or if your host provides a File Manager ( maybe thru cpanel ).
    Then navigate to [your site]/wp-content/plugins/buddypress and either delete the buddypress folder or rename to something else, for example ‘buddypressX’.
    Doing so means BP will not be loaded and you should be able to access your dashboard.

    zeesh49
    Participant

    @quaelibet and @danbp can you provide details of how you setup a vhost? I googled and have been able to setup a vhost but it only access the xampp page and not the wordpress page.

    My host file contains the following:
    127.0.0.1 buddypress.local
    ::1 buddypress.local

    My httpd-vhosts.conf file contains the following:
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    #DocumentRoot c:/vhosts/buddypress.local
    ServerName buddypress.local
    </VirtualHost>

    when i run the URL: http://buddypress.local, it resolves to http://buddypress.local/xampp/ page
    but when I run the URL http://buddypress.local/wp (my wordpress folder name is ‘WP’) it says page cannot be displayed. this is in internet explorer.

    kindly help.

    #238162
    Henry Wright
    Moderator

    I assume this is what is being used? If so I can just add this password hint but what file do I need to edit?

    You shouldn’t edit core files because when you update BuddyPress your changes will be lost. It’s better if you track down the root cause of the problem and try to fix it.

    #238157
    leanneoleary
    Participant

    I am using Cinematix (http://themeforest.net/item/cinematix-buddypress-theme/4959387) and haven’t customised it in any way.

    I have found the default HINT for wordpress is the following:

    <?php _e(‘Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! ” ? $ % ^ & ).’); ?>

    I assume this is what is being used? If so I can just add this password hint but what file do I need to edit?

    Many thanks for your help.

    #238153

    We’ve released 2.2.3.1 to address this.

    It should appear in your dashboard shortly.

    If the error is preventing you from accessing the dashboard, delete wp-content/plugins/buddypress completely, and try again.

    #238144
    I am Anja
    Participant

    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
    Anja

    #238143

    In reply to: Activate bbPress?

    Henry Wright
    Moderator

    Hi @wwtuan

    Do you have the exact same page (Comunity) assigned to more than one component at Settings > BuddyPress > Pages?

    #238142

    Topic: Activate bbPress?

    in group forum Requests & Feedback
    wwtuan
    Participant

    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.

    #238140
    caniwigirl
    Participant

    With further testing I have resolved that HIDDEN FORUMS will show for Moderators and Keymasters (as per bbPress documentation).

    HIDDEN GROUPS not showing for anyone (keymasters, moderators of group members) in BuddyPress under ‘All Groups’ or ‘My Groups’ tabs. Only Public and Private groups show. The count of groups indicates the appropriate numbers however…

    caniwigirl
    Participant

    I am running the current versions of everything as of today’s date… BuddyPress 2.2.3, bbPress 2.5.7 on WordPress 4.1.1

    The problem I am having is that, for the most part, I only want either Public or Hidden groups with their associated forums.

    The directory listing only displays the public groups and the forums only display the public forums.

    As a Site Admin and Keymaster, I can’t even see the hidden groups (although the count increases to show the additional number of hidden groups). In fact, none of the hidden groups show under the ‘My Groups’ tab for me or any user who is a member of a particular hidden group (although the count indicates that they area member of this non-visible group that they can’t get access to). I can see the forums, however.

    Essentially, the Hidden function appears to not be working for groups and forums as neither admins nor members of them can gain access without being provided with the URL.

    #238138

    In reply to: Add Friend Button

    novanotion
    Participant

    I upgraded to BuddyPress 2.2.3. I changed to Twenty Fourteen theme and it still does the same thing. Even when I change the view from All Members to My Members all the buttons still say Add Friend

Viewing 25 results - 19,976 through 20,000 (of 94,567 total)
Skip to toolbar