[Plugin: Facebook Fanbox (with CSS Support)] Not showing in IE7 or 8
-
I was having an issue with the Facebook Fanbox widget not showing at all in Internet Explorer 7 or 8. I solved it by opening the “facebook-fan-box-with-css-support.php” file (within said plugin’s folder), locating the code in the lower part of the php:
<fb:fan profile_id="<?php echo $args['facebook-id'] ?>" css="<?php echo FANBOX_CSS_URI ?>?<?php echo $args['css-timestamp'] ?>" connections="<?php echo $args['number-of-connections'] ?>" stream="<?php echo $args['stream'] ?>" logobar="<?php echo $args['logobar'] ?>" width="<?php echo $args['width'] ?>px;" height="<?php echo $args['height'] ?>px;"> </fb:fan>
and adding this line:
<html xmlns="https://www.w3.org/1999/xhtml" xmlns:fb="https://www.facebook.com/2008/fbml">
like so:
<html xmlns="https://www.w3.org/1999/xhtml" xmlns:fb="https://www.facebook.com/2008/fbml"><fb:fan profile_id="<?php echo $args['facebook-id'] ?>" css="<?php echo FANBOX_CSS_URI ?>?<?php echo $args['css-timestamp'] ?>" connections="<?php echo $args['number-of-connections'] ?>" stream="<?php echo $args['stream'] ?>" logobar="<?php echo $args['logobar'] ?>" width="<?php echo $args['width'] ?>px;" height="<?php echo $args['height'] ?>px;"> </fb:fan></html>
At least for me, the issue was resolved, and it showed perfectly in both IE 7 & 8. And so far, this fix doesn’t seem to break anything with the plugin itself otherwise.
Just thought I’d let anyone who may be having this issue know ??
https://www.ads-software.com/extend/plugins/facebook-fanbox-with-css-support/
- The topic ‘[Plugin: Facebook Fanbox (with CSS Support)] Not showing in IE7 or 8’ is closed to new replies.