Lewis P Posted July 1, 2011 Share Posted July 1, 2011 File Name: Google +1 ButtonFile Submitter: Lewis PFile Submitted: 01 Jul 2011File Category: Hooks and Plugins Adds a Google +1 button into your share bar in topics (and any other areas that use the same template)Click here to download this file Link to comment
IPBSupport.de Posted July 1, 2011 Share Posted July 1, 2011 Great, but you should use the small button! Link to comment
Lewis P Posted July 1, 2011 Author Share Posted July 1, 2011 I didn't like how the small button looked. I was going to expand the hook to give users a choice, but since it's going to be in Beta 2, I'm not going to worry now. Link to comment
AlexJ Posted July 1, 2011 Share Posted July 1, 2011 I didn't like how the small button looked. +1 Link to comment
Jυra Posted July 1, 2011 Share Posted July 1, 2011 I'd consider using it if it was smaller and matching a similar size to the other buttons. I'm sure it works perfectly, though. Link to comment
Lewis P Posted July 1, 2011 Author Share Posted July 1, 2011 It is only 4px bigger than the other buttons (2 up, 2 down). It's better than being 6px smaller. Link to comment
Rhett Posted July 1, 2011 Share Posted July 1, 2011 I agree it needs to match the size perfectly Link to comment
Lewis P Posted July 1, 2011 Author Share Posted July 1, 2011 I can't match the size perfectly - I'm limited to the options google gives me. Link to comment
Lewis P Posted July 1, 2011 Author Share Posted July 1, 2011 It might work, but I haven't tested it. Will test and put an update out if necessary. Link to comment
thiskidisevil Posted July 1, 2011 Share Posted July 1, 2011 Please test it! I'm looking forward to +1 at 3.1.4 :-)) Thanks! Link to comment
dogpatch Posted July 3, 2011 Share Posted July 3, 2011 it works fine, but i had to edit the file to take out the "class='right'" so it would line up evenly with the other social icons and i changed the padding to 10px all around and use the small size plus icon to make it look like its been there all along. Link to comment
*Salvo* Posted July 6, 2011 Share Posted July 6, 2011 it works fine, but i had to edit the file to take out the "class='right'" so it would line up evenly with the other social icons and i changed the padding to 10px all around and use the small size plus icon to make it look like its been there all along. Where did you find the class to modify? Link to comment
*Salvo* Posted July 6, 2011 Share Posted July 6, 2011 Ok, changed the html part into the hook GooglePlosone.xml as follows: /* New HTML */ $newHTML = "<div class='left' style='padding: 5px; margin-top: 4px;'> <script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script> <g:plusone size='small' href='{$shareURL}'></g:plusone> </div>"; Link to comment
Jeuhen Posted July 8, 2011 Share Posted July 8, 2011 Doesn't work on 3.1.4 for me .... gives a red exclamation mark. - Yes i know that this is for 3.2 Link to comment
AlexJ Posted July 8, 2011 Share Posted July 8, 2011 Doesn't work on 3.1.4 for me .... gives a red exclamation mark. I think he made it for 3.2.x :) Link to comment
Lewis P Posted July 8, 2011 Author Share Posted July 8, 2011 Doesn't work on 3.1.4 for me .... gives a red exclamation mark. - Yes i know that this is for 3.2 Should work. It might not look pretty, but it does work. Link to comment
*Salvo* Posted July 8, 2011 Share Posted July 8, 2011 Yes, it was in the center, and now with my skin is like below: Not that bad Link to comment
Rhett Posted July 13, 2011 Share Posted July 13, 2011 waste of time as 3.2 will have this built in.... :) Link to comment
Lewis P Posted July 13, 2011 Author Share Posted July 13, 2011 waste of time as 3.2 will have this built in.... :smile: I made this hook about 3 hours before Matt said it would be included. ;) Link to comment
cmiller Posted August 13, 2011 Share Posted August 13, 2011 Im using 3.2 and don't see any sort of share bar or social media integration whatsoever except the usual twitter and Facebook connect? Link to comment
Aisha Posted August 13, 2011 Share Posted August 13, 2011 I made this hook about 3 hours before Matt said it would be included. :wink: You should make it so that it shows up in the primary nav next to the quick nav. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.