Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 6,926 through 6,950 (of 94,538 total)
  • Author
    Search Results
  • #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?

    #302148
    antonop4u
    Participant

    Hi everybody,

    I’ve been trying to customize the page where I want the user profile to be displayed, so that it could be treated like any other page, and choose the template, use its link and so on.
    Does anyone knows a function, to add to the child theme functions, and get something like in the following picture?

    Buddypress pages with profile

    For what I’ve seen searching in this forum, such function wouldn’t only solve my problems, but also the problems of many other’s.

    Just in case:
    for this project I’m using wordpress 5.0.3, Buddypress 4.1.0, Nirvana theme 1.5.1.1,
    No link to the website yet.

    #302147
    himan9989
    Participant

    I am struggling to change the buddypress group avatar but cannot able to change it. I searched a lot on google but only find to customize the size of buddypress group avatart or find some code to change the default group avatar.

    So any body can tell me that how can I change the buddypress group avatar. Actually what I need a PHP script that can able to change the buddypress group avatar by using some hooks etc. Any help would be appreciable.

    #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

    Zekinah Lecaros
    Participant

    Using Buddy press I can only adds some of my custom fields under Profile Details but on my situation. how can I add new custom fields under the Account Details ??

    Modifying Resgistration Form
    Wordpress Part Registration Field

    Advance thank you for the your help

    #302137
    anscavating
    Participant

    I have tried uninstalling, reinstalling deactivating other plug ins, deleting other plugins.all of this multiple times. My registration page doesn’t seem to even exist, my members page finally started showing this am, after I had basically given up, yes, I have the pages made, and attached, yes, I have the permalinks set to post link, and yes, I have the little box marked that says anyone can register. I even have tried the buddypress registration widget, and what does it say when I try to add it? “There are no options for this widget”

    #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?

    #302127
    lokeshgrover
    Participant

    Hello Experts,

    When I search a group using a BuddyPress Search Group Widget, it opens a new window which displays the matching groups and some filters as Most Active etc.

    I would like to change the heading which shows on top of this page as “Groups” and rename as Community Groups.

    As i checked some wordpress hooks are being used here which displays the heading automatically, please guide me which file I can change it to what I want. Thanks in advance.

    Julia_B
    Participant

    I want the “XXXX became a registered member” updates to stop appearing in my sitewide activity stream.

    I tried using the code recommended in this thread: https://buddypress.org/support/topic/how-can-i-hide-new-registered-member-update-from-activity-streams/

    – in both my child theme and bp-custom.php

    But it’s not working for me.

    Hope someone can help 🙂

    #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

    #302022
    Pcosta88
    Participant

    Hi all,

    Under my primary account, I sent out a global message to test this feature. The Notice for all users. See image: https://pasteboard.co/HUDRhBM.png

    However, this message is appearing for existing users and also new ones. See image: https://pasteboard.co/HUDRMMR.png

    How can I disable this message OR make it show for existing users ONLY?

    Tech Specs:
    WP: 5.0.2
    BuddyPress: 4.1.0

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

    pixieblitz
    Participant

    Hi all!

    I would like to set up an online platform for tracking rescue animals post-adoption. The general idea would be for human members on a BuddyPress site to be able to create pet profiles, then post updates on those pet profiles, and eventually pass off control of the pet profile to the new owners, who could continue to post updates and presumably pass off the profiles again if the pets change hands multiple times. Before I go too deeply down any rabbit holes, I was wondering if anyone has any suggestions or if something functionally like this already exists?

    Are there and good ways of modifying a version of the BuddyPress plugin to use it to power the pet profiles? My first thought was swapping out every instance of “buddy” with “pet” in the code before uploading the plugin, and then figuring out how to allow human BuddyPress accounts to control “PetPress” profiles.

    I’m so-so at when it comes to coding my own stuff, so I would really appreciate any insight or advice from anyone who may have more experience!

    Thanks!

    David Dean Sr
    Participant

    Hello all,

    New to using buddypress here.

    Is there a way to hide an element, link, image, etc… from non friends.

    I did do some searching but found no answers.

    Michael Van Patten
    Participant

    Looking for the right solution…

    We would like to create a social community site like facebook where members have profile pages and can post videos, pictures and such. Create and join groups and get push notifications for chosen content.

    1ST PAGE – ENROLLMENT & INTRO VIDEO
    1. Three minute intro video
    2. MEMBERSHIP ENROLLMENT BUTTON:
    Most important this will be a paid membership site with a pay to enter button. Emails provided in this sign up should integrate with mailchimp

    2ND PAGE- POST ENROLMENT
    Once they’ve entered we would like a landing page that has
    1. A embedded live stream video player
    2. A randomized video playlist player
    3. A grid avatar list of our core contributors below these two players
    4. Tabs up top to navigate to members profiles, groups and more

    we welcome your suggestions. Thank you all so much in advance

    1. Which version of WordPress are you running? WordPress 5.0.2
    2. Did you install WordPress as a directory or subdomain install? Directory installation
    3. If a directory install, is it in root or in a subdirectory? Root
    4. Did you upgrade from a previous version of WordPress? If so, from which version? No Fresh Install 2 days ago
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. N/A
    6. Which version of BP are you running? 4.1.0
    7. Did you upgraded from a previous version of BP? If so, from which version? NO
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? BuddyPress, Google Analytics for WordPress by MonsterInsights, Jetpack by WordPress.com, OptinMonster API, WPForms Lite
    9. Are you using a standard WordPress theme or customized theme? Tonic
    10. Which theme do you use ? Tonic
    11. Have you modified the core files in any way? NO
    12. Do you have any custom functions in bp-custom.php? NO
    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? NO
    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress
    15. Which company provides your hosting? Bluehost
    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache
    17. Which BP Theme are you using? Tonic
    18. Have you overloaded any BuddyPress template files. NO
    19. Any other site customisations that might have a bearing on the issue? NO

    #302042
    jolom
    Participant

    Hi,

    Is there a way to change certain text parts of BuddyPress on plugin activation?

    Example, I want to use BuddyPress Announce Gruop and when the plugin is active on that group change the text Group to something else like “Join Group” to “Join Updates”

    Thanks a lot.

    #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?

Viewing 25 results - 6,926 through 6,950 (of 94,538 total)
Skip to toolbar