Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,551 through 17,575 (of 69,106 total)
  • Author
    Search Results
  • #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

    #178427
    somethingelse
    Participant

    hi again… hoping for a tiny bit of direction…

    i have an editor working… sort of… it doesn’t save… and i know it’s one little tiny bit i’m missing here… just not sure what.

    here’s what i’ve got in my theme file in theme>buddypress>members>single>profile>edit.php

    <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    
    					<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    					<?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?>
                        
                        <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>
    
    				<?php endif; ?>

    i realize it’s duplicating… that’s fine… what i need to know is…
    what do i need to fix in
    <?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?>

    to make it SAVE that data into my xprofile field which by default is this
    <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>

    i will comment out the latter (or delete it entirely once i have it all working)

    it has all stopped making sense…

    many thanks in advance…

    Jen
    Participant

    Hi I’m wanting to just hide member profile pages, but keep all other BuddyPress pages public. I tried this code in my bp-custom.php, but it doesn’t work. Any ideas?

    /* Prevent logged out users from accessing bp profile pages */
    function nonreg_visitor_redirect() {
    global $bp;
    if ( bp_is_profile_component() {
    if(!is_user_logged_in()) { //just a visitor and not logged in
    wp_redirect( get_option('siteurl') . '/register' );
    }
    }
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    #178374
    spbilleaud
    Participant

    *Custom Header – End –>
    *
    * </header><!– #masthead –>
    *
    * <div id=”main” class=”wrapper”>
    * <div id=”primary” class=”site-content”>
    * <div id=”content” role=”main”>
    *
    *
    * <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” *itemscope itemtype=”http://schema.org/Article”&gt;
    * <header class=”entry-header”>
    * *<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
    * </header>
    *
    * <div class=”entry-content” itemprop=”articleBody”>
    * <div id=”buddypress”>
    *
    *
    * <div id=”item-header” role=”complementary”>

    #178371
    spbilleaud
    Participant

    More information: in the source code, the faulty link appears here–

    //Custom Header – End –>
    //
    // </header><!– #masthead –>
    //
    // <div id=”main” class=”wrapper”>
    // <div id=”primary” class=”site-content”>
    // <div id=”content” role=”main”>
    //
    //
    // <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” //itemscope itemtype=”http://schema.org/Article”&gt;
    // <header class=”entry-header”>
    // //<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
    // </header>
    //
    // <div class=”entry-content” itemprop=”articleBody”>
    // <div id=”buddypress”>
    //
    //
    // <div id=”item-header” role=”complementary”>

    #178357
    bigtreesjoe
    Participant

    So, are the minimum system requirements changing for BuddyPress 2.0 to support “Giving WordPress Its Own Directory”?

Viewing 25 results - 17,551 through 17,575 (of 69,106 total)
Skip to toolbar