vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin Forum Sideblocks - Block: FaceBook Like Box (https://vborg.vbsupport.ru/showthread.php?t=250089)

JAFRI 09-06-2010 10:00 PM

Block: FaceBook Like Box
 
1 Attachment(s)
FaceBook Like Box

The Like Box is a special version of the Like Button designed only for Facebook Pages. It allows admins to promote their Pages and embed a simple feed of content from a Page into other sites.

Get Facebook like Code : Like Box - Facebook Developers

1. Facebook Page URL : Enter Your Facebook Page Url
2. Width: 240
3. Height: 240
4. Color Scheme: anything you like

Click Get Code

Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
Copy code and paste in your header template.

Code:

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=xxxxxxxxx";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Note: Edit XXXX Your Application ID
-------------------------------------------

Place the code for your plugin wherever you want the plugin to appear on your page.

Code:

<div class="fb-like-box" data-href="https://www.facebook.com/xxxxx" data-width="240" data-height="240" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
Edit XXXX Your Facebook Page URL.


Now Go : Forum Blocks Manager > Add new block > Custom HTML/PHP

Title : Forum like box

Content Type : HTML

Content: put code ^^^^^^

enjoy.

www.shiafriends.com
---------------------------------------------------------------

JAFRI 09-08-2010 04:28 AM

reserved!

Click to Mark as Installed.

bornoffire 09-08-2010 03:14 PM

1 Attachment(s)
When I tried all I get is this:

JAFRI 09-10-2010 06:19 AM

Quote:

Originally Posted by bornoffire (Post 2095461)
When I tried all I get is this:


check your application ID.

alon1853 09-10-2010 06:27 AM

Wow Thanks :]
I Will Be Using it for a Friend

hoof 09-10-2010 09:09 AM

Quote:

Originally Posted by bornoffire (Post 2095461)
When I tried all I get is this:

Same here

denman75 09-10-2010 09:13 AM

same here

JAFRI 09-12-2010 05:11 AM

Quote:

Originally Posted by hoof (Post 2096135)
Same here

Quote:

Originally Posted by denman75 (Post 2096136)
same here

d=XXXXXXXXXXXX&amp

xxx < your fb application Ib .itis working fine.:)

bornoffire 09-12-2010 06:11 AM

I just used the code provided in the link and it worked http://developers.facebook.com/docs/...ugins/like-box

Nephalim 09-12-2010 07:02 AM

Quote:

Originally Posted by denman75 (Post 2096136)
same here

same here :confused:


All times are GMT. The time now is 11:19 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.01013 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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