1. 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

Replaces the default +1 button with the new Google+ Share Button

  1. Chris D
    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.
    Pinn, KC2T and freecode like this.

Recent Reviews

  1. xIsabel38
    xIsabel38
    5/5,
    Version: 1.0
    Works great with TMS previously installed. Simple, easy, and no configuration necessary. Excellent mod.
  2. nukedi
    nukedi
    5/5,
    Version: 1.0
    Thank you very much
  3. RobinHood
    RobinHood
    5/5,
    Version: 1.0
    Does what it says on the tin :)