• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[ValveTime.net] Google+ Share Button 1.0

No permission to download
This add-on is not affiliated with XenForo Ltd.


OVERVIEW:

This add-on (simple template edits or TMS add-on) replaces the default Google +1 button with the new Google+ Share Button. Details can be found here.

INSTALLATION:
With Template Modification System installed (recommended)



1) Download file
2) Nothing to upload just go to Install Add On in Admin CP and install using provided XML file.

_________________________________
INSTALLATION:
Without Template Modification System installed

1) No need to download file
2) Go to template share_page and find:
Code:
<div class="plusone shareControl">
<div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}"></div>
3) Replace with:
Code:
<div class="plusone shareControl" style="padding-right: 30px;">
<xen:require js="//apis.google.com/js/plusone.js" />
<div class="g-plus" data-action="share" data-annotation="bubble" data-href="{$url}"></div>
4) Now go to template sidebar_share_page and find:
Code:
<div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}"></div>
5) Replace with:
Code:
<xen:require js="//apis.google.com/js/plusone.js" />
<div class="g-plus" data-action="share" data-annotation="bubble" data-href="{$url}"></div>
All done :)

EDIT: The end result should look like this:

Sidebar:
sharethispage_1.PNG


Share near footer:
sharethispage_2.PNG




And just in case you're thinking, "what's the difference"?

+1 button looks like this:

Captu.PNG



The behaviour of the two buttons is different as well.

The new share button pops up a box, and allows you to customise how the content you're sharing will look and who you're sharing it with.
Author
Chris D
Downloads
72
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from Chris D

Latest reviews

Works great with TMS previously installed. Simple, easy, and no configuration necessary. Excellent mod.
Thank you very much
Does what it says on the tin :)