![]() |
Google+1 / Facebook / Linkedin / Twitter Share Buttons
1 Attachment(s)
Hello VBers!
This is my first modification here, I hope you will find it useful and helpful About Most of us now are aware of the importance of integrating social networks plugins into our websites and the great impact on increasing the site visibility and traffic, social networks made it too easy to share and recommend content which you consider useful for your friends. What we will do now is integrating, Google+1, Facebook, Linked and Twitter share Buttons at your Showthread page Live Demo : Language Teaching & Learning Resources Check it under the signature There is also a photo attached below. Installation We will edit the template : postbit_legacy or postbit ( whatever you use let's assume that I will edit the postbit_legacy. open postbit_legacy, look for this code : Code:
{vb:raw template_hook.postbit_signature_start} add after ( DON'T FORGET TO EDIT THE TWITTER ACCOUNT IN RED): Code:
<vb:if condition="$post[postcount] == 1"> Code:
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script> Known Problems : Linkedin button give error if the thread titles has some characters like @, !!!!!! , etc, hope that once can help sort this out. Disclaimer I have got this idea from this post Thanks naveeid Feel free to Click ' Mark As Installed ' if you used. |
Thank you,
How to hide it in private forums!? |
installed
thank you bro |
hi i am having problems with the google+1 bit. were in the footer do i put that script
|
Quote:
Code:
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script> |
Quote:
Code:
<vb:if condition="$forum[forumid] != FORUM ID">YOUR CODE HERE</vb:if> |
Very good, but it could take just google +1?
thanks and regards |
Quote:
|
thank you nice work
|
|
Hi i used these codes but the google+1 doesn't work,
also i added extra code to footer? vb 4.1.2 |
Thank you
installed |
Quote:
|
Quote:
|
can u be just kind enough to tell me which footer should i add ...i mean should i add the postbit_legacy footer or should i add to something other......pls do reply to this,....anyways its ausumn.....thread
|
At the footer template :)
Let me know if you need further help :) |
Quote:
|
Why Dont Make It
padding: 10px 5px 8px 10px; Instead of padding: 10px 0 8px 10px; So There Will Be A Spave Between Icons |
Quote:
|
facebook is kinda not showing the top thing. and Linkin just shows a there logo.
|
Thank you. I have an issue and not sure if it's related. I checked the URL and seems like when I share on twitter the posted tweet links are like:
Quote:
Thanks |
Thank you...
|
Quote:
|
I tried few and I still have the issue: broken shared links.
|
Any suggestions how to make the Google+1 alignment?
http://www.cozworld.com/threads/1961...r-in-Minecraft!! It seems to be ridding in line with the other bubbles... |
Maybe it's something with vb4.1.4, as you have it installed.
|
i would love to use this but the facebook part doesn't work at all. i love the look of the buttons, but facebook doesn't show until you click it, then there is a +1, and when you load the page in a different browser, or reload it in that browser the number is gone again.
edit just noticed it doesn't save anything for me, it doesn't save google+1 and facebook share doesn't work on for me at all even on links with just the thread id. |
What do I need to do to only add the Google +1? I have all the others.
|
works with 3.8?
|
Thanks for the tip on how to add the Google plus 1. I found a better place to add it though.
|
Not bad of a mod, except the twitter still has
Code:
data-related="aaronwall"> Also users can increase load time if they put: Code:
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script> |
Quote:
|
Fixed, I recently added that new category & the forums within it.
All four browsers have no problem with the Plus 1 code where it's at. However when it comes to the addthis bar: Firefox, IE, Opera display it fine but google chrome wants to set it above the "thread tools" dropdown menu. |
Quote:
What to do now? One more thing with me in the 4.1.4 and vbseo only work with this code, but only for one forum: Code:
<vb:if condition="$GLOBALS[forumid] != FORUM ID">YOUR CODE HERE</vb:if> Best Regards |
<vb:if condition="$GLOBALS[forumid] != 1,2,33,55">YOUR CODE HERE</vb:if>
You can add as many as forums you want. |
Quote:
Dont work give error. Best Regards |
Sorry, did you try this one ?
<vb:if condition="$forum[forumid] != 1,333,55,44,555">YOUR CODE HERE</vb:if> write the forums ID which you want the buttons to appear in. |
Quote:
Code:
<td valign="bottom"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="YOUR TWITTER USERNAME" data-related="aaronwall">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td> Code:
<td valign="bottom"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="Your-Twitter-Name" data-url="{vb:raw vboptions.bburl}/showthread.php?t={vb:raw thread.threadid}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td> |
Tweets not updating. keeps standing on 0
|
Quote:
|
All times are GMT. The time now is 10:25 PM. |
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:
|