Add Google+ Comments to 1st post in SMF

Mick in Tutorials on May 28, 2013

On the 18th April 2013 Google announced that they have made a Google Plus commenting system which you can have on your website just like the Facebook comments. This allows people to come to your site and when they comment on an article this comment will be shared on Google plus.

Demo: Google+ Comment Box

For now, it is available only for blogs on the Blogger platform. But here is an unofficial way to embed Google+ Comments on any Simple Machines Forum:



		// Maybe they want to report this post to the moderator(s)?

Add after:

//Google+ Comments
    if ($message['id'] == $context['topic_first_message'])
<div id="comments"></div>
gapi.comments.render("comments", {
    href: window.location,
    width: "624",
    first_party_property: "BLOGGER",
    view_type: "FILTERED_POSTMOD"

[admin]Source: Official Blog: Bringing Google+ Comments to Blogger[/admin]

Tagged with: google+ comments tuts script smf 


Mick G


Mick is an American theme designer for Simple Machines Forum software currently living in South Florida, USA. He runs idesignSMF and started tinkering with SMF in 2006 where he created several SMF forums of his own before he founded idesignSMF in 2009 to which he is dedicated full time and has a weakness for Pizza.

  Connect with us:


  Improve SMF

If you wish to contribute to the development of SMF you can contribute to the coding discussions taking place on Github. You are also welcome to suggest features which you would like to see added to the software in the Feature Requests board.

  Receive our monthly newsletter right in your inbox.
Commitment issues? Unsubscribe at any time.

Get 100% complete access to our entire collection and find out why 11,210 SMF owners prefer our themes


  Amazingly Simple and Beautiful. Brand spankin' new free SMF themes every month.