Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,426 through 17,450 (of 68,986 total)
  • Author
    Search Results
  • #178597
    DennisBarkerCV
    Participant

    The difference is in the scale and the level of complexity.

    buddypress + WordPress on a single site is relatively simple to setup
    wheras Buddypress+ WordPress Multisite is more complex and requires additional hosting resources

    The functionality difference is on a single site install your users will be posting to a single blog whereas on a multisite instaall each user would have their own blog to post to.

    If you are just seting up the site then my advice would be keep it simple and go for a single site WordPress+Buddypress setup

    I’m a great believer in keeping things simple,and WordPress Multisite creates an additional layer of complexity which you probably do not require in initially.

    #178596
    micahcb
    Participant

    Ok great thank you. I am new to php. Should I put it in the /wordpress/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php or one of the other ones? Does it matter where in the file I put it? Thanks!

    The problem here is the bp_has_message_threads() function itself. It comes with hardcoded checks to override the $box to sentbox or inbox based on the results of bp_is_current_action().

    You could try something this, in lieu of bp_has_message_threads():

    function bp_custom_has_message_threads( $args = '' ) {
    	global $messages_template;
    
    	$r = wp_parse_args( $args, array(
    		'user_id'      => bp_loggedin_user_id(),
    		'box'          => 'inbox',
    		'per_page'     => 10,
    		'max'          => false,
    		'type'         => 'all',
    		'search_terms' => isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : '',
    		'page_arg'     => 'mpage', // See https://buddypress.trac.wordpress.org/ticket/3679
    	) );
    
    	if ( bp_is_current_action( 'notices' ) && !bp_current_user_can( 'bp_moderate' ) ) {
    		bp_core_redirect( bp_displayed_user_domain() );
    	}
    
    	$messages_template = new BP_Messages_Box_Template( $r['user_id'], $r['box'], $r['per_page'], $r['max'], $r['type'], $r['search_terms'], $r['page_arg'] );
    
    	return apply_filters( 'bp_has_message_threads', $messages_template->has_threads(), $messages_template );
    }
    #178577
    DJsix
    Participant

    So nobody can help me with this? I don’t get it.

    The plug-in, “Buddypress Sitewide activity widget” shows ALL activity to EVERYONE (logged in or not), but it is in the sidebar, and I would prefer it be in my activity stream, not the the sidebar.

    Is there a way to get the activity stream to show ALL activity to even the non-members?

    #178576

    In reply to: Activity problem

    alex80ks
    Participant

    Wordpress installed in root directory (Linux server)
    Upgraded from 3.8
    I havent notice when this is started but i think maybe one or two versions before becouse im trying to keep it updated.
    Version of buddypress is latest.
    I use child theme ob bp-default (list of files:style.css,function.php,header.php,page.php and single.php nothing else)
    I have some custom functions two functions can affect maybe. One is for removing query string=version and second is for registering http://code.jquery.com/jquery-1.7.1.min.js script

    #178571
    Ben Hansen
    Participant

    this link might help you understand how the two work together:

    WordPress Blogs

    multisite is just activated by a setting in your wordpress config file it can be done before or after buddypress but if you are starting from scratch id probably do the multisite first, then add any plugins.

    #178567
    shanebp
    Moderator

    Copy it to your theme or child-theme

    See ‘Overloading Template Compatibility theme files’ here:

    Theme Compatibility & Template Files

    #178565
    shanebp
    Moderator

    The easiest path is just to add a conditional to an override of this template:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\edit.php

    The name field is, I believe, always:
    input type="text" name="field_1" id="field_1"

    So in the template, change this:
    if ( 'textbox' == bp_get_the_profile_field_type() )

    to:
    if ( 'textbox' == bp_get_the_profile_field_type() && 'field_1' != bp_get_the_profile_field_input_name() )

    and add an ‘else’ to just show the name value – bp_the_profile_field_edit_value()

    brinkingyellows
    Participant

    @focallocal I saw that your site is running 1.9.2 now. What was it that you did to get the update working?

    I tried to update to 1.9.2 and I am still getting the same result. No content on the User and Group pages. I was hoping that with the 1.9.2 version they may have fixed any sort of little issues that remove the pages of Buddypress altogether.

    #178557

    Root profiles are not deprecated, though we have some planned obsolescence for almost all of our global constants, moving them into functions with filters and/or options.

    Our rewrite rules improvements for BuddyPress 2.0 will ideally enable any component to exist at a root level. At the time that code was written, it solved an immediate problem for us, but going forward this feature should not be exclusive to profiles.

    #178553
    SubstreamAI
    Participant

    Update: As a test I tried the MesoColumn theme which is well rated and supposed to be BuddyPress compatible. It made no difference, I cannot get the 2 pages created.

    shanebp
    Moderator

    In your theme dir, create an over-ride of this file.
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    How to over-ride a BP template

    Theme Compatibility & Template Files

    In the over-ride, remove this code:

    <div class="action">
    	<?php do_action( 'bp_directory_members_actions' ); ?>
    </div>
    #178535
    Ayman
    Participant

    I have never tried to use “BuddyDev bp multinetwork” but as you described your problem it looks like it has something to do with “BuddyDev bp multinetwork” and not BuddyPress it self. To be more specific I think you should recheck your domain mapping settings.

    snowflakesonal
    Participant

    Directly modifying bp_activity_filter_kses() function in bp-activity-filters.php with the following code isn’t helping either: style tag is still getting stripped from the activity stream. Before the last Buddypress upgrade, the same code was working.

    $activity_allowedtags[‘div’] = array();
    $activity_allowedtags[‘div’][‘style’] = array();
    $activity_allowedtags[‘div’][‘style’][‘width’] = array();
    $activity_allowedtags = apply_filters( ‘bp_activity_allowed_tags’, $activity_allowedtags );

    #178523
    alnasirkarim
    Participant

    Why does buddypress blank out my Dashboard?

    #178521
    aquapan
    Participant

    Ok either people can’t answer this question or it is being ignored and I have no idea why.

    I may just have to skip using buddypress on my main network site if this can’t be answered : (

    Disappointed.

    #178516
    modemlooper
    Moderator
    #178508
    Henry Wright
    Moderator

    Hi @josswinn

    Is this ticket related to your problem by any chance?

    https://buddypress.trac.wordpress.org/ticket/4680

    #178500
    Richie KS
    Participant

    recon re-save bp pages settings in wp-admin->settings->buddypress

    #178499
    Richie KS
    Participant

    make sure the path is correct for activity.php in child theme.
    should be themes/twentyfourteen-child/activity/your-file-to-edit-taken-from-bp-default-theme.php
    and add add_theme_support('buddypress'); to child theme functions.php

    #178481
    ewebber
    Participant

    I have now done this by adding:

    if( $post->post_type == 'post' ) {
    
    $activity_action  = sprintf( __( '%1$s added the post, %2$s in the categories %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) );
    
    }

    Into my filter for recording posts and custom post types

    #178476
    Joss Winn
    Participant

    For the record, I’ve narrowed it down to the ‘Activity Streams’ component of BuddyPress. When this is disabled, the problem does not occur.

    #178441

    @alnasirkarim,

    it seems the error is from activity privacy plugin. if you have access, login to your cpanel and rename : buddypress-activity-privacy To buddypress-activity-priv

    that will deactive the plugin and you can take it further from there.

    Naijaping

    #178438
    ewebber
    Participant

    I just did something like this for cpt “business” and “event”, but removed mention of multisite:

    // add custom post type business to the activity stream
    
    add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1,1 );
    function activity_publish_custom_post_types( $post_types ) {
    $post_types[] = 'business';
    $post_types[] = 'event';
    return $post_types;
    }
    
    add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3);
    function record_cpt_activity_action( $activity_action, $post, $post_permalink ) {
    global $bp;
    if( $post->post_type == 'business' ) {
    
    $activity_action = sprintf( __( '%1$s created a new business listing, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );
    
    }
    
    if( $post->post_type == 'event' ) {
    
    $activity_action = sprintf( __( '%1$s created a new event, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );
    
    }
    
    return $activity_action;
    }
    
    #178434
    Henry Wright
    Moderator

    I’m 99.87% sure the change-avatar URL (slug) is hard coded. See this ticket for more info:

    https://buddypress.trac.wordpress.org/ticket/2086

Viewing 25 results - 17,426 through 17,450 (of 68,986 total)
Skip to toolbar