![]() |
Quote:
|
That's weird but this should fix it...
Edit your headinclude template: Find: Code:
<meta name="description" content="{vb:raw vboptions.description}" /> Code:
<vb:if condition="THIS_SCRIPT == 'showthread'"> This will include a canonical link on your threads (and only threads) which over-rides the URL passed to Twitter, with hopefully, the right one now... If this doesn't work please give me a link to your forums so I can see what is up... |
That worked, cheers for that - much appreciated :)
|
Hi man, nice hack!
I have some little problems... see the image: https://vborg.vbsupport.ru/external/2010/08/22.png I am using this code: PHP Code:
Thanks. |
Quote:
|
Quote:
Quote:
(Copied below for easy reference) If you DO USE the built-in Facebook Like button do the following: Find: Code:
{vb:raw fblikebutton} Code:
<div id="fb_likeframe" style="border: none; overflow: hidden; height: 27px; width: 95px; vertical-align: text-bottom; padding-top:1px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YOUR_TWITTER_USERNAME">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>{vb:raw fblikebutton} The Tweet button will now show up next to the Facebook Like button in anytime the Facebook Like button is displayed in a thread. |
1 Attachment(s)
Yes but like you can see... i am not using the like button... i am using another button, share button (i am using this https://vborg.vbsupport.ru/showthread.php?t=234548 but i want to use both in the same location).
I tried with: PHP Code:
|
If you're using another mod I can't tell you where to put it- but if you can post your say the top third of your showthread template can look at it and try to give you an idea on where to put it and how to customize the code a little.
If you post it, post it without the tweet code at all- whatever you have that works for you now. |
Quote:
Thanks man. |
Quote:
The problem is that the facebook share button appear some pixels lower than the tweet button. Thanks |
All times are GMT. The time now is 09:48 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:
|