Advanced search  

News:

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

Pages: 1 2 3 4 [5]   Go Down

Author Topic: Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen)  (Read 75424 times)

0 Members and 1 Guest are viewing this topic.

Sonya54

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44

Hi everyone,

When i share a page with Twitter, there is an automatic text on the small window with the tittle and the link, I would like to add my twitter account, but i don't find where i can change the code, i think it's on codebase.php but i am lost

Somebody can Help me ?

Thanks :)
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary

Hmmm... Share link doesn't work to me on my page, but like and twitter does.
What's my problem?  :o

Here is my webpage:
http://foto.acegem.hu/displayimage.php?album=lastup&cat=0&pid=1074#top_display_media

And here is a developer documentation to share (?):
https://developers.facebook.com/docs/reference/dialogs/feed/
https://developers.facebook.com/docs/reference/plugins/like/

Share button was dropped on FB? Or need modify this plugin to FBML?
http://stackoverflow.com/questions/11537996/facebook-share-button-is-it-officially-dead


Update: I found a temporary solution!

Open codebase.php and find this:
Code: [Select]
.  '<a name="fb_share" type="'.$CONFIG['plugin_social-sharing_fbshare_type'].'" share_url="'
replace with this:
Code: [Select]
.  '<a name="fb_share" class="fb-share-button fb_iframe_widget" data-type="button_count" fb-xfbml-state="rendered" share_url="'
« Last Edit: April 23, 2013, 11:02:17 am by mykee »
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

skyone

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 75

Thank you so much for this plugin :-*
Logged

André Müller

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26

Hi Roland,

first of all, great work with that plugin! Runs nicely so far.
I have one question / suggestion regarding the selection of Categories where you want the share buttons to appear. I realised, that if you allow one category, that does not mean that you allowed subcategories as well. Under certain circumstances that might be a nice option if not too hard to implement.
Further, is it possible to disallow certain categories instead of allowing all the others? What if my category names have special characters? Both does not work for me yet.

Any help on this would be very much appreciated!

Cheers,
André

www.fotowald.de (1.5.24)
Logged

André Müller

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26

Hi all,

I finally found a solution to disallow a single category and allow all the others. The expression
Code: [Select]
/^(?:[^P]+|P(?!rivat))*$/Disallows the category "Privat" but includes all the others. This is exactly what I was looking for. Just in case this is useful for others as well.

Cheers,
André
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary

I found a bug with Flash Upload: file uploaded, there is in album, but I get an alert window with thumbnail path, and get "Upload failed" message. If disable this plugin, then flash upload is working correctly.

I attached my plugin version and I use 1.5.24 version.
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Lunado

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11

Hello
I have a little problem with this plugin (which is excellent):
I have forbidden comments powered by Disqus, but it is displayed.
Added comment will be displayed after refresh the whole page
Displays an error has occurred, a warning.

http://www.krajinou.sk/cpg/displayimage-14-4686.html#top_display_media
Cpg 1,5,24   last version plugin
Logged

oasisrain

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

Hello, I've gotten most to work, but having a hard time figuring out facebook comment part. Instructions a bit unclear. I already had an app made for my site while back
(http://www.oasis-ultimate.com/galleryfb.png)

Where it is circled red where i'm stuck. I know I don't have the right info in those boxes? the app id and what's in the other one?

Thanks! Really need the help



Logged

oasisrain

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

Hello, I've gotten most to work, but having a hard time figuring out facebook comment part. Instructions a bit unclear. I already had an app made for my site while back
(http://www.oasis-ultimate.com/galleryfb.png)

Where it is circled red where i'm stuck. I know I don't have the right info in those boxes? the app id and what's in the other one?

Thanks! Really need the help
Excuse me, but the image link did not work.
Logged

dimangelid

  • Coppermine newbie
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 15

I just installed the plugin to my installation (version 1.5.21) and it works ok but i have an annoying problem. When i use Facebook Object Debugger i see that if i share a picture it should look like the first attachment, which is the right and what i want. But if i share that picture on my profile, in a group or in a page it looks like the second attachment. At the third attachment is what Facebook Object Debugger sees about that picture URL. Of course i have tried to share another photo but i have the same result. Thanks for any help.
Logged

netb

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81

You could just use something like the AddThis Sharing buttons script and here's how you can mod the gallery theme to have the Open Graph meta tags. http://forum.coppermine-gallery.net/index.php/topic,76929.0.html
Logged

dimangelid

  • Coppermine newbie
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 15

You could just use something like the AddThis Sharing buttons script and here's how you can mod the gallery theme to have the Open Graph meta tags. http://forum.coppermine-gallery.net/index.php/topic,76929.0.html

I used some information on the thread you suggested and i managed to set the OpenGraph tags for each picture, except it's description (og:description tag) and now when i share the photo at facebook it looks exactly as i want. But because the Social Sharing Plugin is more easy to configure and use, i would like to use that instead of manually modifying the code. Is there any solution?
Logged

dimangelid

  • Coppermine newbie
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 15

I used some information on the thread you suggested and i managed to set the OpenGraph tags for each picture, except it's description (og:description tag) and now when i share the photo at facebook it looks exactly as i want. But because the Social Sharing Plugin is more easy to configure and use, i would like to use that instead of manually modifying the code. Is there any solution?

I fixed the problem by removing the following line from codebase.php on the plugin's folder:
$socialmeta .= '<meta name="medium" content="image" />'.$newline;

Now the plugin works exactly as i wanted :) :)
Logged

dimangelid

  • Coppermine newbie
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 15
Re: Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen)
« Reply #93 on: September 25, 2015, 10:48:00 pm »

I found a bug with Flash Upload: file uploaded, there is in album, but I get an alert window with thumbnail path, and get "Upload failed" message. If disable this plugin, then flash upload is working correctly.

I attached my plugin version and I use 1.5.24 version.

I noticed the same bug as mykee . I have the latest version of the plugin and i'm trying it on three different coppermine versions: 1.5.20 , 1.5.21 , 1.5.38. The Social Sharing Plugin has helped me a lot and i don't want to disable it but i also need the functionality of the Flash Upload . Is there any solution to fix that?
Logged

wazzaworld

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Hi All,

Has anyone seen an issue in posts to Facebook where the page title contains an apostrophe? I am seeing the post appear with "&039;" instead of the apostrophe.

Example here:
http://www.creativefilm.com/photos/thumbnails.php?album=26

Twitter seems fine with it.

Hope you can help. Thanks.

Logged

dimangelid

  • Coppermine newbie
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 15
Re: Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen)
« Reply #95 on: September 24, 2016, 01:27:01 am »

I noticed the same bug as mykee . I have the latest version of the plugin and i'm trying it on three different coppermine versions: 1.5.20 , 1.5.21 , 1.5.38. The Social Sharing Plugin has helped me a lot and i don't want to disable it but i also need the functionality of the Flash Upload . Is there any solution to fix that?

Hello again,
That problem still remains unresolved. Has anyone found a solution? Or another way to provide our members the ability to upload more than one photos at a time?
Logged
Pages: 1 2 3 4 [5]   Go Up
 

Page created in 0.021 seconds with 21 queries.