Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 5,426 through 5,450 (of 68,966 total)
  • Author
    Search Results
  • #302199
    iamdev
    Participant

    you can use this code buddypress has a function
    place this code in function.php

    function julia_b_activity_dont_save_item( &$activity ) {
     
        $dont_types = array( 'new_member');
     
        if ( empty( $activity->id ) && in_array( $activity->type , $dont_types ) ) {
            $activity->type = '';
     
        }
     
    }
    add_action( 'bp_activity_before_save', 'julia_b_activity_dont_save_item' );
    #302191
    Venutius
    Moderator

    Do you have FTP access? you could simply delete the BuddyPress directory in plugins.

    #302189
    qnkov
    Participant

    I need to have the default page id ON, cuz all my images, and alot of pages with plugins brokes if i use other option. Isn’t there anyway buddypress to work with page id actived? That’s the default option for wordpress, i don’t know why it’s not working with it.

    #302184
    shanebp
    Moderator

    No.
    You have to assign pages to BP.
    Go to Settings > BuddyPress > Pages and assign pages – you may need to create them first.

    #302177
    pixieblitz
    Participant

    Hello…
    I just made a post My Previous Post and noticed a label “this topic marked as spam” after I tried to edit a typo. I’m not sure why or how to avoid that in the future, or how to get any input on what I had originally been asking?

    It IS a bit of a duplicate post, since I originally put a similar question in a different forum, but I wasn’t really sure where it belonged and couldn’t figure out how to delete the first one.

    Please help?
    Thanks!

    #302169

    In reply to: Username as Name

    Venutius
    Moderator
    #302156
    joshpage
    Participant

    @shanebp – Thanks. I’ve actually figured the entire thing out. Posting code below in case anyone else needs it.

    function denial_email_creation() {
     
        // Do not create if it already exists and is not in the trash
        $post_exists = post_exists( '{{denier.name}} denied your friend request.' );
     
        if ( $post_exists != 0 && get_post_status( $post_exists ) == 'publish' )
           return;
      
        // Create post object
        $my_post = array(
          'post_title'    => __( '{{denier.name}} denied your friend request.', 'buddypress' ),
          'post_content'  => __( '<p>{{denier.name}} denied your friend request. And the rest of your email content.......</p>', 'buddypress' ),  // HTML email content.
          'post_excerpt'  => __( '<p>{{denier.name}} denied your friend request. And the rest of your email content.......</p>', 'buddypress' ),  // Plain text email content.
          'post_status'   => 'publish',
          'post_type' => bp_get_email_post_type() // this is the post type for emails
        );
     
        // Insert the email post into the database
        $post_id = wp_insert_post( $my_post );
     
        if ( $post_id ) {
        // add our email to the taxonomy term 'friendship_denied'
            // Email is a custom post type, therefore use wp_set_object_terms
     
            $tt_ids = wp_set_object_terms( $post_id, 'friendship_denied', bp_get_email_tax_type() );
            foreach ( $tt_ids as $tt_id ) {
                $term = get_term_by( 'term_taxonomy_id', (int) $tt_id, bp_get_email_tax_type() );
                wp_update_term( (int) $term->term_id, bp_get_email_tax_type(), array(
                    'description' => 'Recipients Friendship Denied',
                ) );
            }
        }
     
    }
    add_action( 'bp_core_install_emails', 'denial_email_creation' );
    
    add_action( 'friends_friendship_rejected', function( $friendship_id, $friendship  ) {
      $user_id = $friendship->initiator_user_id;
      $denier_id = $friendship->friend_user_id;
      $args = array(
        'tokens' => array(
          'site.name' => get_bloginfo('name'),
          'denier.name' => bp_core_get_user_displayname( $denier_id ),
        ),
      );
      bp_send_email( 'friendship_denied', $user_id, $args );    // Send your email here.
    }, 10, 2 );
    #302151
    Venutius
    Moderator

    Then you must have a conflict somewhere. Have you tried running with just BuddyPress Active and with a default theme such as 2016?

    #302141
    rsmithgs
    Participant

    I found that if I made this file directory in my theme (as per Theme Compatibility Codex) I could resolve the issue with the Compose field:

    /buddypress/common/js-templates/messages/index.php

    So for anyone else looking for messaging template changes. It’s located in:

    plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php

    Anyone looking for the search field for members list, it’s located in:

    /plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/search/search-form.php

    #302134
    Venutius
    Moderator

    Check out plugins/buddypress/bp-templates/legacy/members/profile/profile-loop.php this is how BP displays the profile group information, you should be able to use this as a basis for what you want to do.

    ico33
    Participant

    One user of my site results in buddypress not recently active, even if it is active or have been active recently.

    Where is the problem? Ideas?

    #302108

    In reply to: Members Not Showing

    Unfunnel
    Participant

    Also, when using the plugin… the search results pull up User Names versus the actual Buddypress member’s name as they did prior to using this function…

    HEALTH COACH DIRECTORY

    #302103
    shanebp
    Moderator

    Have you tried using the hook provided in the group > create template?

    For example, in this file: buddypress\bp-templates\bp-legacy\buddypress\groups\create.php
    Look for the group avatar section and use this hook:
    do_action( 'bp_after_group_avatar_creation_step' );

    #302100
    Venutius
    Moderator

    Hi there,

    That’s not a file you can overload, you can only overload files in the buddypress/bp-templates/bp-nouveau(bp-legacy)/buddypress directory.

    #302099
    pradeepphule
    Participant

    Hello @sbrajesh,

    I’m trying to copy bp-friends-template.php file into child theme. I have tried many times still not able to understand how to set the correct path in child theme.

    Plugin file path: buddypress\bp-friends\bp-friends-template.php

    Any suggestion.

    Thanks

    #302078
    makyn
    Participant

    Thanks all!

    Update: So I may have been a bit hasty. WooCommerce kindly did a test, and like @shanebp was also unable to replicate the results of the issue with friend requests not accepting.

    Despite infinite load I was experiencing, I could right click the “accept” or “refuse” button with a friend request, & copy the URL that indicated the nonce and open it in a new tab and then it would accept/refuse the friend request.

    After scouring for hours and hours through different *old* threads regarding similar issues I did discover a few individuals that seemed to have the same issue, but there was no resolution presented. I figured that there were several people, then (at that time) having the issue, and if it’s just me having the issue now – perhaps, it was something wrong with my copy of BuddyPress…

    So, I finally decided to delete my installation of Buddypress directly through sFTP and reinstall a clean copy of it from https://wordpress.org/plugins/buddypress/ directly back to the sFTP. I guess that was the solution.

    I am still unsure what the issue was, or why it was (at least on my installation) causing this error.

    However, I am now pleased to report that the issue is resolved and that I am able to accept friend requests.

    Thus it merely appeared that it was WooCommerce because this was the plugin that seemed to trigger the infinite load when I was doing disable plugin testing to see where conflict appeared.

    Thanks again!

    shanebp
    Moderator

    BuddyPress does not handle payments or paywalls.
    You’ll need a paid membership plugin.
    There are some free ones in the WP plugin repo that you could try out.

    So, your question is not really about BuddyPress.
    Ultimately the decision on how / what to implement will depend on your research and the specifics of your project.

    #302041

    In reply to: Change required fields

    Channing Oliver
    Participant

    I thought it was a problem with my Events plugin but i uninstalled it and the problem persisted until i uninstalled buddypress.

    #302039
    Venutius
    Moderator

    Your welcome.

    Ticket’s here:

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

    #302032
    Venutius
    Moderator

    I’ve just looked at a test server and I’m getting the same issue. If I edit the profile I can see the extra tab and edit the profile fields it contains, but when I view the profile it only shows the Base profile group.

    Would you mind rasing this as a bug on trac?

    #302031
    Wushan TCM
    Participant

    What I just did is a fresh install of the buddypress plugin, but the problem existed before and changed nothing after the fresh install. That was installed by FTP and I overwrite the existing buddy press plugin.

    #302029
    Venutius
    Moderator

    Thanks, have you overloaded any of the BP template files? located in themes/yourchildtheme/buddypress

    #302027
    Venutius
    Moderator

    You can chekc in Settings>>BuddyPress>>Options

    #302020
    shanebp
    Moderator

    Use the filter hooks to modify the output.
    For example, see the filter hook for: bp_message_thread_from()

    #302018

    In reply to: How to branch pages

    Venutius
    Moderator

    Do a search in the buddypress files for bp_is_user or bp_is_, bp has a number of functions such as bp_is_user_profile() or bp_is_user_activity, function bp_is_user_profile_edit(), bp_is_group() which confirm if the user is accessing different pages.

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