Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen) - Page 2 Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen) - Page 2
 

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]

Main Menu

Social Sharing Plugin (Facebook Like/FB Share/FB Comments/Twitter/VZ zeigen)

Started by 1aB, January 26, 2011, 11:23:21 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

newx

Got it -i've switched to php5.

Works now! *yeah* exept pulling images while using "Share"...

thx NewX

TeknoSounds

Oops tested that too...link pops up but no thumbnail for the image :(

1aB

v1.2 here; at the moment I can still do quite fast, cannot promise forever ;)

@TeknoSounds: new album-level options, they can visually be placed on the thumbnails page. Unfortunately I did not find a way to hook into the album descriptions on the index page; that would have been cool but seems impossible unless we get a new hook from Coppermine developers for that :)

@newx: the plugin now does not use http_build_query() any more. Not sure if it would break for you at another point now, or whether it would work now. Would appreciate a test :)

@Quinn: from your PM, I have found a few issues which might play a role when working together with the Lightbox plugin. Should work better now.

Thanks all!
Roland

TeknoSounds

Quote from: 1aB on January 27, 2011, 06:33:25 PM
v1.2 here; at the moment I can still do quite fast, cannot promise forever ;)

@TeknoSounds: new album-level options, they can visually be placed on the thumbnails page. Unfortunately I did not find a way to hook into the album descriptions on the index page; that would have been cool but seems impossible unless we get a new hook from Coppermine developers for that :)

Thanks all!
Roland

No, no, thank you!  Amazing work!

You can request a new hook point, hopefully they'll oblige.  Please! :)

Okay, so something I was just pondering... how are we to see when comments are made on pictures? previously we had the ability to hit Last Comments or as Admins, Review Comments.  But since this is store via FB now instead of coppermine... hmm. 
I guess a solution would be, is there a way to have it post to the wall of the App when someone makes a comment? I need to ask vB about this too...

1aB

Hook is now requested :)

What use the Facebook commenting is... or how to use it best, no idea.
Just a pity that Facebook seems to be blocking the commenting functionality that I had seen with href= for a few hours. (It had properly picked up the site_name/appname then, and even when somene commented the comment on the user's wall, those comments have been added back into the comments stream in the gallery ...which with only url= is not happening. :( ) Maybe worth to research / check every once in a while if Facebook officially brings back those features, rather than saying "not yet enabled for your domain" when it sees the href attribute... (or does someone know a different approach/solutuon for this?)

TeknoSounds

Found an answer to one of my questions...you can at least be set to notified of comments made in the gallery.
To set it up, when viewing a picture, click the Administer Comments under the Post button of the comment field
Check the box next to Notification Subscribers

newx

Hi,

i am going to test that this evening (the share with pic problem)

But i have one more idea:
Many Blogs using disqus for their comments (http://disqus.com/)
Is there a way to implement disqus in this plugin?
So that you can choose if you like to use fb.comments or disqus one.

Greetz NewX

1aB

I haven't heard of Disqus before, but I have now put their Universal Code in the plugin's social_sharing_makelinks and social_sharing_makealbumlinks() functions ...and at least I can "see something" with the "example" shortname. I read at Disqus that they want one to register with them ...so I call this "untested" now, and let me know how it works :-)

newx

As Steve Jobs would say: Awsome! Amazing!
This little Plugin turns the "old" CPG into a very 2.0 application! Great work!
Great that you thought about commenting albums - geil!

Now lets make it better :D
FB Share still pics pictures at sharing (but the "new" like buttons also allows sharing - so the "old" share on is superfluous)

Disqus
I like disqus..
I registered an get a username.
I picked "show fabeook and twitter login buttons" but they wont show up.
Everythings else seems to work as it should.

Greetz NewX

newx

The url transfer for disqus comments seems to be invalid.
At the disqus backend theres might be missing the album ID so that you cant return (and cant find) to the comment.
the red strokes in attachment

newx

An it should be disable-able at the Homepage (CPG-Index Page)
There it appears between lastview and lastup pictures ;)

newx

Ok tested al littel longer now.

Summarized:

  • Disqus ID to albums and single pictures doesn not work correctly
  • Facebook Comments working perfect on Single Pics, on album pages ist loading and loading . . .
  • other problems i described above


Greetz NewX

1aB

@newx: Okay, I found a couple of mistakes that I had made in the code. And fixed them.
I think each of those mistakes relates to one of the problems that you mentioned. :)
So they might be fixed with v1.4 now. ;)

@TeknoSounds: Cool placement that the FB Share button really fits into the album title bar on your site. In the <span> attributes configuration you might want to try whether style="padding-left: 2ex;" would separate it a bit from the text and does not glue directly to it ;-)

newx

Thank you so much!
If you want to have a look:
http://bit.ly/fpHE2s

Seems to work perfect!

The CPG seems to be a total diffrent application now - great!

1aB

@newx, really cool site with a fresh design for the gorgeous art not only in the pics but also in the hairstyles. I just notice the OpenGraph metags seem to be missing in the headers of your site, which makes the sharing/liking to Facebook ...suboptimal. Try to set the social_sharing plugin as last one in the plugins chain, and if it should eat up any other plugin's output (I think it won't, I have already fixed two bugs in that area :)) let me know.
That some of the pictures are not displaying to me, I hope is not my plugin's fault but due to something else???

newx

Damn!
Didnt know that some pics doesnt show o_O also dont know why it is like this.
I now uninstalled all plugins and reinstalled yours. Thats what happend now:

Fatal error: Call to undefined function htmlspecialcgars() in /homepages/29/d320159611/htdocs/friseurfragen/frisurengalerie/plugins/social_sharing/codebase.php on line 453

but i am sure we get it working ;)

newx

the above show error shows up now at more pictures, not at all pictures.
cant figure out whats the different between pics the error appears and pics which where correctly show up . ..


grrr

1aB

Ouch, what a stupid typo that I made.
Of course it should not be htmlspecialcgars but htmlspecialchars -- from line 453 means it happens on pictures that do not have a title set, so that plugin uses the filename as title.
You can safely correct the spelling, and so will I.
Sorry to all!

TeknoSounds

Quote from: 1aB on January 29, 2011, 03:17:59 PM@TeknoSounds: Cool placement that the FB Share button really fits into the album title bar on your site. In the <span> attributes configuration you might want to try whether style="padding-left: 2ex;" would separate it a bit from the text and does not glue directly to it ;-)
Ah hey thanks for looking at that and providing the fix :D worked like a charm!

newx