Comments for Ghost - Ghost Changelog

Today we're introducing native commenting in Ghost, so you can invite your members to participate in community discussions directly on your publication.

After Search, this was one of our most requested features of-all-time, so as well as giving you a first look at the feature, we've included a longer behind the scenes section at the end of this post about how (and why!) this was made.

Any Ghost publication with comments enabled displays a commenting area at the bottom of each post, where members are prompted to start or join the conversation by subscribing or signing in.

Members who are creating their first comment will be asked to fill out their name and expertise, to add more context and depth to each contribution.

Members can reply to comments, like comments, and edit or delete their own comments. To help increase engagement, there are also built-in email notifications every time someone replies to a members comment, which can be toggled on or off from the member profile page in Portal 🔥

Authors also receive email notifications when conversations are happening on posts they have published.


Community moderation

We built Ghost Comments with features to help you keep your community healthy.

  • On-page moderations tools — Staff users with the owner or administrator role can moderate comments right from the comment thread.
  • Comment reporting — Site owners are emailed when any comment is reported by another member.
  • Member-only comments — Comments can only be created by logged-in members, which helps protect you from spam and negativity.

Before introducing comments on your publication, it's a good idea to put together some community guidelines for your members. We've put together a short guide and template that you can steal and modify:


Get started with comments

Ghost(Pro) users can log in and start enjoying all of this right away! If you're a developer, self-hosting Ghost, you'll need to upgrade to the latest version to get access to everything that's new.

Comments are already integrated into all official themes. All you need to do is turn commenting on from the Settings → Membership page in Ghost Admin.

If you're using a premium or custom theme, comments can be added to the post.hbs template using the new Handlebars helper — read more in the theme docs.


Behind the scenes: Building comments

For those of you that have been using Ghost for a while, and can remember all the way back to 2012, the very first blog post about Ghost touted "no comments!" as a key product decision. Even in the years since then, we've been pretty consistent about saying "no" when people requested it.

So, what changed? Two big things.

First — As Ghost has evolved over the last few years to handle memberships, premium subscriptions and email newsletters, community has become a much more important aspects of what creators and publishers are looking for in a platform.

Today, there are a huge number of Ghost sites popping up around all sorts of different niches, but one thing they all have in common is communities of highly engaged audiences with similar interests. This is a very different perspective to the traditional "random stranger on the internet comments on blog post" model of the past.

Second — The biggest problem with building comments, historically, has been automated spam. It was the #1 reason that comments was excluded from the original idea of Ghost, because forms on the internet fundamentally get abused by spammers and it takes a Goliath amount of time and energy to (largely unsuccessfully) prevent it. There are entire companies devoted to trying to prevent comment spam.

Fortunately, we're now able to get around this problem entirely thanks to member authentication that already exists in Ghost. The feature is not exposed publicly to strangers (and bots) on the internet, it can only be used by registered, verified members of a Ghost site.

Based on these two things we changed our mind about the idea of building comments, and decided to take a swing at building something beautiful and minimal for all Ghost publishers.

The first versions of both Search and Comments were built in the space of 5 days by two product teams when we all got together for a team retreat last month (our first since 2019). But... that's not quite the whole story.

It actually took us many (many) cycles of building APIs, UI components, membership authentication, and email subscriptions to get all the pieces in place that allowed us to take only 5 days at the end to put together these two features.

10 years to overnight success and all that.

As with Search, we're very aware of the fact that a simple/minimal approach we've taken with Comments won't be enough for every type of publisher — so we've built it with extensibility in mind.

The new helper provides an ideal hook for external integrations to embed their own code, and we're working towards making it possible to completely replace Ghost comments with powerful 3rd party systems like Cove or Discourse.


For now, though, we're looking forward to seeing how you use comments within all your respective communities! More updates on the way. đź’¬

16 Likes

This is amazing!! I joined Ghost this month and love every bit of this product and the overall experience of publishing. The only thing missing was comments, and it’s surreal to see that implemented as well.

I look forward to using comments on my blog. Thanks for implementing this feature!

5 Likes

Very nice!
I am looking forward to migrate my comments from discourse to ghost.

Hopefully there will be a way in a few weeks.

Keep up the good work!

2 Likes

Finally, the much-awaited feature is here.

Good job!

Now if only we could have the Newsletter feature with SMTP services other than Mailgun ;)

2 Likes

Great Feature… Can’t wait to use it.

1 Like

Congratulations on launching native comments! Nice to see that you are working on integrating third-party solutions like Cove Comments and Discourse.

One question: I built my blog around the Jamstack model with a Next.js frontend. The new native search and native comments don’t seem to easily work with the Ghost content API (understandable). Does that mean that Ghost is slowly moving away from headless CMS/Jamstack (Using Ghost as a headless CMS with JAMstack)?

Thank you so much for this feature! Ghost and its team are really awesome

3 Likes

Thanks for introducing this feature!

My question: Can we limit commenting to paying-members only?

Yes… You can

4 Likes

What a wonderful feature, that fits so nicely into ghost. And it looks fantastic too!

One question: Is it possible to permanently delete a comment as an administrator, or is hiding a comment currently the only option? I may have accidentally written a test comment, that I can’t get rid of anymore…

2 Likes

@Ghost I can’t get the moderation for hiding/unhiding comments to work. The documentation says:

To hide or unhide a comment, login to your site as a member on any device that is also logged in to your staff account, and click the three dots.

  • I’m logged in to the dashboard as the owner of the site.
  • I’ve created a test member and use that test member to sign in to the site as a member.
  • The site behaves just as if I was only logged in with the member account, meaning that I can only edit or delete the comments made with the test member or report other members comments.
  • I’ve also tried the Member impersonation method but the issue is the same.

The above has been tested in both Chrome and Firefox, in the same tab, separate tabs for the dashboard and blog post and private/incognito mode and it’s all the same.What am I missing or doing wrong?

I might also add that even if I get it work, the process of having to have a member account and do a double sign in to moderate comments is rather unintuitive. When I get an email about a reported comment, I have to:

  • Sign in to the dashboard as a staff user.
  • Open the blog post in question.
  • Click the subscribe button.
  • Switch to sign in with an existing account.
  • Enter the email for the “moderation member account”.
  • Wait for the email with the sign in link.
  • Use the sign in link and then finally arrive at the blog post to moderate the comment.

Hopefully this process can be improved upon in subsequent releases, but right now my main issue is that I can’t even access the moderation feature.

1 Like

Ahhh this is so exciting!

I’d love to be able to migrate comments over from cove— will this be possible in the future?

1 Like
  1. When commenting is limited to paid members only, will guests and free members still be able to read and like comments?
  2. Can comments be turned on/off for select pages/posts?
  1. Based on a quick test, if you limit commenting to paid users only:
    a. Guests can read comments and see likes but not do anything else.
    b. Free users can read comments, see likes and report comments.
  2. This sounds similar to Disabling comments on a page?
1 Like

Many thanks for your prompt and helpful follow-up, Provesay!
Much appreciated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.