SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started by: Kobar on April 28, 2011, 10:15:42 AM
-
Based on: http://www.simplemachines.org/community/index.php?topic=381323.0
Those ( http://www.simplemachines.org/community/index.php?topic=381323.msg2626563#msg2626563 ) codes doesn't work
Hopefully someone could help me
-
you need to change site="yoursite.com" with your actual site url ;)
-
you need to change site="yoursite.com" with your actual site url ;)
I know.
// Facebook Recent Activity
echo '
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: \'\', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement(\'script\'); e.async = true;
e.src = document.location.protocol +
\'//connect.facebook.net/en_US/all.js\';
document.getElementById(\'fb-root\').appendChild(e);
}());
</script>
<div align="center"><fb:activity site="http://www.solar-xl.nl/forum" width="170" height="300" header="true" colorscheme="light" /></fb:activity></div>';
// End Of Facebook Recent Activity
I tried: solar-xl.nl, www.solar-xl.nl, www.solar-xl.nl/forum, http://solar-xl.nl/forum..
It all came up with:
// Facebook Recent Activity echo '
'; // End Of Facebook Recent Activity
-
Which block are you using to add this code? Is it Custom PHP block?