This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Facebook Like Box
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3549 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

I've just created a Facebook Like Box and want to implement on the mainpage of my Wiki, but I'm running into some small problems. At Facebook I selected that I don't want a Stream and I don't want a header, then I clicked on 'Get Code' and I got the following two codes:

iframe code:
<iframe src="" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:587px;" allowTransparency="true"></iframe>
and an XFBML code:
<script src=""></script><fb:like-box href=""></fb:like-box>

I've implemented the XFMBL code on a template, here, but as you can see the header and Stream are still shown. I guess this has something to do with the first code (iframe)?? But I don't know where I have to implement that one... Can anyone help please? ---Zantam03 (Talk) 20:09, November 9, 2010 (UTC)

All you have to do is insert this into your wiki's JS page:

function fBox() {
	$('#fbox').append('<iframe marginheight="0" marginwidth="0" src="" align="top" frameborder="0" width="300" height="175" scrolling="no" />');

See the id number after it says connect.php?? Change the id number to the id number of your Facebook page. Then for the connections=5, you can change that to another number to allow it to display the number of people per row.

Then you can just use
<div id="fbox"></div>
on the page you want and it will appear. SSgtGriffin Htmlcss-toolbar on Facebook 00:05, November 10, 2010 (UTC)

Oh, then the Facebook like box will look like the one on my wiki's main page. SSgtGriffin Htmlcss-toolbar on Facebook 00:07, November 10, 2010 (UTC)

Thanks :-) ---Zantam03 (Talk) 11:49, November 10, 2010 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.