Posted on: 11/16/11 10:41am
By: gtgillis
I am currently testing the addition of Facebook comments to the SocialShare plugin for Geeklog. I still have some work to do cleaning it up before I release it but I wanted to try and get people to take a look and leave comments on my test site to make sure I haven't missed something.
See
www.rudebastard.com[*1]
Re: Facebook Comments
Posted on: 11/16/11 11:41am
By: ::Ben
Nice job Greg.
Could it be a config setting :
1. not use facebook comment with SocialShare plugin
2. only display facebook comment form on article.php page
Also, I noticed the Share links don't work on your site.
Thanks,
Ben
Re: Facebook Comments
Posted on: 11/16/11 12:19pm
By: gtgillis
The share links are fixed.
I plan on having a config setting to enable or disable the comments and share links.
I'll also add a setting to only show the comments on the individual article pages.
Regards,
Greg
Quote by: ::BenNice job Greg.
Could it be a config setting :
1. not use facebook comment with SocialShare plugin
2. only display facebook comment form on article.php page
Also, I noticed the Share links don't work on your site.
Thanks,
Ben
Re: Facebook Comments
Posted on: 11/16/11 02:07pm
By: ::Ben
I plan on having a config setting to enable or disable the comments and share links.
I'll also add a setting to only show the comments on the individual article pages.
Very good news.
Thanks,
Ben
Re: Facebook Comments
Posted on: 04/25/12 08:22pm
By: Laugh
Was the new Social Share plugin ever released?
Re: Facebook Comments
Posted on: 04/26/12 08:13am
By: gtgillis
Quote by: LaughWas the new Social Share plugin ever released?
I am waiting until GL 2.0 comes out since it may break the current plugin code.
Re: Facebook Comments
Posted on: 06/16/12 05:21pm
By: samstone
Since Geeklog 2.0 Beta is out, are you ready to release a beta version for us to test it out?
Thanks!
Sam
Re: Facebook Comments
Posted on: 06/16/12 06:04pm
By: gtgillis
I just installed the beta today so I can start porting the plugin.
Quote by: samstoneSince Geeklog 2.0 Beta is out, are you ready to release a beta version for us to test it out?
Thanks!
Sam
Re: Facebook Comments
Posted on: 11/19/12 03:39pm
By: Laugh
Hey Sam,
I found a few things for you to update when you release the socialshare plugin. I was doing some markup evaluations and found a few errors.
First the links you store in the db for the social networks. You should be using the html entity fo & in your urls like so:
Text Formatted Code
http://www.google.com/bookmarks/mark?op=edit&bkmk=<SHAREURL>&title=<SHARETITLE>&annotation=<SHARETEXT>
instead of
Text Formatted Code
http://www.google.com/bookmarks/mark?op=edit&bkmk=<SHAREURL>&title=<SHARETITLE>&annotation=<SHARETEXT>
The second item deals with when you add the html for the socialshare. instead of having:
Text Formatted Code
$html = '<link rel="stylesheet" href="'.$_CONF['site_url'].'/socialshare/sociable.css" type="text/css" media="screen" charset="utf-8">';
you should use Geeklogs API and create the function plugin_getheadercode_socialshare so that the link automatically gets added to the pages header like so:
Text Formatted Code
function plugin_getheadercode_socialshare()
{
global $_CONF;
$html = '<link rel="stylesheet" href="'.$_CONF['site_url'].'/socialshare/sociable.css" type="text/css" media="screen" charset="utf-8">';
return $html;
}
That's it :-)
Thanks
Tom