url segments not propagating
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
url segments not propagating
Hey, not sure if this has been covered or not, but I noticed that my urls do not change like yours do, so there's not any url re-writing happening when you change pages in the forums. This makes linking to a particular topic impossible. Just wondering if you might have some insight as to how to get that working.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: url segments not propagating
url segments not propagating
there are some points that need to be fixed about, but you report that your page not return same as here, this can be the reason:
or you have not rebuild page-forum.php that has been changed respect older versions, depend when you have rebuilt/build it (or you have copy/paste it into your WP template folder) OR
your overall_footer.html of phpBB template do not contain the follow code, as explained here
https://www.axew3.com/w3/2016/02/embed-p ... esponsive/
there are some points that need to be fixed about, but you report that your page not return same as here, this can be the reason:
or you have not rebuild page-forum.php that has been changed respect older versions, depend when you have rebuilt/build it (or you have copy/paste it into your WP template folder) OR
your overall_footer.html of phpBB template do not contain the follow code, as explained here
https://www.axew3.com/w3/2016/02/embed-p ... esponsive/
Code: Select all
<script type="text/javascript">
$(document).on('mouseup', '.postimage', function(){
var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});
$(document).on("click", "a", function() {
var href = $(this).attr("href");
var w3allappend = href;
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});
</script>
<script type="text/javascript" src="iframeResizer.contentWindow.min.js" defer></script>
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
Re: url segments not propagating
Looks like I might have been using an older version of the code from overall_footer:
I'll try the one you posted first. Also I rebuild my template every time I update the plugin.
Code: Select all
<!-- EVENT overall_footer_after -->
<script type="text/javascript">
$(document).on('mouseout', '.postimage', function(){
var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});
$(document).on("click", "a", function() {
var href = $(this).attr("href");
var w3allappend = href;
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});
</script>
<script type="text/javascript" src="./iframeResizer.contentWindow.min.js" defer></script>
<!-- IF S_PLUPLOAD --><!-- INCLUDE plupload.html --><!-- ENDIF -->
{$SCRIPTS}
<!-- EVENT overall_footer_body_after -->
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
Re: url segments not propagating
So none of that seemed to help, my iframe is still responsive, and that all works, but the urls still do not re-write.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: url segments not propagating
By the way you'll have recompile of course phpBB template also after the change on overall_footer.html if you have change code on it. But this was not the problem as supposed, so remain only the page-forum(or board etc).php file on WP template.
This in attach is the actual page-forum.php here running, i'll check well all things after as soon i can, fixing if something was maybe lost (in case i'm sorry). P.S It is not required that at any plugin update you substitute the page-(forum or page etc).php into your WP template folder: it will be necessary only when new additions are done on it, that will be always reported in case on each release info. Please let know if this has finally resolved.
This in attach is the actual page-forum.php here running, i'll check well all things after as soon i can, fixing if something was maybe lost (in case i'm sorry). P.S It is not required that at any plugin update you substitute the page-(forum or page etc).php into your WP template folder: it will be necessary only when new additions are done on it, that will be always reported in case on each release info. Please let know if this has finally resolved.
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
Re: url segments not propagating
Gave that template a try, both from the automatic side, and by manually putting it into my template folder, and it didn't work. Made sure that my caching was turned off as well. Not sure what it could be at this point.