Google+ Comments for your site

-> HobbyMan on February 01 2014
Nearly 3000 people have tried my Facebook Comments Panel. I don't use it here because Facebook. However, if like me you're a dedicated Googlephile then you can now add Google+ commenting to your site. It's very simple to implement....

It's easy, just rename includes/comments_include.php to comments_include_old.php
Copy & paste the code below, create a new file called comments_include.php and paste in the code.
Visitors should be able to comment using their Google+ accounts straight away.

| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2014 Nick Jones
| Filename: comments_include.php
| Author: HobbyMan
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
if (!defined("IN_FUSION")) { die("Access Denied"); }


function showcomments($ctype, $cdb, $ccol, $cid, $clink) {

global $settings, $locale, $userdata, $aidlink;

if (FUSION_SELF == "news.php") { $href=
FUSION_SELF."?readmore=".$_GET['readmore']; }
elseif (FUSION_SELF == "downloads.php") { $href=
FUSION_SELF."?cat_id=".$_GET['cat_id']."&download_id=".$_GET['download_id']; }
elseif (FUSION_SELF == "articles.php") { $href=
FUSION_SELF."?article_id=".$_GET['article_id']; }
elseif (FUSION_SELF == "photogallery.php") { $href=
FUSION_SELF."?photo_id=".$_GET['photo_id']; }
elseif (FUSION_SELF == "viewpage.php") { $href=
FUSION_SELF."?page_id=".$_GET['page_id']; }

opentable("Comments<span style='float:right;'><small><i>with
echo"<div style='margin: 0 auto;'>\n";
echo "<div class='g-comments'

Four things:
1. This is a BETA release as it's not been fully tested yet.
2. Google have not officially released this for non-blogger sites although it works perfectly.
3. This will not affect any existing comments in your database at all.
4. Just rename or reload original comments_include.php to revert back.
In Code -  Print  

This news item has been tagged