The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to integrate Facebook like & Twitter Buttons DigitalPoint Forums Style?
Hello,
I really like the way Facebook Like & Twitter buttons have been integrated in DigitalPoint Forums. It'd be really nice if someone can explain how to do it. --------------- Added [DATE]1285162959[/DATE] at [TIME]1285162959[/TIME] --------------- Anyone? |
#2
|
||||
|
||||
>Bump<
|
#3
|
|||
|
|||
bump
|
#4
|
||||
|
||||
No one at all?
Really? |
#5
|
|||
|
|||
hi
i think they have the code in navbar_link in navigation/breadcrumb template.... add your code there. if u need code use one below and add your own details Code:
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YOUR TWITTER ACC NAME">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="YOUR FORUM URL" layout="button_count" show_faces="true" font="trebuchet ms"></fb:like> |
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Yep, can someone confirm this please?
Thank you for your responses, folks! |
#8
|
|||
|
|||
I guess they always pass on the current URL of the page to the Facebook widget. But I am also curious how to achieve that for the whole site and not just the forum view.
Twitter will pick this up itself. You just can use the code Ukindian provided and edit your Twitter name. For Facebook in threads view, this works for me HTML Code:
<fb:like href="{vb:raw href}"></fb:like> |
#9
|
||||
|
||||
Thanks, I implemented this. How can I modify the look of the Facebook button? Is that possible. Also, the Facebook button looks bit misaligned (not in straight line with Twitter button). Is there any fix for this?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|