• Resolved tobiasfriman

    (@tobiasfriman)


    Hello Gustavo,

    trying out your plugin. Have a two questions:
    1. Is there a settings-page (can’t find it)?
    2. I can’t get it to work for logged in users. Is there a way to do this?

    Best regards, //tobias

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

    (@guhemama)

    Hey Tobias,

    1. Is there a settings-page (can’t find it)?
    There’s no settings page as of now (there’s nothing to customize).

    2. I can’t get it to work for logged in users. Is there a way to do this?
    Could you please elaborate? It should work for all users, logged in or not.

    Thread Starter tobiasfriman

    (@tobiasfriman)

    Hello again,

    thanks for getting back so soon!

    1. OK

    2. For users that are logged in to WordPress the choice to get notifications on replies or not is not visible. Default behavior is that notifications are not sent.
    I ended up rewriting some of the logic in sending, so that no choice in database means yes instead of no (default). Problem solved for us, but I think default behavior in plugin should be that even logged in users get to choose (maybe something for the backlog?).

    Love the simplicity of the plugin, thanks a lot!

    //tobias

    tobiasfriman is right, the subscribe checkbox only shows if the person commenting is not logged in. This is because it is hooked in using

    comment_form_default_fields

    which is for the ‘logged out’ form.

    It seems like an arbitrary distinction to make, only showing the checkbox to logged out users, especially on blogs where users MUST be logged in to comment in the first place. To show checkbox for logged in users until the plugin is updated (add to functions.php):

           //if replying to self dont send email
    
            if($email == $comment->comment_author_email){
                return false;
            }

    This puts the checkbox above the comment textarea. To move it below, I used flex-box order css. Maybe there is a better hook to use to move it below?

    • This reply was modified 7 years, 7 months ago by 21stcn.
    Plugin Author guhemama

    (@guhemama)

    Actually I totally overlooked this, since the opt-in checkout was added later in the plugin development. I will see to that in the next release – probably tomorrow!

    Thanks for the feedback guys!

    Plugin Author guhemama

    (@guhemama)

    Updates released today – it includes a unsubscribe link in the email and the opt-in checkbox in the logged in form (I used the hook that renders the submit button as a workaround).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working for logged in users?’ is closed to new replies.