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)

soundbarrierpro 10-11-2010 05:35 PM

Quote:

Originally Posted by FSA (Post 2101375)
:edit

i've solved it with the share-button.

Code:

<a name="fb_share" type="button_count" share_url="http://WWW.DOMAIN.COM/showthread.php?p=$post[postid]&t" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

I'm using this. Great post. All I use is Firefox Browser and the facebook Like button just won't work for me. All I get is an error code. This appears to fix the problem to get the pages posted on facebook.

Nova99 10-15-2010 06:11 PM

IF you use the FB Like button in your forums you should read this:
http://www.searchmarketingman.com/20...utton-bug.html

The Like button messes up the URLs and indexed pages in SE's and makes many pages in your forum blank for IE users, so I've removed it for now until Facebook applies a fix to this.
http://bugs.developers.facebook.net/...ug.cgi?id=9777

It's listed as a priority 5 bug by Facebook now, and that's the lowest priority so it may take a while until it's getting fixed, so the Like button may really mess up your forums now!

BirdOPrey5 10-15-2010 08:13 PM

I don't know if this XFBML code is affected by this bug, this code is relatively old and been out for a while... The code they are talking about is when linked directly to facebook's servers to download the latest javascript code...

As a test I put this into google:
inurl:fb_xd_fragment site:mydomain.com

And it didn't return any URL's so so far my site has been unaffected. However if you use a site name that has been affected hundreds of blank pages come up, such as:
inurl:fb_xd_fragment site:thefootballnetwork.net

Nova99 10-15-2010 09:55 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2110519)
And it didn't return any URL's so so far my site has been unaffected. However if you use a site name that has been affected hundreds of blank pages come up, such as:
inurl:fb_xd_fragment site:thefootballnetwork.net

Your site may be affected even if no pages with fb_xd_fragment has been indexed in SEs, visitors using IE may see blank pages sometimes anyway with the result that they exit your site right away and you may loose a possible registering member.

The best way to see this, and the way I found out the bug on my site (I didn't have any indexed pages with fb_xd_fragment either) ,was through Google Analytics.
I started to notice several links ending in fb_xd_fragment that visitors where only on for a few secs.
When I removed the FB Like button it was ok again, so the bug is still there.

BirdOPrey5 10-16-2010 02:18 PM

Thanks... sure enough they were there in the Analytics... switched back to the iframe for now.

Nova99 10-16-2010 02:25 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2110719)
Thanks... sure enough they were there in the Analytics... switched back to the iframe for now.

According to posters on the two sites I linked to in my previous post the iframe button is also affected with this, so that wont help.
I have removed the "Like" button and wont add it until FB confirms that the bug has been fixed.
Had hundreds of pages pr. day that where affected by this according to Google Analytics, and when I removed the button none of the fb_xd_fragment links shows up in the logs there anymore.

It's really bad that FB have put a priority 5 on this, since it's a pretty serious bug.

BirdOPrey5 10-16-2010 02:46 PM

damn... thanks.

fxwoody 10-27-2010 11:55 AM

1 Attachment(s)
Nice! I'm using it and it works A1 with the IFrame.
Tho, i didn't put it under the control as it's to low, i switch it in my posbit-legacy under Icons&title ;)

Code:

                        <!-- icon and title -->
                        <h3 class="threadtitle">
    <!---facebook-button--->
<if condition="$post[postcount] == 1"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.yoursite.com/showthread.php$session[sessionurl]?p=$post[postid]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light"
scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe></if>
    <!---/facebook-button--->
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>

Better like this i think :)

soundbarrierpro 10-28-2010 11:26 AM

I don't get it.

I'm using this code. It posts to my fb page. but no topic link. Just a link to my domain name. That's it.

Code:

<iframe src="http://www.facebook.com/widgets/like.php?href=http://www.mysite.com/forums/showthread.php$session[sessionurl]?p=$post[postid]&amp;show_faces=false&amp
        scrolling="no" frameborder="0"
        style="border:none; width:450px; height:55px"></iframe>       
<hr size="1" style="color:$stylevar[tborder_bgcolor];
fb:admins
background-color:$stylevar[tborder_bgcolor]" />


DannyITR 11-29-2010 01:27 PM

I'm using the Iframe code with my site correctly inputted and nothign happens. Nothing is showing up in my posts in IE or FF. I saw a few other people with the same prob but nobody answered. I'm using the correct postbit template.

Why is nothing showing up???


All times are GMT. The time now is 07:46 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.01190 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (3)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