Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 03:49 AM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Facebook Comments
   
gtgillis
 11/16/11 10:41AM (Read 1533 times)  
++++-
Regular Poster
cheerful

Status: offline


Registered: 11/05/03
Posts: 89
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

 
Profile Email Website
 Quote
::Ben
 11/16/11 11:41AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
gtgillis
 11/16/11 12:19PM  
++++-
Regular Poster

Status: offline


Registered: 11/05/03
Posts: 89
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: ::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


 
Profile Email Website
 Quote
::Ben
 11/16/11 02:07PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 04/25/12 08:22PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 876
Was the new Social Share plugin ever released?

 
Profile Email Website
 Quote
gtgillis
 04/26/12 08:13AM  
++++-
Regular Poster

Status: offline


Registered: 11/05/03
Posts: 89
Quote by: Laugh

Was the new Social Share plugin ever released?



I am waiting until GL 2.0 comes out since it may break the current plugin code.

 
Profile Email Website
 Quote
samstone
 06/16/12 05:21PM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
Since Geeklog 2.0 Beta is out, are you ready to release a beta version for us to test it out?

Thanks!

Sam

 
Profile Email
 Quote
gtgillis
 06/16/12 06:04PM  
++++-
Regular Poster

Status: offline


Registered: 11/05/03
Posts: 89
I just installed the beta today so I can start porting the plugin.

Quote 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


 
Profile Email Website
 Quote
Laugh
 11/19/12 03:39PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 876
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:

PHP Formatted Code
http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=<SHAREURL>&amp;title=<SHARETITLE>&amp;annotation=<SHARETEXT>


instead of

PHP 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:

PHP 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:


PHP 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

 
Profile Email Website
 Quote
Content generated in: 1.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content