Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1,126 through 1,150 (of 73,928 total)
  • Author
    Search Results
  • #331943
    lurickaddt
    Participant

    Hi there

    I’m new to the Web Dev game, and I am looking for someone who is well versed in TutorLMS, BuddyPress & Paid membership Pro integrations please? I’m unsure how it all fits together.

    http://www.dynamicdevelopment.today

    #331942
    lurickaddt
    Participant

    When I try to create a new group on “Group” on the side bar, it takes me to the payment section of Memberships of Paid membership Pro, even when I’m logged in as the WordPress admin. I’m running a TutorLMS site.

    Please help.

    http://www.dynamicdevelopment.today
    Latest WordPress & Buddypress versions

    jgasba
    Participant

    I have included the .js scripts but BuddyPress seems to not detect my profile page as a proper place to output content about a user.

    For example when I do bp_get_template_part('members/single/activity'); I receive this output on the profile page (empty tags)

    <nav class="bp-navs bp-subnavs no-ajax" id="subnav" role="navigation" aria-label="Menu des activités">
    	<ul class="subnav">
    	</ul>
    </nav>

    And a similar thing happens when using bp_get_template_part( 'members/single/messages' ); or other template parts.

    How can I setup this so that BuddyPress recognises my profile page as a valid profile page where to output info and what should I use in my template to make BuddyPress load the proper scripts/actions/functions/objects to make it work?

    Thanks in advance for any clue to point me in the right direction.

    jgasba
    Participant

    I’m trying to integrate BuddyPress into a theme I’m working with. This theme already has a profile page and I’m trying to include BuddyPress content inside it, mainly forums infos and privates messages functionalities.

    I’m using bp-nouveau template parts and the inclusion seems to work as some html is passed on but no content. One of the reasons I think is because the page does not load buddypress scripts.

    in short: How can I make the plugin to display private messages on a custom profile page?

    jgasba
    Participant

    hi! I’m starting to work with BuddyPress to see if it suits our needs on a website I work for and started to dig into the codebase (12 beta4).

    I saw that some files bp_is_active( 'messages', 'star' ) suggesting that the star feature is identified as active or inactive.
    I don’t need any starring feature, is there a way to properly deactivate it programmatically so that any mention to it is removed everywhere?

    Thanks in advance for your help!

    b1n
    Participant

    I had this problem without an easy solution, so I did one wich worked perfectly.
    To add the logged in user profile link to a Elementor Widget, do this:
    Add a custom shortcode to your theme functions.php

    // Custom Buddypress User Profile Link
    function custom_bp_user_link( $atts ){
    	return bp_loggedin_user_domain();;
    }
    add_shortcode( 'bp_user_link', 'custom_bp_user_link' );

    After this, go to Elementor and in the link option of your widget select “Custom URL”, then select “Shortcode” and add
    [bp_user_link]

    yatesa01
    Participant

    I’m building a new wordpress site with buddypress and have just noticed that when I have the Nouveau template active, the “Add Friend” buttons disappear from the site. When I switch it to the legacy template, the “Add Friend” button reappears. When using the Nouveau template, the send public message button appears just fine in the member profile page.

    If it is helpful, I’m running WordPress 6.4.1, using the Astra theme, and BuddyPress 11.4.

    #331889
    gwenm
    Participant

    Hello, I’ve installed several plugins (according to internet) to do this but I can’t find anywhere how to allow members to create their store.

    The profile only displays their order. No information on how to create a store with products.

    How can I do this?

    My plugin :

    BuddyBoss Platform
    BP Classic
    BuddyCommerce
    BuddyPress Integration for WooCommerce
    WC Vendors Marketplace

    #331876
    teeboy4real
    Participant

    Hello,

    I just updated wordpress to version 6.4.1 and buddypress buddypress 12.0 beta 4 and this error no longer occurs.

    #331873
    Mathieu Viet
    Moderator

    Hi @teeboy4real

    Thanks a lot for your report, I’ve seen this issue lately:
    https://buddypress.trac.wordpress.org/ticket/9010

    As you will see, it looks like some custom code/plugin is filtering the $activity_type to be an array instead of a string.

    I wasn’t able to reproduce it, but, I’m going to reopen the ticket and check again as I’m not sure I tested with a post comment.

    I’ll keep you updated.

    #331871
    teeboy4real
    Participant

    I updated to wordpress 6.4 while using buddypress beta 3. Accessing a members profile while I was logged out triggerd a fatal error. This is the info in my debug log below

    2023-11-08T16:55:16+00:00 CRITICAL Uncaught TypeError: Illegal offset type in /var/www/wptbox/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php:800
    Stack trace:
    #0 /var/www/wptbox/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php(1038): bp_activity_post_type_get_tracking_arg()
    #1 /var/www/wptbox/wp-includes/class-wp-hook.php(324): bp_blogs_new_blog_comment_query_backpat()
    #2 /var/www/wptbox/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(401): apply_filters()
    #4 /var/www/wptbox/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php(291): bp_parse_args()
    #5 /var/www/wptbox/wp-content/themes/klein-child/buddypress/activity/activity-loop.php(3): bp_has_activities()
    #6 /var/www/wptbox/wp-includes/template.php(792): require('...')
    #7 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template()
    #8 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template()
    #9 /var/www/wptbox/wp-content/themes/klein-child/buddypress/members/single/activity.php(41): bp_get_template_part()
    #10 /var/www/wptbox/wp-includes/template.php(792): require('...')
    #11 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template()
    #12 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template()
    #13 /var/www/wptbox/wp-content/themes/klein-child/buddypress/members/single/home.php(34): bp_get_template_part()
    #14 /var/www/wptbox/wp-includes/template.php(792): require('...')
    #15 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template()
    #16 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template()
    #17 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(407): bp_get_template_part()
    #18 /var/www/wptbox/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(212): bp_buffer_template_part()
    #19 /var/www/wptbox/wp-includes/class-wp-hook.php(324): BP_Members_Theme_Compat->single_dummy_content()
    #20 /var/www/wptbox/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #21 /var/www/wptbox/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php(767): apply_filters()
    #22 /var/www/wptbox/wp-includes/class-wp-hook.php(324): bp_replace_the_content()
    #23 /var/www/wptbox/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #24 /var/www/wptbox/wp-includes/post-template.php(256): apply_filters()
    #25 /var/www/wptbox/wp-content/themes/klein/buddypress-full-content.php(20): the_content()
    #26 /var/www/wptbox/wp-includes/template.php(792): require('...')
    #27 /var/www/wptbox/wp-includes/template.php(725): load_template()
    #28 /var/www/wptbox/wp-includes/general-template.php(206): locate_template()
    #29 /var/www/wptbox/wp-content/themes/klein-child/buddypress.php(90): get_template_part()
    #30 /var/www/wptbox/wp-includes/template-loader.php(106): include('...')
    #31 /var/www/wptbox/wp-blog-header.php(19): require_once('...')
    #32 /var/www/wptbox/index.php(17): require('...')
    #33 {main}
      thrown in /var/www/wptbox/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 800
    #331844
    bentamin
    Participant

    Hi, I have managed to get a xprofile field (checkbox with three options) to be displayed with a count as tabs next to the “all members” tabs. It’s similar to what @danbp hast done and is working in this Post: 2.2 Member Types – Setting user member types during registration (xProfile)

    Now I am stuck with the filtering of the members-list according to the Tabs when I click on one of the tabs.

    Maybe someone can help me out here.

    Here is the code for creating the tabs so far:

    Function for getting the child values of my checkbox for each Member

    function get_xprofile_child_fields($parent_field_id) {
        global $wpdb;
    
        $child_fields = $wpdb->get_results(
            $wpdb->prepare(
                "SELECT * FROM {$wpdb->prefix}bp_xprofile_fields WHERE parent_id = %d",
                $parent_field_id
            )
        );
    
        return $child_fields;
    }
    

    Function to count how many members have the individual options set

    function get_xprofile_field_member_count($field_id, $field_value) {
        global $wpdb;
    
        $count = $wpdb->get_var(
            $wpdb->prepare(
                "SELECT COUNT(*) FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = %d AND value LIKE %s",
                $field_id,
                '%' . $field_value . '%'
            )
        );
    
        return $count;
    }
    

    Create the tabs with a counter

    function custom_xprofile_child_field_directory_tabs() {
        $parent_field_id = 28; // Replace with your parent xProfile field ID
        
        $child_fields = get_xprofile_child_fields($parent_field_id);
    
        $tab_values = array(); // Store unique field values
    
        if (!empty($child_fields)) {
            foreach ($child_fields as $child_field) {
                $field_id = $child_field->parent_id;
                $field_value = $child_field->name;
    
                // Check if the field value is unique
                if (!in_array($field_value, $tab_values)) {
                    $tab_values[] = $field_value;
    
                    $child_count = get_xprofile_field_member_count($field_id, $field_value);
    
                    // Use a combination of field_id and field_value as the id
                    $tab_id = 'members-' . esc_attr('field_' . sanitize_title($field_value));
    
                    ?>
                    <li id="<?php echo $tab_id; ?>">
                        <a href="<?php echo bp_members_directory_permalink(); ?>"><?php printf( '%s <span>%d</span>', esc_html($field_value), $child_count); ?>
                    </a>
                    </li>
                    <?php
                }
            }
        }
    }
    
    add_action('bp_members_directory_member_types','custom_xprofile_child_field_directory_tabs');

    Thanks for any help on this 🙂

    #331828
    ericwillson
    Participant

    You r welcome If the activity form is related to BuddyPress you might want to check BuddyPress specific functions or hooks in your theme or plugin files. BuddyPress indeed has its own set of functions for handling activities and forms.

    #331827
    exp3rts
    Participant

    oh ok, so this is theme related. i thought its “just” a buddypress function(name).

    thanks a lot

    #331806
    chrishechler
    Participant

    Hi,

    is there any chance to transform/change the regular filter dropdown options (recently active, newest members and alphabetical) to buttons that sit next to each other?
    I have achieved to make the dropdown into buttons, but the logic and filtering functionality are gone.

    This is teh directory template where I replaced the dropdown:

    <?php
    /**
    * BuddyPress Members Directory
    *
    * @version 3.0.0
    */
    ?>

    <?php
    /**
    * Fires at the beginning of the templates BP injected content.
    *
    * @since BuddyPress 2.3.0
    */
    do_action( ‘bp_before_directory_members_page’ );
    ?>

    <div class=”members-directory-wrapper”>

    <?php
    /**
    * Fires before the display of the members.
    *
    * @since BuddyPress 1.1.0
    */
    do_action( ‘bp_before_directory_members’ );
    ?>

    <div class=”members-directory-container”>

    <?php if ( function_exists( ‘bp_disable_advanced_profile_search’ ) && bp_disable_advanced_profile_search() ) { ?>
    <div class=”subnav-search members-search”>
    <?php bp_nouveau_search_form(); ?>
    </div>
    <?php } ?>

    <?php
    /**
    * Fires before the display of the members list tabs.
    *
    * @since BuddyPress 1.8.0
    */
    do_action( ‘bp_before_directory_members_tabs’ );
    ?>

    <?php if ( ! bp_nouveau_is_object_nav_in_sidebar() ) : ?>

    <?php bp_get_template_part( ‘common/nav/directory-nav’ ); ?>

    <?php endif; ?>

    <?php
    /**
    * Fires before the display of the members content.
    *
    * @since BuddyPress 1.1.0
    */
    do_action( ‘bp_before_directory_members_content’ );
    ?>

    <div class=”flex bp-secondary-header align-items-center”>
    <div class=”push-right flex”>
    <div class=”bp-profile-filter-wrap subnav-filters filters no-ajax”>
    <!– Replace the dropdown filters with buttons –>
    <button class=”filter-button” data-filter=”recently-active”>Recently Active</button>
    <button class=”filter-button” data-filter=”newest-members”>Newest Members</button>
    <button class=”filter-button” data-filter=”alphabetically”>Alphabetically</button>
    <!– Add more buttons for other filter options as needed –>
    </div>
    <div class=”bp-members-filter-wrap subnav-filters filters no-ajax”>
    <!– You can add more buttons here if needed –>
    </div>

    <?php bp_get_template_part( ‘common/filters/grid-filters’ ); ?>
    </div>
    </div>

    <div class=”screen-content members-directory-content”>

    <div id=”members-dir-list” class=”members dir-list” data-bp-list=”members”>
    <div id=”bp-ajax-loader”><?php bp_nouveau_user_feedback( ‘directory-members-loading’ ); ?></div>
    </div><!– #members-dir-list –>

    <?php
    /**
    * Fires and displays the members content.
    *
    * @since BuddyPress 1.1.0
    */
    do_action( ‘bp_directory_members_content’ );
    ?>
    </div><!– // .screen-content –>

    <?php
    /**
    * Fires after the display of the members content.
    *
    * @since BuddyPress 1.1.0
    */
    do_action( ‘bp_after_directory_members_content’ );
    ?>

    </div>

    <?php
    /**
    * Fires after the display of the members.
    *
    * @since BuddyPress 1.1.0
    */
    do_action( ‘bp_after_directory_members’ );
    ?>

    </div>

    <?php
    /**
    * Fires at the bottom of the members directory template file.
    *
    * @since BuddyPress 1.5.0
    */
    do_action( ‘bp_after_directory_members_page’ );
    ?>

    sasasasaaa
    Participant

    Hello,

    I have added an extra profile group to members profile page with a URL group field.

    When I enter https://www.example.org into the URL group field and save it, the url with https is saved correct in my database.

    But when I go to the profile site to check, the LINK TEXT is without s; only http.
    The LINK URL itself is correct with https.

    Does anybody has an idea how to solve it?

    I really tried for hours.

    In the class-bp-xprofile-field-typ-url.php is function to catch submitted URL values, and if
    the http protocol is missing, buddypress prepends ‘http://&#8217; before passing to
    is_valid().

    Could this might be the issue?

    Or does somebody know how I can change the link text from http to https?

    I am only a php beginner.

    Thanks a lot.

    chrishechler
    Participant

    Hi,

    I am trying to display more member cards in each row in the member directory.

    The member cards take up way too much space, I could easily fit more in one row.
    However it seems as there are other templates or stylesheets that make this task almost impossible.
    To be more precise: The member cards consist of several layers and not just a simple box container.
    Even though, I can play around with margins and padding.
    I even found this item which would fit way more member cards into a single row:

    #buddypress .members-list > li {
    min-width: 275px;
    }

    If I use max-width instead it would work, however, once I save it (even with !important) the directory automatically reverts back to its orignal state. Meaning, my change just wont be applied, no matter what.
    I just cannot find any rule or stylesheet that takes precedence for this line of code to play with that one.

    Any help or suggestion is very welcome 😉

    #331777
    sbanner26
    Participant

    Thanks emaralive,

    I gave that a try but no change. What other info would help? I’m using WordPress 6.3.2 running Hello Elementor Child theme and have BuddyPress set to Legacy. I have Elementor v3.17.2 and Elementor Pro v3.17.0 installed and running. Does any of that help?

    #331737
    emaralive
    Moderator

    For navigation menu info, see the following:
    Navigation menus

    paginaswebea
    Participant

    Hello BuddyPress,

    First of all thank you for your work on creating the plugin.

    Second, I have a problem with a client’s website I’m currently building. We have run into an issue that when, uploading avatars by mobile, it compresses down the picture so much that it becomes blurry. It is not because of the image used. I have made sure I’ve uploaded a huge resolution photo to discard that.

    Where I see the problem is, BuddyPress somehow compresses the image to make it fit the phone screen, (it maybe makes it 150×150 for what I’ve read so far in the documentation), and then gives you the option to crop the image.

    The expect behaviour should be that the image retains the original “full” size, but shrinks down so it fits the mobile screen and you can crop/select whatever you desire.

    I hope I am explaining myself.

    I see that this bug is not new and has been around for several years, and so far, I haven’t been able to find any fix other than what is explained here, but then it stops the image from being responsive. (Anything further than 600 breaks the image hence you can’t see what you’re cropping).

    Changing default avatar size cropped/used by BuddyPress

    Is there a way to fix this, so the image retains the full quality when uploaded? I’ve set in place filters to retain 100% of quality image so wordpress doesn’t reescale them either (But you can give me more tips regarding this as well). An alternative solution would be to just disable the cropping part when uploading avatar.

    Currently I’m using the theme called Gwangi, but it doesn’t matter, because it also happens with Twenty-Twenty-One, and the forked version of buddypress Buddyboss. I’m guessing all the webpages built with buddypress have the same issue, as the ones I’ve checked so far run into the same problem. I’ve disabled CDN and everything else that could cause caching and rendering of images.

    Thank you for your time.

    #331715
    AWOL
    Participant

    @imath,
    Thank you for your response and apologies for my tardiness – I had no idea that the Discussion settings had any impact on Buddypress Activity but you are correct, this was what was causing the issue. Is this documented anywhere in the Buddypress docs/codex? I made the mistake of assuming that Buddypress activity was a separate entity to the blog posts and comments but obviously it isn’t, so do all the other Discussion settings impact it as well? I can obviously test myself but if there is any resource on this that would be very useful.

    Regarding the BP Classic issue, thank you, although I have now made a significant design change and workaround so I don’t think it will impact me any more, and that also applies to the issue I reported with the nav menu highlighting, although that will impact others. Basically I have created a custom Members directory page on a WP page so that when that is a sub menu item of Activity any visit to a Profile page does not highlight the Activity menu item as was happening with the standard Member directory. Also from my testing I have not encountered any issues that will require BP Classic to be activated, and if I do I will probably devise another workaround.

    Good luck with preparing to launch the release of BP 12!

    #331695
    bradcds
    Participant

    Hi all,

    So I deleted some of the Buddypress core tables. Long story. But can’t figure out how to get them back. Trying to reinstall the plugin didn’t work.

    withgladness
    Participant

    I used to do this using $bp->bp_otpions_nav[‘profile’][‘change-avatar’][‘name’]. This is deprecated and causing issues on my site. How can I do this now using the new Navigation API?

    #331688
    adutty
    Participant

    I’ve installed the Buddypress plugin on the site: https://app.veteransignup.com

    Using theme: PopularFX w Pagelayer Plugin

    I do not have the ability to do simple things, like:
    a) login to profile
    b) direct to profile

    I’m under the impression the buddypress pages should load as menu options, which are not loaded (meaning I cannot create links to profile or login pages).

    Likewise, there are no basic lists of short codes (which seems to be pretty fundamental?).

    #331687

    Topic: SHORTCODES

    in group forum Installing BuddyPress
    adutty
    Participant

    Why is this such a difficult question to answer?
    a) does buddypress publish shortcodes?
    b) why do none of the threads address this in a simple manner?
    c) why is it do difficult to direct login to member’s profile?

    seems pretty fundamental, after hours of searching, nothing

Viewing 25 results - 1,126 through 1,150 (of 73,928 total)
Skip to toolbar