Skip to:
Content
Pages
Categories
Search
Top
Bottom

notify me about new replies via email


  • tocpeople
    Participant

    @tocpeople

    Hi!

    This checkbox “Inform me about new topics via email” is always stay cheked.
    If I check it off, it’s checked again.

    If I try this code, it always be unchecked:
    function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed ) {
    if( $topic_subscribed == 0 )
    $topic_subscribed = false;
    return checked( $topic_subscribed, true, false );
    }
    add_filter( ‘bbp_get_form_topic_subscribed’, ‘pw_bbp_auto_checK_subscribe’, 10, 2 );

    But it must work properly: be unchecked for default, and user can check and uncheck it his self any time.

    Site: http://www.tocpeople.com/forum/
    with newest versions of WordPress and BBpress.

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

  • tocpeople
    Participant

    @tocpeople

    Or this chechbox changed when user send a reply and click Submit?
    If user don’t send a reply, he can’t change this?
    I don’t understand, sorry.


    Kolya Korobochkin
    Participant

    @korobochkin

    this chechbox changed when user send a reply and click Submit?

    Right. To unsubscribe without posting any messages you can click “unsubscribe” link at the top of page (your theme may not showing this block). Or you can manage your subs at profile page (forums/users/YOUR_NICKNAME/subscriptions/).


    tocpeople
    Participant

    @tocpeople

    Kolya, thank you!
    This “unsubscribe” link at the top of page seems work!

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