Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 2,076 through 2,100 (of 94,541 total)
  • Author
    Search Results
  • Michael
    Participant

    If you set an activity filter on an activity page, BuddyPress will only set a cookie (bp-activity-filter) if the visitor is logged in. If a user is not logged the cookie is not set. The result is that if a visitor who is not logged-in clicks “load more,” the filter is no longer active on the new result page.

    This bug exists already for many years. Does anyone know a workaround?

    #325749
    jerkerfejjan
    Participant

    Hi, I have used BuddyPress fore some time, and it works fore my customers needs. But earlier I was trying to do a simple query (bp user query) to find all “teachers” that had the right xprofile_query field_name with value. It almost works well. I have the query on a local server with only 4 “teachers” and the same on a public server with 13000 “teachers” the result is the same. If I use this query for array:

    $lararsusers = array(
    ‘role’ => ‘contributor’,
    ‘orderby’ => ‘first_name’,
    ‘order’ => ‘DESC’,
    ‘xprofile_query’ => array(
    ‘relation’ => ‘AND’,
    array(
    ‘field_name’ => ‘Samkoppling’,
    ‘value’ => $kolladenna,
    ‘compare’ => ‘LIKE’
    )
    )
    );
    $users = new BP_User_Query($lararsusers);

    The result with BP_User_Query will always be that I will miss some user, even on the local server with only 4 teachers I will only get 3. But if I change BP_User_Query to WP_User_Query I will find everyone that I am looking for, no misstakes, but the query takes to long if I run it on the public server with 13000 teachers.

    Is there anyone who can help me, something is wrong.
    I´m most thankful for help.

    rtahina
    Participant

    Hello all,

    I am having trouble using the Tatsu Builder (https://tatsubuilder.com/) on Buddypress pages (ex the member directory page). Each time I want to use the media uploader (or media library) it tells me that https://xxx.test/wp-admin/admin-ajax.php is not found and the popup freezes on the loading part. The json response that is received tells me there is no error though (success is true with the appropriate data element)

    When I edit the same page with the classic WP editor, the media uploader shows up perfectly. Has anyone run into the same issue or what could be the problem here. I asked the Tatsu builder support but they said it’s a Buddypress issue.

    Thank you for your help.

    Wordpress v6.0
    Buddypress v10.3.0
    Tatsu v3.4.0

    #325705
    uasgar786
    Participant

    Hi Guys,

    I am facing an issue in avatar upload page. It is printing {{data.filename}} and showing %7B%7B%7Bdata.url%7D%7D%7D” in image source like this

    First ScreenshotSecond Screenshot

    webmark487
    Participant

    Hi!

    I get the following error message on https://greenfilmnet.org (only when logged in!):

    Warning: Creating default object from empty value in /home/.sites/838/site2533937/web/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php on line 771

    Any idea what the problem could be?

    Best regards and thank you in advance
    Markus

    WordPress 6.0.1
    Buddypress 10.3.0

    #325692
    David Cavins
    Keymaster
    #325691
    David Cavins
    Keymaster
    #325690
    David Cavins
    Keymaster

    It sounds like Member Types could solve your problem: https://codex.buddypress.org/developer/member-types/

    #325687
    Michael
    Participant

    It works like this:

    add_filter('bp_get_activity_show_filters_options', 'my_buddypress_filter',10,2);
    function mp_buddypress_filter($filters, $context) {
      $filters['new_blog_post'] = 'Blog Posts';
      $filters['new_blog_comment'] = 'Blog Comments';
      $filters['bbp_topic_create'] = 'Forum Topics';
      $filters['bbp_reply_create'] = 'Forum Replies';
      return $filters;
    }
    Mike Witt
    Participant

    Hi @hcmendez,

    I don’t know how to do what you’re asking, but I am using Memberpress and Buddypress. If you figure out how to do it, or if you have any ideas, I’d be interested in comparing notes about this (and anything else about MP/BP interactions).

    Mike

    annafa88
    Participant

    Hi all,
    I’m new to Buddypress and it looks like a great component. I only struggle to adapt the description of the groups. The editor is super basic and it doesn’t really allow to adapt the description. What I want to do is different groups per region where people can put in a map a spot where they want to meet up, e.g. here for the city of Freiburg: Freiburg Gruppe
    So basically I’d like people to put in a description of the group and then based on their location there should be an iframe for Google Maps) integrated.

    Can someone help or provide a hint on how to embedd an iframe and adapt the description a bit?
    Thanks all in advance,
    Anna

    #325650
    Renato Alves
    Moderator

    This requestion seems similar to this issue we got here: https://github.com/buddypress/BP-REST/issues/449#issuecomment-1196139043

    I’m able to use the provided function in that documentation article and get the proper response.

    #325645
    wcholbi
    Participant

    @espellcaste I appreciate your response and I’m sorry to report that I’m still getting the same fatal PHP error (referencing the same filenames and line numbers), even after applying your latest patch.

    I went to double check the github pull request here, and applied both of the changes shown there (lines 102 and 111).

    I also tried it both with and without @imath ‘s bp-custom.php suggestion from earlier in the thread.

    Let me know what I can try next.

    #325644
    central4all
    Participant

    I tried rank math , yoast and Buddypress XML Sitemap Generator, none of them works.
    Any solution?

    #325640
    wcholbi
    Participant

    @espellcaste it looks like the same error message from my original post (to me at least), which is why I’m wondering if I’m applying the fix incorrectly.

    All I did was edit line 101 of /wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php to read:

    if ( 'optional' !== $type && ! empty( $components['core'] ) ) {

    and when I try to add a new WP post, I get the “There has been a critical error on your website” message, and the PHP error log shows this:

    PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /nas/content/live/edrmdev/wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php:102\nStack trace:\n#0 /nas/content/live/edrmdev/wp-includes/rest-api/class-wp-rest-server.php(1143): BP_REST_Components_Endpoint->get_items(Object(WP_REST_Request))\n#1 /nas/content/live/edrmdev/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/buddypress/v1/...', Array, NULL)\n#2 /nas/content/live/edrmdev/wp-includes/rest-api.php(519): WP_REST_Server->dispatch(Object(WP_REST_Request))\n#3 /nas/content/live/edrmdev/wp-includes/rest-api.php(2868): rest_do_request(Object(WP_REST_Request))\n#4 [internal function]: rest_preload_api_request(Array, '/buddypress/v1/...')\n#5 /nas/content/live/edrmdev/wp-includes/block-editor.php(601): array_reduce(Array, 'rest_preload_ap...', Array)\n#6 /nas/content/live/edrmdev/wp-admin/edit-form-blocks.php(75): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))\n#7 /nas/content/live/edrmdev/wp-admin/post-new.php(72): require('/nas/content/li...')\n#8 {main}\n thrown in /nas/content/live/edrmdev/wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php on line 102, referer: https://edrmdev.wpengine.com/wp-admin/edit.php

    Should I be doing something differently?

    #325638
    wcholbi
    Participant

    Thank you @espellcaste !

    I tried editing my line 101 of /wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php as shown in your fix, and I am still getting the same fatal error when trying to add a new post. I will wait and see what happens with your Github pull request (in case I am somehow applying the fix incorrectly).

    I’m more hopeful now, knowing progress is being made. And I’m still happy to test fixes.

    hcmendez
    Participant

    Hi, is it possible to disable those actions altogether?

    Our site will be a members directory where the user will register and buy a membership and they will be added to a specific membership group we don’t want users to leave the group.

    I saw a post from 9 years ago but didn’t get any answer.

    Disable Leave Group on Specific Groups

    This is the code the user mentioned:

    if ( $group->is_member ) {
    
    // Stop sole admins from abandoning their group
    $group_admins = groups_get_group_admins( $group->id );
    if ( 1 == count( $group_admins ) && $group_admins[0]->user_id == bp_loggedin_user_id() )
    return false;
    
    $button = array(
    'id'                => 'leave_group',
    'component'         => 'groups',
    'must_be_logged_in' => true,
    'block_self'        => false,
    'wrapper_class'     => 'group-button ' . $group->status,
    'wrapper_id'        => 'groupbutton-' . $group->id,
    'link_href'         => wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ),
    'link_text'         => __( 'Leave Group', 'buddypress' ),
    'link_title'        => __( 'Leave Group', 'buddypress' ),
    'link_class'        => 'group-button leave-group',
    );

    This code can do what I need? If so, how can I use this code? I tried with Code Snippets and it didn’t work.

    #325635
    Renato Alves
    Moderator

    @wcholbi I’m able to replicate the issue and I have a fix for this here: https://github.com/buddypress/BP-REST/pull/450

    Thanks for reporting the bug.

    #325476
    central4all
    Participant

    I use rankmath, but profiles , images videos etc, they are sitemap, do you know any SEO pluggin that works with buddypress ?

    #325462
    shanebp
    Moderator

    BuddyPress does not include forums.
    Are you also using bbPress? If so, you should post on their support forums.
    If you are using BuddyBOSS, which includes forums, you should contact them.

    #325457
    alabandit
    Participant

    Since this didn’t throw any error I’m listing it to help others quickly spot what’s going on. I did try searching things like “white screen” and the install guide but didn’t have any luck. But I see it does list this advice when you create a new support topic.

    Downloaded a fresh copy of WordPress and BuddyPress no other modules were installed.
    Default Theme Twenty Twenty-Two
    No special setup

    Created a new forum (/wp-admin/post-new.php?post_type=forum)
    Clicked the link to view the new forum and was simply shown a white screen.

    No error messages or warnings.

    Everything else worked great.

    I changed the theme to Twenty Twenty and all was perfect.

    #325456
    wcholbi
    Participant

    Hi Mathieu, thank you for this suggestion, but I’m sorry to report that this does not fix the error for me.

    First I added a bp-custom.php file containing your code, following the instructions you linked to, and the same fatal error still occurred on any attempt to add a new page or post.

    Next, I tried deactivating ALL plugins except for BuddyPress, and switching to the Twenty Twenty theme. This error still occurs, even when the only plugin active is BuddyPress, on a default WP theme, both with the new bp-custom.php file and without it. I did this on the development environment for the site: https://edrmdev.wpengine.com/

    So I’m really at a loss, having tried every recommended troubleshooting technique.

    Is there anything else you can suggest?

    I’m happy to test anything that might work.

    #325436
    wpsupglpk1
    Participant

    Hi
    Our site is at https://www.gleanr.com.au/ . We are using version 6.0.1 version of WordPress and Buddypress 10.2.0. My question is, can a group administrator send a message out to all group members. whether those members have notification settings by email on or not? Say for example an event was being created for group members and the group admin wanted to alert the members of the event by posting to the group and that post is then notified to members. Currently in our member notifications settings we have the following settings that relates to members switching them settings on or off. 1. Email me when a member invites me to join a group, 2 Email me when a group information is updated. 3. Email me when I am promoted to a group administrator or moderator 4. Email me when a member requests to join a private group for which I am an admin . 5. Email me when my request to join a group has been approved or denied… None of these 5 settings cover notification on any group post to a member and we want this. Yet, we also want it that if any post is notified and a member has switched of such notification potential, then an administrator message would over-ride this. Hope that is clear. Look forward to your comments

    #325422
    shanebp
    Moderator

    Yes. BP creates a ‘dummy’ post.
    For example, see
    public function single_dummy_post()
    in
    buddypress\bp-members\classes\class-bp-members-theme-compat.php

    To check if you’re on the members directory, use:
    if( bp_current_component('members') )

Viewing 25 results - 2,076 through 2,100 (of 94,541 total)
Skip to toolbar