• Resolved Jasper

    (@garyhamptonmcp)


    “Make “Send Notifications” option checked by default”
    not working. Both for new topics and replies.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi Jasper,

    Thanks for reaching out.

    The ‘Send Notifications’ option is actually for the back-end Send Notifications metabox. It does not control the front-end “Notify me of replies” checkbox. I always recommend using the free bbp-toolkit plugin to control that one.

    Cheers,
    Vinny

    Thread Starter Jasper

    (@garyhamptonmcp)

    Thanks for getting back. I just tried BBP-toolkit and it hasn’t been updated in a long time. I’m using Buddy Boss and get error msg “Sorry, you need to activate bbPress first.”. How be awesome for someone to sort this out. We are having a lot of users not noticing to tick the box then wonder why no one is replying…

    Plugin Author useStrict

    (@usestrict)

    Try adding this to your child theme’s functions.php:

    add_filter( 'bbp_get_form_topic_subscribed', '__return_true', 10, 2 );

    add_filter( 'bbp_get_form_forum_subscribed', '__return_true', 10, 2 );

    Plugin Author useStrict

    (@usestrict)

    Sorry, the code above is wrong. Use this one instead.

    add_filter( 'bbp_get_form_topic_subscribed', function(){ return checked(true, true, false); }, 10, 2 );

    add_filter( 'bbp_get_form_forum_subscribed', function(){ return checked(true, true, false); }, 10, 2 );

    Thread Starter Jasper

    (@garyhamptonmcp)

    Thank you so much, your a legend! Works perfectly ??

    • This reply was modified 1 year, 8 months ago by Jasper.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make “Send Notifications” option checked by default.’ is closed to new replies.