Support » Plugin: Better Notifications for WP » notification to the author of private post

  • Resolved mauroV8F5



    I want to manage an admin-users registered mail notification, actually
    between the administrator and users who have submitted a private post.
    I’ ve created a new notification:

    New Comment/Awaiting Moderation

    Send Notification to the Author only

    and the text of message:

    you have a new comment:
    URL: [comment_author_url]

    The message arrived but url is missing.
    I would also like that the link leads directly to the new comment, without needing to request the login.

    Why url missing? and how can I have a direct link? thank you in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bnfw


    Hi @maurov8f5,
    Thanks for your message.

    Sounds like you’re almost there.

    The [comment_author_url] shortcode is for linking to the website of the comment author.
    If you know the structure of your site, you may be able to re-create the comment URL by doing something like this:


    This will essentially output the post with the comment ID appended to it so depending on how your site is set-up, it may scroll you to that point in the page when you click the link.

    Does this help?


    thank you for your reply.
    we ‘re near the solution, but still not


    I get



    the result is

    I thaink that the right result should be

    How can fix this?

    ok, the [permalink] gives the correct url, but the user can’t access to the page because he’ s not logged.
    is there a way to send this link with user credentials?

    Plugin Author bnfw


    Hi @maurov8f5,

    So when you use the [permalink] shortcode in the New Comment notification, it returns the link to the comment as opposed to the link to the post, is that correct?

    yes, it generates a link like this:

    but the user clicking on it, receives the oops page not found message, because he ‘s not logged. If he’s logged in, go to the comments page.

    Plugin Author bnfw


    Ah, I see.
    Sounds like the shortcode is working but if the user isn’t logged in, they won’t be able to see the comments.

    You could always include details of the comment in the email notification if you wanted. You can use [comment_content] to output the comment that was made, for example.

    Plugin Author bnfw


    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘notification to the author of private post’ is closed to new replies.