Jump to content

[Modul] FBML Facebook Like Box

Recommended Posts

Hallo zusammen,


als ich auf der Suche nach einem Fanpage Block modul war und nichts passendes gefunden habe, bastelte ich mir kurz mein eigenes Modul.

Es ist so konfiguriert, das der Block aussieht wie alle anderen Blöcke und sich so möglichst nahtlos in Theme einfügt.


Um den Block zu benutzen muss man allerdings selbst etwas Hand anlegen.

Aber ist alles in der beigefügten Readme.txt erklärt.


| Facebook Fan Page Module v0.5
//by Sebastian "rawsta" Fiele

# Usage:
open blockfanpage.tpl and edit this code:
<fb:fan profile_id="YOUR_FANPAGE_ID" logobar="false" stream="false" connections="9"
css="http://www.your-domain.tld/modules/blockfanpage/fb.css?3133746877" colorscheme="dark"
width="190" height="370" class="fb_iframe_widget "></fb:fan>

# Options:
.your Fanpage ID:
// Login to your Facebook Account (important) and visit this page:
// >> http://developers.facebook.com/docs/reference/plugins/like/
// In Step 2 - Get Open Graph Tags -> section : Admin (?) is your Profile ID

.logobar (Facebook Logobar)
// "false" or "true"

.stream (last posts on Facebook)
// "false" or "true"

.connection (visible fans in Block)
// enter number

.css (file to make the block transparent and change the font color)
// Full path to fb.css is needed.
// you have to change the number after the ? everytime you edit the fb.css to
// work properly (something like an facebook Cache causes it)

.colorscheme (general style)
// "light" or "dark"

.width and .height
// change to fit your theme

### Disclaimer:
// This Module is provided as is without warranty.
// I can't guarantee that it will work for you but it should.


Der Block erscheint nach der Installation auf Links sowie Rechts.

Einfach den nicht benötigten Block entfernen.


getestet in v1.4.7


Download: blockfanpage.zip

  • Like 4

Share this post

Link to post
Share on other sites

Guten Abend, kurze frage ich bekomme die Box nicht zum laufen!


Hier mein Code:



<!-- Block Fan Page Facebook -->


<div id="fb_block" class="block">


<h4>{l s='Facebook' mod='blockfanpage'}</h4>


<script type="text/javascript" src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB"></script>


<script type="text/javascript">FB.init("b39d8fdf0d53360283614db94f7000cf");</script>


<fb:fan profile_id="305658416175739" logobar="false" stream="false" connections="9" css="http://www.4fans4ultras.de/modules/blockfanpage/fb.css?3133746877" colorscheme="dark" width="190" height="370" class="fb_iframe_widget "></fb:fan>






<!-- /Block links module -->

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More