vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Add New Facebook "Like" button to your threads (https://vborg.vbsupport.ru/showthread.php?t=241011)

vikris 08-02-2010 05:49 PM

Same problem here. :(

Gord 08-10-2010 04:03 PM

Nice. Thanks :)

dippetas 09-09-2010 07:55 PM

it has stopped working for me the last two days, no click at all, the behavior started after i updated my user ranks! any ideas what could be wrong?

struff 09-12-2010 10:29 PM

Forgive me if this was already addressed; I didn't get anything when I searched.

Using method #1, is there a way to reduce the size of the margin it creates on the right side of the post?

Thanks.

ComoEstaEso-com 09-22-2010 05:27 PM

Quote:

Please remember to click Mark as Installed if you use this modification.

Facebook has just launched their latest "Like" button to developers to use on any site. What this does is utilizes the Advertising module to add the "Like" button to the first post of each thread. Please see screenshots to get an idea.

In your Admin CP go to Advertising > New Ad > Choose "Thread" from the dropdown and then select the first thread box. Give it a title (I called mine FB Like) leave "First Post Content" at default and paste in this code:
HTML Code:

<!-- Facebook Like -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.YOURSITE.com/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}&amp;layout=button_count&amp;show_face s=true&amp;width=450&amp;action=like&amp;colorsche me=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px"></iframe>
<!-- / Facebook Like -->

Be sure to change YOURSITE.com to your URL including your forum.

The VBSEO team has instructions on how to make this work for their product here http://www.vbseo.com/f2/facebook-lik...95/#post265997
Hello... I can't get this to work on a Blog post.
Neither can I make it appear on a CMS Article.
In the threads, it all works fine.

Should the procedure over here be used?
Or only what's mentioned on the vBSEO site? (we're running vBseo)

Should I do both things? What's mentioned here, and then what's mentioned over in vBSEO.com?

I'm at a loss... not sure what I'm doing wrong.
Any help is much appreciated.
Thanks.

Rebecca217 10-01-2010 02:02 PM

Beautiful! Thanks for this!

GONUMBER6 11-18-2010 02:06 PM

I am currently running on vb 4.06 and have the facebook connect enabled and set up. I just HATE the location of the ("Like" Be the first of your friends to like this), which is above the first post on the page and off to the right.

I would really like it to be like in the example #3. How would you suggest I do this?

washingtonboise 11-21-2010 07:21 PM

At the bottom of posts would be an excellent location. (It's at that point that a user will know if they actually like what they just finished reading.)

bagh1 12-01-2010 05:49 AM

A couple of things:
1) Instead of it being per thread, can there be a like button per post?
2) My site is in this format: www.DOMAIN.com/forums/showthread...
For some reason, when I put href=http://www.DOMAIN.com/forums/{vb:link thread, {vb:raw thread}}, it doesn't work and I get an error in the FB link. The keyword "forums" is missing from the URL and it incorrectly looks like this: http://www.DOMAIN.com/showthread...
If I put anything else except "forums", like "forum", then the URL with that word shows up.

Any ideas on why my URL wouldn't be properly generated?
TIA!

gobears20 12-01-2010 01:00 PM

Quote:

Originally Posted by bagh1 (Post 2127813)
A couple of things:
1) Instead of it being per thread, can there be a like button per post?
2) My site is in this format: www.DOMAIN.com/forums/showthread...
For some reason, when I put href=http://www.DOMAIN.com/forums/{vb:link thread, {vb:raw thread}}, it doesn't work and I get an error in the FB link. The keyword "forums" is missing from the URL and it incorrectly looks like this: http://www.DOMAIN.com/showthread...
If I put anything else except "forums", like "forum", then the URL with that word shows up.

Any ideas on why my URL wouldn't be properly generated?
TIA!

I have the same problem. I get an error because it's looking for www.domain.com/showthread when it should be www.domain.com/forums/showthread. I have the full url in the href parameter but facebook is not getting it right. Any fix?


All times are GMT. The time now is 01:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01371 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete