vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Add Facebook "Like" button to your threads [vB 3.8.x] (https://vborg.vbsupport.ru/showthread.php?t=241053)

fmckinnon 05-31-2010 02:03 PM

Hi, I've installed in my postbits-legacy template (see below), but the button isn't showing up anywhere. I also tried the XFBML version (we have an AppID already for the Facebook Connect plugin) and it also didn't show. I'm not seeing any ERRORS on my page, just no "like" button. Below is the portion of my template ... and you can try to view any thread at:
http://www.theworshipcommunity.com/forums/
Quote:

<!-- controls -->
<iframe src="http://www.facebook.com/widgets/like.php?href=http://www.theworshipcommunity.com/forums/showthread.php$session[sessionurl]?p=$post[postid]&amp;show_faces=false&amp"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:25px"></iframe>

cdoyle 05-31-2010 03:05 PM

Quote:

Originally Posted by funmasti (Post 2045420)
can somebody tell me that the coding is w3.org Valid? bcoz my forum is error free

I don't believe it is, I believe the facebook code doesn't validate.

EagleNick 05-31-2010 07:58 PM

What happens when a user "Likes" a post/thread that isn't in a publicly-accessible section of the forum?

Is there any way to show the "Like" button for public threads/posts only?

captainslater 06-01-2010 04:41 AM

Just wanted to register my Forum-URL and Facebook said the URL is invalid.
So what would be a valid URL?

jayunsplanet 06-01-2010 06:21 PM

Hello,

This could be a great mod!

I attempted to use the "recommended" version of this mod on my forum. I added the if condition, and inputted my appID from Facebook, code to my postbit_legacy template as instructed. It does indeed add the like button to the first post in the thread. When I click on it to "Like" something, it quickly pulls up my picture and is about to "like" it and then it throws an error.

The error says, verbatim, "The page at http://www.mdstreetscene.com/forum/s...546&amp;page=2 could not be reached."

Any ideas?

Thanks.

Cla75 06-01-2010 09:03 PM

I have your same problem ...
placed the code in the postbit_legacy template, see i LIKE button, seems to work but then ERROR in the forum and nothing is published on FB.

I also tried to enter the forum Hubie ... this link ...
http://www.htceros.com/hd2-leo/284-e....html#post1019
I see the button LIKE, click and I get the same error:
Quote:

Me gusta
S? el primero de tus amigos al que le guste esto. ? Error
click error:
Quote:

The page at http://www.htceros.com/hd2-leo/284-errores-htc-hd2.html#post1019 is unreachable
?!?!!?? the LINK is correct

Why??

thanks for support

despo 06-02-2010 09:16 AM

Hello,

http://developers.facebook.com/setup/ on this link i add a name and URL, but when İ do that the system gives an error : Invalid url

Whats wrong ? Any one ? :s

Cla75 06-02-2010 09:59 AM

ou must add the / at the end of the link ...

eg http://www.vbulletin.org/

hubie 06-03-2010 12:11 AM

Quote:

Originally Posted by WizKaz (Post 2039735)
It doesnt work with my site either. When I includ "google.com" to test it, it works fine. But if i insert my own URL, I always get an error: "site MYURL not found."
But even if I copy an paste the url from the error in my browser, i find the site.

Any ideas, pls? :(

Have you tried putting "/" at the end of the url?

Quote:

Originally Posted by Loco.M (Post 2041476)
not working in IE even after the "IE fix" code

For me it works, but sometimes i have to refresh the page to get the button in IE. After refreshing, the button is shown on every page.

Quote:

Originally Posted by StuSD (Post 2044714)
what file do I make the modifications in ?
I cant find that code in class_postbit or class_postbitalt
thanks

You have to insert the code under </controls> or wherever you want in postbit/postbit_legacy (deppends wich template your site is using).

Quote:

Originally Posted by Cla75 (Post 2046701)
I have your same problem ...
placed the code in the postbit_legacy template, see i LIKE button, seems to work but then ERROR in the forum and nothing is published on FB.

I also tried to enter the forum Hubie ... this link ...
http://www.htceros.com/hd2-leo/284-e....html#post1019
I see the button LIKE, click and I get the same error:

click error:

?!?!!?? the LINK is correct

Why??

thanks for support

Cla75, i've tested that link and for me everything is working correctly. Also, the post content was posted right on my FB wall.

EagleNick 06-06-2010 05:09 PM

Quote:

Originally Posted by EagleNick (Post 2046190)
What happens when a user "Likes" a post/thread that isn't in a publicly-accessible section of the forum?

Is there any way to show the "Like" button for public threads/posts only?

???


All times are GMT. The time now is 01:36 AM.

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.01299 seconds
  • Memory Usage 1,750KB
  • 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
  • (9)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