How to get rid of border style on fan box?

How to get rid of border style on fan box?

I need to get rid of the border style:

.fbDarkWidget .fan_box {
border-style: solid;
}

BeTheDance
useravatar
Offline
10 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to get rid of border style on fan box?

The border color was something that Facebook recently added as a parameter. There's currently no way to hide it, but you can configure it so that it's the same color as your background behind the module, making it effectively invisible. In the upcoming 4.0 release, this will be a configurable parameter, but until then, you'll need to make a minor modification to force the color to whatever you want.

In the /plugins/system/jfbcsystem/jfbcsystem.php file, around line 575, you'll see the line below. Add the border_color=#FF0000 parameter you see here:

Code:

$fanString = '<div class="jfbcfan"><fb:like-box border_color="#FF0000" ';

Hope that helps, but if you run into other issues or have other questions, just let us know!
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23818 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to get rid of border style on fan box?

alzander wrote:

The border color was something that Facebook recently added as a parameter. There's currently no way to hide it, but you can configure it so that it's the same color as your background behind the module, making it effectively invisible. In the upcoming 4.0 release, this will be a configurable parameter, but until then, you'll need to make a minor modification to force the color to whatever you want.

In the /plugins/system/jfbcsystem/jfbcsystem.php file, around line 575, you'll see the line below. Add the border_color=#FF0000 parameter you see here:

Code:

$fanString = '<div class="jfbcfan"><fb:like-box border_color="#FF0000" ';

Hope that helps, but if you run into other issues or have other questions, just let us know!
Alex

Hi Alex,

Thanks, tried it. No go.

Here is the line that I replaced in the file:

Code:

        $fanString = '<div class="jfbcfan"><fb:like-box border_color="#161819"';

If you go to the home page of this new site: www.MarcKoltunMusic.com, the FB fan module is on the right. I definitely need a dark border here.
Any other suggestions?
Thanks much,
Teresa

BeTheDance
useravatar
Offline
10 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to get rid of border style on fan box?

Teresa,
Sorry for the delayed response on this. We've been investigating what's going on, and unfortunately, don't have great news to report. The border color looks to have a bug where, if the header, stream, and faces are disabled, the border color parameter is simply ignored. We tested with your page and some others all with the same result. Additionally, if you try Facebook's configuration tool below, you'll see that if you set the border color and then start unchecking boxes, it will simply stop working.

We'll file this as a bug with Facebook (if it hasn't already been), but this likely won't be flagged as a critical problem.. which means it may take weeks or even months to be fixed.

Sorry for the inconvenience. If it helps, I actually think it looks pretty good on the site you linked too as there are other elements with the light gray color I see. It could be much worse current/smile

Good luck, and let us know if you have any other questions or issues,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23818 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to get rid of border style on fan box?

Realized I didn't paste the link to the configuration tool from Facebook:
http://developers.facebook.com/docs/ref … /like-box/

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23818 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11502
Total Polls:
0
Total Posts:
48418
Posts today:
11
User Info
 
Total Users:
47475
Newest User:
micaiz1
Members Online:
1
Guests Online:
1088

Online: 
sriz786
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program