If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Sideboxes / Facebook Sidebox

Facebook Sidebox

Started by gprit on 21 Nov 2010, 3:15 PM · Views: 6,134

Results 1 to 12 of 12
21 Nov 2010, 3:15 PM
#1
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Facebook Sidebox

Version 1.3.8a

Am wanting to add a Facebook badge and link to a new sidebox....

<!-- Facebook Badge START --><a href="http://www.facebook.com/pages/Porthcawl-United-Kingdom/HolKat-Childrenswear/126317059707" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="HolKat Childrenswear">HolKat Childrenswear</a><br/><a href="http://www.facebook.com/pages/Porthcawl-United-Kingdom/HolKat-Childrenswear/126317059707" target="_TOP" title="HolKat Childrenswear"><img src="http://badge.facebook.com/badge/126317059707.2645.2114170877.png" width="120" height="251" style="border: 0px;" /></a><br/><a href="http://www.facebook.com/business/dashboard/" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Make your own badge!">Promote Your Page Too</a><!-- Facebook Badge END -->

How do I achieve this? thanks

21 Nov 2010, 4:35 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Facebook Sidebox

Search the Free Software Add Ons for 'facebook'.

22 Nov 2010, 6:17 PM
#3
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Facebook Sidebox

So many to choose from - not sure if any suit what I want. Isn't it possible just to add the html code somewhere without having to add/change files?

24 Nov 2010, 9:58 AM
#5
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Facebook Sidebox

Well....in the end I just created a banner and pasted in the html.....no files to install/change.

1 Dec 2010, 5:25 AM
#6
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: Facebook Sidebox

stevesh:

Not really. You could use the Blank Sidebox mod, but one of the Facebook mods (like this one: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1547) would do the work for you.

Do you know anyone using this MOD?

Thanks
Gary

Gary Jenkins
Your Neighborhood Store
It Ain't Over Until You Quit, So Don't!

13 Aug 2011, 11:47 PM
#7
cshellca avatar

cshellca

New Zenner

Join Date:
Aug 2010
Posts:
12
Plugin Contributions:
0

Re: Facebook Sidebox

gprit...how did you create the banner and have it show up...I have tried and cannot get the sidebox banner to show up at all..not sure what I am missing.

Any help would be appreciated.

Shelley

10 Sep 2011, 8:42 AM
#8
avotecnica avatar

avotecnica

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: Facebook Sidebox

gxjenkins:

Do you know anyone using this MOD?

Thanks
Gary

Yes, you can see it on www.avotecnica.com

It's in the left side...
:wink:

28 Sep 2011, 9:21 PM
#9
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Facebook Sidebox

Trying to add the Facebook Like Button code to the blank sidebox addon, but when I do, nothing shows up. Here's my code in tpl_blank_sidebox.php, is there anything wrong?:

<?php
/**
 * blank sidebox - allows a blank sidebox to be added to your site
 *
 * @package templateSystem
 * @copyright 2007 Kuroi Web Design
  * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
 */

  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

  // Replace the text and HTML tags between the apostophes on lines 19 and 20.
  // Use as many or as few lines using this model as you need for your custom content.
  // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
  // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
  $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
  $content .= '<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";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-href="http://www.mysite.com" data-send="true" data-width="250" data-show-faces="true"></div>';

  $content .= '</div>';
?>
4 Oct 2011, 10:53 PM
#10
bladecris avatar

bladecris

New Zenner

Join Date:
Sep 2011
Posts:
40
Plugin Contributions:
0

Re: Facebook Sidebox

This is my code for facebook sidebox (I wrote this code in languages - extra definitions - my template

<?php /** Facebook sidebox by Neboztik @copyright Copyright Neboztik, 2010 @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 **/ define('BOX_HEADING_FACEBOOK', 'Facebook'); define('FACEBOOK_PROFILE', 'Cristy Adi'); define('FACEBOOK_API_KEY', '****'); define('FACEBOOK_LOCALE', 'en_US'); define('FACEBOOK_BOX_WIDTH', '200px'); define('FACEBOOK_BOX_HEIGHT', '180px'); // Show stream, facebook logo; logo and stream OFF - can be set to ON = 1 or keep OFF = 0. */ define('INCLUDE_FACEBOOK_STREAM', '1'); define('INCLUDE_FACEBOOK_LOGO', '1'); //Set the number of funs to show, set to 0 to not show define('INCLUDE_FACEBOOK_FANS', '3'); ?>

My site shows it but it says "Could not retrieve id for the specified page. Please verify correct href was passed in."
What's the problem?

5 Oct 2011, 4:18 PM
#11
bladecris avatar

bladecris

New Zenner

Join Date:
Sep 2011
Posts:
40
Plugin Contributions:
0

Re: Facebook Sidebox

Problem solved. You have to have a page on facebook so facebook like box plugin to work on your site.

6 Feb 2013, 7:59 PM
#12
sharc316 avatar

sharc316

Zen Follower

Join Date:
Mar 2011
Posts:
160
Plugin Contributions:
0

Re: Facebook Sidebox

Hi,

I have installed the facebook sidebox but cant seem to get it working. I have entered my name and page id as well as API key. then changed to stream to 1 at the bottom. All im getting is a facebook box header but no streams from page on bottom left colunm Please help.

https://www.bequjuice.com