forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Jeff Bailey on October 03, 2011, 04:44:38 pm

Title: Google +1 Button Plugin
Post by: Jeff Bailey on October 03, 2011, 04:44:38 pm
This plugin adds the Google +1 button below your intermediate photos.
Give me a heads up if anything gets messed up.

Plans:
I'll add configuration options in the future. For now you can visit https://developers.google.com/+/plugins/+1button/ to make changes. Just update the code to reflect.

Plugin is attached.

Updates:
Changed function name as Αndré suggested.
v1.2 fixed SWF Upload error.
Title: Re: Google +1 Button Plugin
Post by: mitko on October 05, 2011, 07:37:17 am
It removes from the page all other social network links (if these plugins installed). Is it possible to make them compatible with others?
Title: Re: Google +1 Button Plugin
Post by: Jeff Bailey on October 05, 2011, 01:35:08 pm
Please post the links to the plugins your having trouble with. You could also try ordering your plugins different in the plugin manager.
Title: Re: Google +1 Button Plugin
Post by: Αndré on October 05, 2011, 02:37:54 pm
The function name add_button was maybe not the best choice. You should rename it to something more unique, e.g. plus_one_button_file_data. I don't know if this is somehow related to the issue mitko reported, nor tested the plugin.
Title: Re: Google +1 Button Plugin
Post by: Jeff Bailey on October 05, 2011, 04:44:49 pm
updated as suggested.
Title: Re: Google +1 Button Plugin
Post by: mitko on October 06, 2011, 09:09:27 pm
OK i solved the problem.
I had 2 plugins:
SocialShare Plugin (socialshare): v1.2
Social Sharing (social_sharing): v1.5
Buttons of these plugins are available only if Google + button plugin is located above them in the list of plugins.
BTW formatting of google + button is not the best (see for example here: http://www.lightphotos.net/photos/displayimage.php?album=8&pid=42 )
Is it possible to add more space between photo and button and center it to the photo location?
Title: Re: Google +1 Button Plugin
Post by: Jeff Bailey on October 06, 2011, 09:20:51 pm
I'll see what I can do. It is actually supposed to be left aligned on the photo. I'll take a look at those other plugins and get to work on it tomorrow.
Title: Re: Google +1 Button Plugin
Post by: mitko on October 12, 2011, 12:36:08 pm
Jeff, i've found one more serious problem: if plugin is activated multiple upload (SWF based) doesn't work. It shows some strange error message: blank with just the link to the file. Disable plug-in and everything start to work immediately. Can you check please? 
Title: Re: Google +1 Button Plugin
Post by: olli80 on November 24, 2011, 01:57:27 pm
going to test it!

Google+ OWNs :)
Title: Re: Google +1 Button Plugin
Post by: J-Bo on September 14, 2012, 02:22:05 am
My site: http://www.amdwallpapers.com/gallery

Ok the issue last mentioned has not been addressed("...if plugin is activated multiple upload (SWF based) doesn't work."). Are there any plans to correct this?

Google+ is gaining popularity and I, along with others I am sure, would love to get this plugin working and configurable.

Thanks again for the wonderful gallery and all the effort you guys put into it,
Jason
Title: Re: Google +1 Button Plugin
Post by: Jeff Bailey on September 14, 2012, 04:05:16 am
Try v1.2, problem should be fixed.
Looks like the upload still worked but the page generated an error anyway.
Title: Re: Google +1 Button Plugin
Post by: J-Bo on September 15, 2012, 07:46:33 am
Thanks for the reply Jeff Bailey!

AMDwallpapers.com is for sharing artwork and wallpapers with open registration. Having errors pop up when users upload images would probably scare off a lot of users. I will leave it uninstalled until this is sorted.

Mean while I will look at Google's tools to script it and see what happens. :)

Thanks again,
Jason
Title: Re: Google +1 Button Plugin
Post by: Jeff Bailey on September 15, 2012, 08:10:23 am
I said the problem should be fixed in v1.2, I confirmed it on my testbed but would like you to make sure it works for you.