The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
facebook like button in all post
hi, is there any mod that does this? adding " like " button in every post in a thread.?
|
#2
|
|||
|
|||
can anybody advisehow to make fb "like" button be on every post of a thread? meaning user can click on like button on a thread on 3rd post but does not include the 1st post?
|
#3
|
||||
|
||||
Code:
<iframe src="http://www.facebook.com/plugins/like.php?app_id=158420884225410&href=$vboptions[bburl]/showthread.php?p=$post[postid]#$post[postid]&send=false&layout=standard&width=450&show_faces=true&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> |
#4
|
|||
|
|||
i need the fb "like" button to be on every post. which mean. a fb user can like #3 alone exculde #2 and #1.
or he can only like #2 and not #1 and #3. anybody? |
#5
|
||||
|
||||
:erm: Did you try what I posted?
|
#6
|
|||
|
|||
i tried it.. i dont know why it seem like there some error alway.
it work for the 1st time. when i do a refesh, and i click again at any post, its showing that the whole thread was "like" --------------- Added [DATE]1305605918[/DATE] at [TIME]1305605918[/TIME] --------------- and sometime, when a "like" is click, 2 or 3 post will alway have the "like" together instead of the whole thread. |
#7
|
||||
|
||||
I see what you are saying but there is no way to do what you want to do. The code I have will "Like" a specific post, if someone follows the link on Facebook they will be brought to that specific post.
However, the "counts" will never work correctly because facebook counts by the URL... But you never would browse your forum by the URL of the specific post (showthread.php?p=XXX#XXX) but usually by threads (showthread,php?t=YYY)- so the like's won't be counted by facebook correctly. Unfortunately there is no easy way of disabling the count as far as I know. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|