Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 1, 201113 yr 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
July 1, 201113 yr Author 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.
July 1, 201113 yr 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.
July 1, 201113 yr Author It is only 4px bigger than the other buttons (2 up, 2 down). It's better than being 6px smaller.
July 1, 201113 yr Author I can't match the size perfectly - I'm limited to the options google gives me.
July 1, 201113 yr Author It might work, but I haven't tested it. Will test and put an update out if necessary.
July 3, 201113 yr 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.
July 6, 201113 yr 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?
July 6, 201113 yr 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>";
July 8, 201113 yr Doesn't work on 3.1.4 for me .... gives a red exclamation mark. - Yes i know that this is for 3.2
July 8, 201113 yr Doesn't work on 3.1.4 for me .... gives a red exclamation mark. I think he made it for 3.2.x :)
July 8, 201113 yr Author 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.
July 13, 201113 yr Author 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. ;)
August 13, 201113 yr 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?
August 13, 201113 yr 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.
Archived
This topic is now archived and is closed to further replies.