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)

analog-x 03-25-2011 12:56 AM

So for the XFBML Method do I paste the code in the Postbit/Postbit Legacy template?

Dingo14 03-26-2011 10:17 PM

Quote:

XFBML Method (recommended)
Installed this one works great thanks

Dingo14 03-27-2011 06:13 AM

Quote:

Originally Posted by Cobra-J82 (Post 2137424)
If you dont want this like button to be shown in specific forums add

Code:


<if condition="$forum[forumid]=='7,8,29,30,31,32,33,40'">
<else />

THE LIKE BUTTON CODE

</if>

The numbers are the forum id

Can anyone get this to work for forumid's need to stop some forums being linked to facebook thanks
Quote:

XFBML Method (recommended)

BirdOPrey5 03-27-2011 12:08 PM

You could try $thread[forumid] if you're in SHOWTHREAD template, or $post[forumid] in postbit template.

FreshFroot 03-31-2011 08:10 AM

has anyone got this working properly.

I had it working, but I hate the fact that it SHOWS names. I think people prefer to see the count go up, but not have their names displayed.

unforgotten 04-29-2011 11:29 PM

Is there a way the user can select which image to show in their facebook? Or to add the image within the vbulletin thread content part?

jskoh 05-15-2011 07:27 PM

can this fb like be on every post of a thread? meaning user can click on like button on a thread on 3rd post but does not include the 1st post?

mikelangelo2005 06-10-2011 09:20 AM

Quote:

Originally Posted by fernandezp27 (Post 2166740)
Can I get the like to say "Me Gusta" but, the names off to the side to be in English.

Fernandez27,

To switch from English (LIKE) to Spanish (Me Gusta) Search in the code:

connect.facebook.net/en_US/all.js';

and replace by:

connect.facebook.net/es_LA/all.js';

Very Simple

mikelangelo2005 06-15-2011 01:19 AM

I have a problem with this mod that is not how to fix yet, read the 13 pages of answers that are here and not find a solution.

I have installed the version XFBML. But the problem button "like" is that sometimes appears and sometimes doesn?t appear, not even reloading the page immediately appears.

Any solution?

www.motofanaticos.com

My code
Code:

<if condition="THIS_SCRIPT =='showthread'">
<div id="fb-root"></div> <script>
window.fbAsyncInit = function() {
FB.init({
appId : '103900849703235',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
 
(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/es_LA/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script> <fb:like layout="standard" show_faces="true" width="338" action="like" colorscheme="light" />
</if>
<br>


4Play 06-15-2011 07:51 PM

will this mod work for vB 4?


All times are GMT. The time now is 03:54 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.01311 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (4)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