This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

[Beta]Facebook like box

General support for phpBB3. If a style looks strange or your forum is displaying errors, this is the place to post.
Forum rules
PLEASE USE THE [HSIMG][/HSIMG] TAGS WHEN POSTING LARGE IMAGES!
IF YOU DO NOT PROVIDE A LINK TO YOUR FORUM, YOUR TOPIC COULD BE IGNORED!
CANNOT REALLY HELP YOU OUT IF WE CANNOT SEE THE PROBLEM!
Post Reply
dungbarca90

[Beta]Facebook like box

Post by dungbarca90 »

Modification Name: Facebook like box mod
Author: itepress.com
Modification Description:Facebook popup like box shown on the right.
DEMO: http://itepress.com/forum/forum/
Install:
Open: styles/prosilver/template/overall_footer.html
Find:

Code: Select all

</body>
Add before:

Code: Select all

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(document).ready(function() {jQuery(".w2bslikebox").hover(function() {jQuery(this).stop().animate({right: "0"}, "medium");}, function() {jQuery(this).stop().animate({right: "-250"}, "medium");}, 500);});
/*]]>*/
</script>
<style type="text/css">
.w2bslikebox{background: url("http://i1169.photobucket.com/albums/r517/dungbarca90/w2b_facebookbadge.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:0%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 7px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: gray;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style>
<div class="w2bslikebox" style="">
<div>
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fnamepage%2Fidpage&width=245&colorscheme=light&show_faces=true&connections=9&stream=false&header=false&height=270" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 270px; width: 245px;background:#fff;"></iframe><span><a href="http://itepress.com">by itepress.com</a></span>
</div>
</div>

* You must change http%3A%2F%2Fwww.facebook.com%2Fpages%2Fnamepage%2Fidpage on above code(in <iframe )with your namepage and your idpage .Example my link is : http://www.facebook.com/pages/Itepressc ... 1889110111 => namepage:Itepresscom
idpage:376191889110111 .Thus,code in my case is

Code: Select all

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(document).ready(function() {jQuery(".w2bslikebox").hover(function() {jQuery(this).stop().animate({right: "0"}, "medium");}, function() {jQuery(this).stop().animate({right: "-250"}, "medium");}, 500);});
/*]]>*/
</script>
<style type="text/css">
.w2bslikebox{background: url("http://i1169.photobucket.com/albums/r517/dungbarca90/w2b_facebookbadge.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:0%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 7px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: gray;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style>
<div class="w2bslikebox" style="">
<div>
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FItepresscom%2F376191889110111&width=245&colorscheme=light&show_faces=true&connections=9&stream=false&header=false&height=270" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 270px; width: 245px;background:#fff;"></iframe><span><a href="http://itepress.com">by itepress.com</a></span>
</div>
</div>
.You must change namepage and idpage and save all files.
Post Reply