haduuh... capek yaa rasanya kalo tiap hari ngurusin template mulu
uda haus, laper, ehh puasa pula xixixixi...!!!
buat sahabat galauvers ni experimen baru gue siap download
read more dengan sentuhan CSS
setelah mendownload template di atas
letakan ALL connect di bawah ini di ADD gatget >> HTML/JavaScript
<div style="text-align: center;">
<div style="-moz-border-radius:10px; border-radius:20px; padding:20px; background: #000000;">
<div style="-moz-border-radius:5px; border-radius:10px; padding:10px; background: #333333;">
<fb:profile-pic uid="loggedinuser" size="normal"></fb:profile-pic>
<div style="text-align: center;">
<div style="-moz-border-radius:5px; border-radius:10px; padding:10px; background: #000000;">
<fb:name uid="loggedinuser" useyou="false" linked="false"></fb:name></div></div></div></div></div>
<script type="text/javascript">
<!--
//jaga-jaga kalo elements gak ada..
if(!document.getElementById('fb-root')){
document.write('<div id="fb-root"></div>');
}
if(!document.getElementById('facebook-propic')){
document.write('<img id="facebook-propic" src="" style="display:none;"/>');
}
if(!document.getElementById('block-login-aing')){
document.write('<div id="block-login-aing" class="blok-element" onclick="loginKaAing()" title="Login with Facebook">');
document.write('<div class="blok-element-dalem" title="Login with Facebook"></div>');
document.write('</div>');
}
//Global Variable..
var idAplikasi = '337732132937612';
var idUserYgLogin = '';
var blokLoginElment = document.getElementById('block-login-aing');
var tempatGambarPropil = document.getElementById('facebook-propic');
//-->
</script>
<script type="text/javascript">
<!--
function loadAplikasiAing(appid){
window.fbAsyncInit = function() {
FB.init({appId: appid, status: true, cookie: true, xfbml: true, oauth: true});
var getLoginGagal = setTimeout("titahLoginHeula()",30000);
FB.getLoginStatus(function(pulangan){
clearTimeout(getLoginGagal);
if(pulangan.authResponse && pulangan.authResponse.userID){
idUserYgLogin = pulangan.authResponse.userID;
}else{
titahLoginHeula();
}
tulisDitelLoginAing(pulangan);
});
};
(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);
}());
}
function titahLoginHeula(){
blokLoginElment.style.display='block';
}
function loginKaAing(){
FB.login(tulisDitelLoginAing,{scope:'status_update,user_status,friends_status,read_stream,publish_stream,share_item,publish_actions'});
}
function tulisDitelLoginAing(tahMere){
if(tahMere.authResponse){
if(tahMere.authResponse.userID){
idUserYgLogin = tahMere.authResponse.userID;
tempatGambarPropil.src='http://graph.facebook.com/'+tahMere.authResponse.userID+'/picture?type=large';
}
}
if(tahMere.status){
if(tahMere.status=='connected'){
blokLoginElment.style.display='none';
//execute scripts setelah sesi connect facebook selesai..
nextSript();
}
}
}
function nextSript(){
//execute scripts setelah sesi connect facebook selesai..
if(typeof postScript != 'undefined'){postScript()}
}
loadAplikasiAing(idAplikasi);
//-->
</script>
jangan lupa ganti ID aplikasi 337732132937612 dengan ID aplikasi punya sendiri :p
dan yang perlu agan rubah:
dan yang perlu agan rubah:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL67am1TxYuZV64yUY5IBBpYmIvFEfV41RhCLoX5cq4z9O6ns41GukpsQ_Uw-rKtbp3yfTsTn9pki3xRrtq6Ss81FvoYsN73tBwNyKmRVfXtr32OwmcmlFehPnmpyv9HUsP3fh0DcCthEK/s1600/header+gue-galau+1.png.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN-f4bc5GRkZ1jKO_qVa3BSMTTQrLiksDceqhnM-hGvd49GS3elWGqzXEwagy2N1Ti8iPdHBrCtwlZ5-npYUWLpOa9V14ljXokPLyctb2tEAyZxg2zNtEZvP8_S1dF2XQ0zDWDA5FNZAiX/s1600/header2+gue-galau.blogspot.com.png.png
NB: