Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 74 total)
  • In reply to: bp_members_loop

    @mike80222

    Participant

    @canister, for what it’s worth I’ve gotten a lot of good help on doing things with the members loop from the buddydev forum: https://buddydev.com/support/forums/

    @mike80222

    Participant

    I haven’t absorbed all the information here yet, but I did want to voice a big “thank you” for taking care of legacy users by providing BP classic, taking care with the transition, and providing a place to discuss things.

    In reply to: Database Errors

    @mike80222

    Participant

    @doncomputing, this looks to me like it’s coming from MemberPress. I think you should ask MemberPress support if they can shed any light on what might be happening (or did MP already tell you to ask BuddyPress?)

    @mike80222

    Participant

    @johanna75,

    Six years later(!) I’ve run into this same privacy issue. Just curious, are you still using BuddyPress and did you ever find a solution?

    @mike80222

    Participant

    Great. Thanks @imath.

    @mike80222

    Participant

    Is it documented somewhere what versions of PHP a particular BP release is tested up to?
    Or, can you tell me if 10.6.0 is confirmed for 8.0 and 8.1?
    Thanks!
    Mike

    @mike80222

    Participant

    OK, I see it. Looks like that’s Kinsta specific.

    @mike80222

    Participant

    Hi @meestergijs,

    I don’t know the answer to your question, but I am curious about how you’re getting metrics on how long your plugins take to load. I would love to have that kind of information for my website. Is there some particular tool that you’re using to do this?

    Regards,

    Mike

    @mike80222

    Participant

    @ravals, in the unlikely event you’re still interested in this, take a look at:

    Hide Public message on profiles

    Probably scroll down to the bottom.

    @mike80222

    Participant

    For what it’s worth, I’ve overridden buddypress/activity/post-form.php and basically deleted all the content from that. This *appears* to work on my test site, removing the What’s New field from both the user’s profile and their “group” page.

    
    <?php
    /**
     * BuddyPress - Activity Post Form
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     * @version 3.0.0
     *
     */
    
    ?>
    

    I’m a little unsure if I should actually have that closing ?>, but it appear to work that way.

    @mike80222

    Participant

    @kerchmcc, @sub0810, @maryreyes:

    Just wanted to make sure you saw the latest developments (the bbPress thread just above).

    I’ve also updated the bbPress Track ticket with the suggested code. I don’t feel competent to say that it’s correct, but it appeared to work on my test site:

    https://bbpress.trac.wordpress.org/ticket/3454#comment:2

    Hopefully someone who really understands these things will take a look at the ticket!

    Mike

    @mike80222

    Participant

    Just one final note: It turns out there is a known bbPress bug for this, and future developments will all be on the bbPress thread, not here. So watch this thread:

    bbP subscription control in the BP profile?

    @mike80222

    Participant

    Just in case anybody is still following this thread ๐Ÿ™‚

    I had a little time recently to look at this again, and I got some info from the folks at BuddyDev, that this is actually a bbPress thing:

    [x] icon to delete subscriptions

    I haven’t yet tried the fix Brajesh suggested.

    I’m asking for more info on the bbPress forum:

    bbP subscription control in the BP profile?

    @mike80222

    Participant

    I’m using Legacy, so that link tells me to override activity/post-form.php. But that whole file just creates that one form, right? So it seems like I should be overriding the thing that *includes* that form. I don’t see it in activity/index.php, but maybe I simply don’t know how to recognize it?

    Any thoughts on this? Sorry for me level of ignorance here ๐Ÿ™‚

    @mike80222

    Participant

    Thanks @michaelabf, I’ve started using this too. Do you happen to know if there’s a similar way to get rid of the “What’s New” line on the user Profile->Activity?

    @mike80222

    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

    @mike80222

    Participant

    I’m very interested in this too. If you find any really good sources of information on caching in dynamic or memberships sites please share it here. For what it’s worth, I’ve got all caching turned off since I’m not sure how to do it safely. I’m also running bbPress and MemberPress, which probably makes the concern greater.

    In reply to: Database Errors

    @mike80222

    Participant

    OK. I’ve never created a track ticket before, so I hope I’ve done this right:
    https://buddypress.trac.wordpress.org/ticket/8676

    In reply to: Database Errors

    @mike80222

    Participant

    @shanebp – Just to summarize, I did everything you suggested, including 2020 and BP Nouveau. I still get the DB error. See comment above.

    In reply to: Database Errors

    @mike80222

    Participant

    @shanebp – OK, I deactivated every other plugin, and I switched from 2022 to 2020 as you suggested.

    Getting the same error when clicking on one of multiple PM notifications.

    The only things active are BuddyPress and the 2020 theme. No 2020 child.

    In reply to: Database Errors

    @mike80222

    Participant

    @shanebp

    > You could try turning off other plugins and switching momentarily to a WP theme like 2020

    Are you saying 2022 is no good?

    I’ll try turning other plugins off.

    In reply to: Database Errors

    @mike80222

    Participant

    @shanebp – OK, I finally figured out how to replicate the error.

    WordPress 5.9.2
    Twenty Twenty-Two Version: 1.1
    BuddyPress 10.2.0 (Nouveau)
    And some other plug-ins, including MemberPress and bbPress

    (1) Send two private messages to someone.
    (2) That person clicks on one of the notification, and the error happens
    Sometimes it happens if the recipient just refreshes their profile (and hence the notifications)

    Note: There need to be multiple private message notifications. If there’s just one notification the error doesn’t appear to happen.

    The error looks a bit different with BP Nouveau:

    [31-Mar-2022 17:41:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND user_id = 2 AND component_name = 'messages' AND component_action = 'new...' at line 1 for query UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 2 AND component_name = 'messages' AND component_action = 'new_message' made by do_action('wp_ajax_messages_get_thread_messages'), WP_Hook->do_action, WP_Hook->apply_filters, bp_nouveau_ajax_get_thread_messages, bp_thread_the_message, BP_Messages_Thread_Template->the_message, do_action('thread_loop_start'), WP_Hook->do_action, WP_Hook->apply_filters, bp_messages_screen_conversation_mark_notifications, bp_notifications_mark_notifications_by_item_ids, BP_Notifications_Notification::update_id_list

    In reply to: Database Errors

    @mike80222

    Participant

    I did manage to duplicate it by sending a couple of private messages back and forth between members. But it doesn’t happen every time. So I still haven’t found a sure-fire way to duplicate it. It doesn’t appear to happen exactly when the message is sent. Maybe when the notification is read? Strangely, in the case where I got the error, I can’t find any expected notifications missing. All the notifications appear to be intact. Both on the profile and in email.

    In reply to: Database Errors

    @mike80222

    Participant

    @shanebp, I have a bit more information, and I wonder if you could possibly take another look?

    (1) I was wrong about the error being related to a bbPress closed topic. That turned out to be just a coincidence. It’s happened several more times now, and actually the times don’t line up with any posts or replies that I can find.

    (2) I’ve checked with bbPress and GeneratePress. Nobody can find any reason to think it’s related to bbP. GP tech support said that generatepress is in the error log only because the SQL request is being run inside the GP template, page.php, and GeneratePress doesnโ€™t have any code that affects SQL requests. GP support believes that something called “bp_replace_the_content” is involved (for whatever that’s worth).

    (3) It’s only happened since I updated to BP 10.1.0, however I never updated to 10.0.0 so 10.1.0 was my first update to BP 10.

    (4) The update that gets the error is always:

    UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 1492 AND component_name = ‘messages’ AND component_action = ‘new_message’

    (With different user_ids or course) I assume the problem it the empty IN (), right?

    (5) I haven’t been able to think of any way to attempt to reproduce the error.

    Any ideas at all would be much appreciated!

    Mike

    In reply to: Database Errors

    @mike80222

    Participant

    Ah, OK. So more potential conflicts with other plugins. I guess I’ll look at switching.

Viewing 25 replies - 26 through 50 (of 74 total)
Skip to toolbar