![]() |
I recommend using this line for the Twitter code, you'll note it has the data-url attribute the original code does not. This will force Twitter to count and link to the page via a single URL- it will not vary based on how the user is browsing the page...
Code:
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YOUR_TWITTER_USERNAME" data-url="$vboptions[bburl]/showthread.php?t=$thread[threadid]">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> |
Thanks for posting this! Took me awhile to get it where I wanted it (put it in my postbit legacy) and getting it lined up.
|
How do you install this next to Thread Tools like the Demo Site?
|
To do it next to thread tools like currently in the demo (March 2011):
Edit SHOWTHREAD template... FIND the code below and ADD the code in RED Code:
<td class="tcat" width="100%"> |
Thank you, got it working.
|
Quote:
|
I don't have access to VBSEO sorry. You can disable the count from showing by changing data-count="horizontal" to data-count="none" in the code. Another option would be to ask in the VBSEO forum if anyone has the tweet button working. This is just the standard install instructions from Twitter, there's not much I can do about it.
|
Quote:
Doing this is going to post the link for viewing a single post correct? If yes, is there a way to do this so that you can tweet the single post but instead of the link taking you to the view single post it takes you to the section of the thread that has that post? Hope that makes sense.. EDIT: Never mind figured it out on my own.. |
thanks!
|
All times are GMT. The time now is 09:08 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:
|