PDA

View Full Version : Mini Mods - Improved code for Facebook Like button on POST/Thread


naveeid
01-07-2013, 11:00 PM
hi friends

here is simpler and improved and updated code for facebook like button given on the top right of every post and thread.

Pre requirement.
you have enabled and configured facebook options from vbulletin admin panel

Installation
just go to admin panel

edit style manage

edit facebook templates

open facebook_likebutton

remove all the given code

and paste this code



<div align="right" class="fb-like" data-href={vb:raw href} data-send="true" data-layout="button_count" data-width="45" data-show-faces="true" data-font="verdana"></div>




thats all , its so simple.

see the attached imaged for demo

Rich
01-10-2013, 03:22 AM
I just tried this out and it didn't appear at all. I put the default code back and that works just fine.

naveeid
01-10-2013, 04:14 AM
:( for me its working. have you enabled fconnect and other facebook settings?

Rich
01-11-2013, 11:09 PM
My post before yours answers your question. The default code works which means I must have it enabled.

naveeid
01-12-2013, 06:32 AM
fconnect button is enabled on your website?

RedTurtle
01-12-2013, 09:58 PM
I just tried this out and it didn't appear at all. I put the default code back and that works just fine.

:( for me its working. have you enabled fconnect and other facebook settings?

My post before yours answers your question. The default code works which means I must have it enabled.

fconnect button is enabled on your website?

https://vborg.vbsupport.ru/external/2013/01/1.gif

naveeid
01-13-2013, 02:35 PM
brother i am asking this because i have not only enabled facebook settings but also fconnect is enabled. and this code is working very fine. you can check on my website given in signatures.

naveeid
01-13-2013, 02:35 PM
@red turtle :D :D thanks for highlighting the issue :p

BUDIMAN
01-30-2013, 01:56 PM
Tq....worked..