Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 09:46 pm EST

Geeklog Forums

Facebook Comments


Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
cheerful
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
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
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

 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Was the new Social Share plugin ever released?
One of the Geeklog Core Developers.
 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
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.
 Quote

Status: offline

samstone

Forum User
Full Member
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
 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
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

 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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&amp;bkmk=<SHAREURL>&amp;title=<SHARETITLE>&amp;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
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 09:46 pm.

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