But let me see as i can ... in the while, this the solution, for mod menu on post and lightbox on phpBB if installed to display nice photos.
This will be default on wp_w3all WordPress phpBB integration embedded page.
Replace the page-forum.php with this one in attach:
[attachment=0]page-forum_x_next_1.2.2(iframe-scroll-on-actions+lightbox)_page-forum.rar[/attachment]
so edit the overall_footer.html of the phpBB template, look the wp_w3all code you have add, where start with:
Code: Select all
<script type="text/javascript">
Code: Select all
$(document).on('mouseout', '.postimage', function(){
var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);return;
});
Code: Select all
<script type="text/javascript">
$(document).on('mouseout', '.postimage', function(){
var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);return;
});
$(document).on("click", "a", function() {
var href = $(this).attr("href");
var w3allappend = href;
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);return;
});
</script>
<script type="text/javascript" src="./iframeResizer.contentWindow.min.js" defer></script>
On page-forum.php, +- on bottom, there are two lines of code likee this:
Code: Select all
if (w3all_phpBB_lightbox == true) {
window.scrollTo(0, 150);
any help on improvements and ideas very welcome!