Thread Rating:
  • 2 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 5 Months ago Add Facebook Like button that loads fast
#1
Solved: 11 Years, 5 Months ago
Hi guys I have added a Facebook iframe like button to my forum and it slows my website load time at least 1 sec. Is there a like button code that loads fast?
My code
<iframe src="https://www.facebook.com/plugins/like.php?href=http://letsforum.com&amp;show_faces=false&amp; locale=en_US&amp; layout=button_count" scrolling="no" frameborder="0" style="height: 20px; width: 80px" allowTransparency="true"></iframe>
Thanks
#2
Solved: 11 Years, 5 Months ago
You can try to use some of Facebook like button plugins. There is few quite good, I've to say.
Jovan J.
#3
Solved: 11 Years, 5 Months ago
Thank but I don't like plugins!
#4
Solved: 11 Years, 5 Months ago
Is there any specific reason why you don't like them?
Jovan J.
#5
Solved: 11 Years, 5 Months ago
They slow my forum down
#6
Solved: 11 Years, 5 Months ago
Thats not true in all case plugins which uses ajax and more js files slow down your forum but only few seconds and if your host is gud then that doesn't matter
i have more than 30 plugins active in my forum and even my host is free hosting then also my site is fast loading
#7
Solved: 11 Years, 5 Months ago
Yes but for me 1 sec is just too much Wink any idea how to fix Facebook code
#8
Solved: 11 Years, 5 Months ago
Don't add an iframe.
Instead add a javascript and use another function to load it asyncronous.
There is no better way of having a like button.
#9
Solved: 11 Years, 5 Months ago
(2013-08-15, 10:26 AM)Jovan J. Wrote: Is there any specific reason why you don't like them?
Why not though? MyBB Team themselves say that the less plugins you have the better and they also say that we don't need plugins. Plugins just make our life easier.
#10
Solved: 11 Years, 5 Months ago
Well plugins are good but for something not easy as this Wink


Forum Jump:


Users browsing this thread: 1 Guest(s)