Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2 3   Go Down

Author Topic: Socialshare Plugin - New Version - Now with Facebook Comments  (Read 41432 times)

0 Members and 1 Guest are viewing this topic.

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Socialshare Plugin - New Version - Now with Facebook Comments
« on: November 22, 2011, 10:45:10 pm »

I am releasing a new version of the SocialShare plugin that now includes Facebook comments.

You can see an example at http://www.rudebastard.com/coppermine/displayimage.php?album=236&pid=8562#top_display_media.

See the included docs for setup and App ID creation.
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #1 on: November 23, 2011, 12:03:37 am »

thank you, very nice plugin!
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #2 on: November 23, 2011, 02:52:37 am »

I use the template igames so I have hard to read the black text: Do you know if it's easy to change it to a "dark" version (looked at facebooks development site and they have an option about colorscheme "dark")?

Morgan
SWEDEN

http://echinopsis.eu
Logged

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #3 on: November 23, 2011, 05:26:54 am »

To get the dark color scheme edit file codebase.php.

Replace line 300
Code: [Select]
$html .= '<p><div class="fb-comments" data-href="'.$photo_uri.'" data-num-posts="'.$CONF_SOCIALSHARE_CM['comment_num'].'" data-width="'.$CONF_SOCIALSHARE_CM['comment_width'].'"></div></p>';

with this
Code: [Select]
$html .= '<p><div class="fb-comments" data-href="'.$photo_uri.'" data-num-posts="'.$CONF_SOCIALSHARE_CM['comment_num'].'" data-width="'.$CONF_SOCIALSHARE_CM['comment_width'].'" data-colorscheme="dark"></div></p>';

Regards,

Greg


I use the template igames so I have hard to read the black text: Do you know if it's easy to change it to a "dark" version (looked at facebooks development site and they have an option about colorscheme "dark")?

Morgan
SWEDEN

http://echinopsis.eu
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #4 on: November 23, 2011, 09:10:24 am »

Thank you very much Greg, that did it!  :)
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #5 on: November 23, 2011, 11:59:23 am »

I have an issue with the thumbnail attached to the facebook comment:

Every time I make a comment on my CPG the comment inside my facebook has the wrong thumbnail attached. The chosen thumbnail for the attachment is always the thumbnail one step to the left, in filmstrip.

I've tried to change in config how many thumbs showing but this won't do it.

Is there any possibillity to change what thumbnail is attached by editing the code of this plugin?

Morgan
http://echinopsis.eu
Logged

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #6 on: November 23, 2011, 05:19:11 pm »

I have tested this on three different sites and can't reproduce the problem. I left a comment on http://echinopsis.eu/displayimage.php?album=lastup&cat=0&pid=5437#top_display_media and it is showing the wrong photo in Facebook. Do you have some other plugins installed?


I have an issue with the thumbnail attached to the facebook comment:

Every time I make a comment on my CPG the comment inside my facebook has the wrong thumbnail attached. The chosen thumbnail for the attachment is always the thumbnail one step to the left, in filmstrip.

I've tried to change in config how many thumbs showing but this won't do it.

Is there any possibillity to change what thumbnail is attached by editing the code of this plugin?

Morgan
http://echinopsis.eu
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #7 on: November 23, 2011, 08:17:13 pm »

Thank you for your effort gtGillis!

I have these plugins installed:
(onlinestats): v2.6
(opensearch): v1.4
(usergal_alphatabs): v1.6
(forum): v2.1 BETA
(bbcode_control): v1.9

Morgan
SWEDEN
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #8 on: November 24, 2011, 12:05:26 am »

I've moved this plugin to the top (in plugin admin). I've removed old plugins that were not in use. Can't solve this. I don't know how to search for errors.

Anyone know how to proceed, it would be nice to have this plugin working!

Thanks!

Morgan Larsson
Sweden

http://echinopsis.eu
Logged

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #9 on: November 25, 2011, 12:30:21 pm »

Hi gtgillis!
Thanks for this plugin. 2 questions to you:
1. Are you going to add Google+ button to list of social networks?
2. Is it possible somehow to inform user/admin about added via facebook comments ?

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #10 on: November 25, 2011, 01:26:45 pm »

Hi gtgillis!
Thanks for this plugin. 2 questions to you:
1. Are you going to add Google+ button to list of social networks?
2. Is it possible somehow to inform user/admin about added via facebook comments ?

If I'm not wrong you can add or edit what social networks/what buttons you want to this plugin. There is info inside "docs".

(about my trouble with wrong thumbnail, posted previously in this thread, the trouble occurs occasionally for me and not every time).

Morgan Larsson
Logged

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #11 on: November 25, 2011, 06:59:12 pm »

If I'm not wrong you can add or edit what social networks/what buttons you want to this plugin. There is info inside "docs".
Unfortunately i couldn't get how to add Google+ using this stuff :(

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #12 on: November 25, 2011, 11:16:38 pm »

You can moderate the comments here -> https://developers.facebook.com/tools/comments

I'll have to look at google+ and get back to you.

Hi gtgillis!
Thanks for this plugin. 2 questions to you:
1. Are you going to add Google+ button to list of social networks?
2. Is it possible somehow to inform user/admin about added via facebook comments ?
Logged

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #13 on: November 25, 2011, 11:18:18 pm »

I dig in the code this weekend and let you know what I find.

I've moved this plugin to the top (in plugin admin). I've removed old plugins that were not in use. Can't solve this. I don't know how to search for errors.

Anyone know how to proceed, it would be nice to have this plugin working!

Thanks!

Morgan Larsson
Sweden

http://echinopsis.eu
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #14 on: November 25, 2011, 11:29:26 pm »

Thank you very much gtgillis, it would be real nice to have this plugin showing the proper thumbnail on my gallery!

Morgan Larsson
Logged

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #15 on: November 26, 2011, 05:18:17 am »

You can moderate the comments here -> https://developers.facebook.com/tools/comments

I'll have to look at google+ and get back to you.

Create a new share and use this ->
Code: [Select]
https://plusone.google.com/_/+1/confirm?hl=en&url=http://<SHAREURL>When you click the link you will see the field that says share whats new. Enter some text and the photo will show up then click share. You will have to manually close the window. There may be a better url but I have yet to find it.

Look for logos here
http://www.google.com/search?tbm=isch&hl=en&source=hp&biw=1920&bih=946&q=gppgle+plus+logo&gbv=2&oq=gppgle+plus+logo&aq=f&aqi=&aql=&gs_sm=e&gs_upl=2716l9044l0l9435l16l15l0l4l0l0l234l1727l1.7.3l11l0
« Last Edit: November 26, 2011, 05:31:52 am by gtgillis »
Logged

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #16 on: November 26, 2011, 10:17:07 am »

Yep, google+ is working now, thank you!
Re to facebook: it looks like i need to create facebook application first to get access to this comments page. Am i right?

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #17 on: November 26, 2011, 10:31:25 am »

Yep, google+ is working now, thank you!
Re to facebook: it looks like i need to create facebook application first to get access to this comments page. Am i right?

You are right, I've made one.

Morgan
Logged

gtgillis

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 40
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #18 on: November 26, 2011, 03:46:41 pm »

Yep, google+ is working now, thank you!
Re to facebook: it looks like i need to create facebook application first to get access to this comments page. Am i right?

Yes, there are detailed instruction in the plugin docs or you can read theme here ->http://www.rudebastard.com/coppermine/plugins/socialshare/docs/help.htm#_Facebook_app.
Logged

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses
Re: Socialshare Plugin - New Version - Now with Facebook Comments
« Reply #19 on: November 26, 2011, 05:39:59 pm »

Tried to follow this instruction
Created app than enter $CONF_SOCIALSHARE_CM['comment_appid'] and $CONF_SOCIALSHARE_CM['comment_nameid']
Comment page is available at the picture page. But moderation queue in FB still empty. Suspect the problem is simple, but cant understand :)
Pages: [1] 2 3   Go Up
 

Page created in 0.026 seconds with 19 queries.