![]() |
How to show 'tweet' button on forum home as in forums.digitalpoint.com?
Have anybody checked this in VB 4.0.6? |
The 4.0.x version of this mod is here: https://vborg.vbsupport.ru/showthread.php?t=248569
Digitalpoint looks like they added the twitter code to one of their breadcrumb templates... You can add it directly below "Forum" (on their page) by adding the code to FORUMHOME template right below the navbar code- so something like: Code:
{vb:raw navbar} |
Thanks Mate !:up:
|
Is there a way to add this on postbit_legacy?
|
If you add this to postbit legacy you'd be tweeting single posts, not threads... but if you really want to...
In Postbit Legacy Find: Code:
<!-- controls --> Code:
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="http://www.juot.net/forums/showthread.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" data-via="YOUR_TWITTER_USERNAME">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> |
Using 3.8.4 and the Tweet counter doesn't work. I also get an error :
"stack overflow : Line 1" when putting on but i just click ok and the error goes away. How would you add these buttons to forum home on 3.8.x ? Great addition and great for driving free traffic |
Where are you getting that error?
As for the counter not working I'm guessing it's because the URL is different when you first submit a new thread or past than it is when you browse to the thread later, so twitter is counting it a different URL. I'm working on a fix for this. |
hi. thank you so much for posting this.
i just installed this and i am trying to get the twitter button beside my fb button..here is my code. what did i do wrong? thanks :) <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="Billyne">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </td></td> <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.nailtechalley.com/forums/showthread.php$session[sessionurl]?t=$threadid" &show_faces=false&width=350&action=lik e&colorscheme=dark&height=30" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:350px; height:30px;" allowTransparency="true"></iframe> </td></tr></table> </if> </td> <!-- / controls above postbits --> |
@birdofprey - iget that error when the tweet page pops up. I tried on laptop and i dont get that error, only on my main pc. Main PC is running XP and IE7 and laptop is running Vista and IE8. Not sure if thats anything to do with it.
Tweet button now counting tweets though after i moved it from postbit_legacy to showthread. Brilliant addition !! |
I do not understand why the button is down the pages.
How do I place above them? Image: https://vborg.vbsupport.ru/ |
All times are GMT. The time now is 07:53 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:
|