Basically you can remove lightbox with one small code modification, open the template file (for example facebook-stream/templates/white_stream_tpl.php) and delete this part of code:
jQuery(".sliboxes_fbstreamfree").colorbox({
rel:'group1',
photo:true,
title: function(){
var url = jQuery(this).attr('data-fb_link');
return '<a href="' + url + '" target="_blank">Show more</a>';
}
});
jQuery(".video_fbstreamfree").colorbox({
iframe:true,
innerWidth:640,
innerHeight:390,
title: function(){
var url = jQuery(this).attr('data-fb_link');
return '<a href="' + url + '" target="_blank">Show more</a>';
}
});
If you want to open post on facebook when user click on the image, then you have to do another modification in the same file
replace this
<a class="<?php echo $box_class;?>" href="<?php echo $box_src;?>" data-fb_link="<?php echo $OnePost['fb_link'];?>" alt="<?php echo $OnePost['name']?>">
<img class="facebook-stream-container-img-dark" src="<?php echo $OnePost['picture'];?>" />
</a>
with this
<a class="<?php echo $box_class;?>" href="<?php echo $OnePost['fb_link'];?>" data-fb_link="<?php echo $OnePost['fb_link'];?>" alt="<?php echo $OnePost['name']?>">
<img class="facebook-stream-container-img-dark" src="<?php echo $OnePost['picture'];?>" />
</a>
-
This reply was modified 8 years, 2 months ago by
Ivan M.