![]() |
Works in 5.1.2 (and the line is there). Thanks!
|
<vb:comment>START of Social Buttons Code</vb:comment>
<vb:if condition="$page['view'] == 'thread'"> <style> .share-buttons { float:{vb:stylevar left}; position:relative; padding:8px 10px; height:20px; margin-top:-37px; } .share-buttons.withRB { margin-{vb:stylevar left}:150px; } .share-buttons iframe { float:{vb:stylevar left}; border:none; height:20px; } .share-buttons .facebook { width:135px; } .share-buttons .twitter { width:90px; } .share-buttons #___plusone_0 { width:72px !important; float:{vb:stylevar left} !important; } @media only screen and (max-width:767px) { .share-buttons.withRB { margin-{vb:stylevar left}: 100px; } } @media only screen and (max-width:636px) { .share-buttons { float: none; border: {vb:stylevar toolbar_border}; background:{vb:stylevar toolbar_background}; margin: 0; } .share-buttons.withRB { margin: 0; } } </style> <div class="share-buttons<vb:if condition="(isset($showReplyBtn) AND $showReplyBtn) OR (isset($showAll) AND $showAll) OR $showVmBtn"> withRB</vb:if>"> {vb:set starterRoute, {vb:raw conversation.starterroute}} {vb:set starterPost.nodeid, {vb:raw conversation.starter}} {vb:set threadurl, {vb:url {vb:raw starterRoute}, {vb:raw starterPost}}} <iframe class="facebook" src="//www.facebook.com/plugins/like.php?href=http://www.xxx.org/node/{vb:raw nodeid}&layout=button_count&action=like&show_faces =false&share=true&width=135&he ight=20" scrolling="no" frameborder="0" allowTransparency="true"></iframe> <iframe class="twitter" src="//platform.twitter.com/widgets/tweet_button.html?text={vb:raw conversation.title}%0A&url=http://www.xxx.org/node/{vb:raw nodeid}&counturl={vb:raw threadurl}" scrolling="no" frameborder="0" allowTransparency="true"></iframe> <div class="g-plusone" data-size="medium" data-width="68" data-href="http://www.xxx.org/node/{vb:raw nodeid}"></div> <script type="text/javascript">(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = '//apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script> </div> </vb:if> <vb:comment>END of Social Buttons Code</vb:comment> |
Quote:
any way if gplus one does not work for you just substitute the .js and see if it will work. |
It works for 5.1.4 thanks :D
|
Works great in 5.1.1 :D
|
Nice little add-on, thanks! Works well with vBulletin 5.1.4.
|
Anyone know how to add this to the article (CMS) conversation bar?
|
Very nice! Seems to work well on 5.1.4. Thanks!!!
|
Anyone have any idea how to adjust the code so these DO NOT show up on the floating bar?
|
Great, this is what I was looking for!
|
All times are GMT. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|