vBulletin Mods

The Official vBulletin Modifications Site

facebook like button in all post
by jskoh
14 May 2011 12:15

hi, is there any mod that does this? adding " like " button in every post in a thread.?

jskoh 15 May 2011 20:33

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?

BirdOPrey5 16 May 2011 21:19

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This code should work for specific posts. Put it somewhere in your postbit/legacy template, wherever works for your needs.

jskoh 17 May 2011 03:04

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.


BirdOPrey5 17 May 2011 03:54

:erm: Did you try what I posted? :confused:

jskoh 17 May 2011 04:15

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 17 May 2011 at 04:18 ---------------

and sometime, when a "like" is click, 2 or 3 post will alway have the "like" together instead of the whole thread.

BirdOPrey5 17 May 2011 10:46

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.

All times are GMT. The time now is 18:58.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.