Skip to:
Content
Pages
Categories
Search
Top
Bottom

Notifications on mentions?


  • SirLouen
    Participant

    @sirlouen

    When I create a post mentioning an user I don’t see that the user has the notification. Shall be this enabled somewhere?

Viewing 5 replies - 1 through 5 (of 5 total)

  • SirLouen
    Participant

    @sirlouen

    This is incredibly weird.

    I’ve installed a test site with just Buddypress + BBpress and did a mention and it worked fine.

    Then in the site where mentions are not working, I have disabled ALL plugins and put Twenty Twenty theme and tried again, and it doesnt work 🙁

    I have checked the apache2 error log and nothing there
    Also activated the WP_DEBUG but nothing…

    Mindblowing.
    It is like the at_mention hook is not being fired…
    The email notification for mentions is not firing either

    What could I be missing here?


    SirLouen
    Participant

    @sirlouen

    Checking buddypress code, I see that there is a filter that controls this:

    function bp_activity_do_mentions() {
    
            /**
             * Filters whether or not mentions are enabled.
             *
             * @since 1.8.0
             *
             * @param bool $enabled True to enable mentions, false to disable.
             */
            return (bool) apply_filters( 'bp_activity_do_mentions', true );
    }

    But bp_activity_do_mentions has not been modified anywhere in the code (I’m using core default twenty twenty + just buddypress and bbpress)

    I’ve also tested the function bp_activity_do_mentions() in the functions.php and it is returning true.


    SirLouen
    Participant

    @sirlouen

    Removed both buddypress and bbpress folders and redownload them, and nothing

    Also I’ve noticed that email notifications are not working for any users, although other plugins notificacions like Gamipress work right.

    But the weirdest thing is that reply notices are working right (in-site not email ones)


    SirLouen
    Participant

    @sirlouen

    Disabled just buddypress leaving bbpress enabled and tried bbpress notifications (on reply) and worked flawlessly…

    I’m missing something, maybe buddypress activity db has been corrupted? Any way to turn on max debug on buddypress?

    By the way, I’ve run all 4 tasks in the Tools section

    (Also I’m running on a custom VPS, so no issues possible with email limitations)


    SirLouen
    Participant

    @sirlouen

    OMG, after hours of tracking the bbpress code I’ve finally found the culprit

    The MOST stupid thing I’ve seen ever and is not even fault of Buddypress but BBpress!!!!

    For some reason, some illuminated coder decided that the site should be “indexable” in order to admit both BuddyPress notifications or mentions.

    So essentially I had the

    “Discourage search engines from indexing”, ticked off…

    I cry everytime

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar