PDA

View Full Version : Like button adding up all likes across the site.



mrthongking
08-24-2015, 10:16 PM
On the FAQ it is number 20.

I just need some help on how to use the

unique "data-identifier" parameter for each like button:

support
08-25-2015, 04:28 PM
Hi,

There is the instruction how to specify the identifier in vBulletin https://likebtn.com/en/vbulletin-like-button. Try to use this expression as identifier: post_{vb:raw post.postid}

mrthongking
08-26-2015, 02:02 AM
Thanks that looks like it will work. However, when I paste the code in to my site it does not work anymore.

I have generated a new code and pasted in the same place as last time but for some reason nothing comes up on my site now?

Any suggestions?

LikeBtn
08-26-2015, 06:42 AM
Could you please provide a link to the page where Like button should be or send it to support@likebtn.com

mrthongking
08-26-2015, 01:15 PM
Thanks the link is http://www.whaletail-forum.com/ (warning it is an adult site)

I had the like buttons working the first time but with the FAQ number 20 problem.

Now I can't seem to get any like buttons on it.

support
08-29-2015, 07:48 AM
Could you tell us please which version of vBulletin you are using for your forum?

mrthongking
09-07-2015, 11:24 PM
Thanks I am using 4.2.2

support
09-09-2015, 05:55 AM
Could you please provide us a screen shot of the template into which you insert button code?

mrthongking
09-24-2015, 08:46 PM
I'm not sure what template to insert in into. Any ideas?

support
09-25-2015, 02:04 PM
Could you please show us what code did you insert into your site and in what place?

LikeBtn
09-25-2015, 06:04 PM
1) Go to vBulletin Style Manager.
2) Under Postbit Templates section find postbit or postbit_legacy remplate.
3) Generate Like button using https://likebtn.com/en/like-button-generator
4) Use the following expression as button name: post_{vb:raw post.postid}
5) Paste generated code into template after <!-- / attachments --> tag.

Read more: https://likebtn.com/en/vbulletin-like-button