embedded refresh
-
Good morning,
i embedded my forum in WordPress, it’s ok.
Only a problem, if i reload a topic o forum page for check new messages, the page back at main page of board. please, is it possible fix?
-
p.s
also move the above changed just after this line:
w3allappend = w3allNormalize_phpBBUrl(href);well no, the fact you move down this line mean nothing … doing this change nothing, just change the code as suggested
it’s perfect š
thls is a Christmas gift. š
Thank you so much.Ok! You’ll discover that may there are some more things to adjust, all related on how links are passed from the js code on phpBB overall_footer.html to the main wp page, or within the same phpbb page due to the same added code.
Post the issue so it’s possible to know what is the easy workaround, improving the default js code time by time.p.s: look that the code has been updated into two points about lightbox extension whenever you use it. I adjusted the code for a site installation, realizing that the behavior was wrong using it.
It is awesome the result, working like a charm. One of best phpBB extensions to me.Buon Natale … so Merry Christmas!
-
This reply was modified 7 years, 3 months ago by
axew3.
buon Natale anche a te š
Merry Christmas to you. šHello! I was on the way to close pc case minutes ago, but before to do i’ve click on an external board link on the test install i have open on browser… i see that the code fail if a link is passed in the way the code is suggested, and point to a wordpress url within same domain (but external by wp page forum). So i delay the session stop of 5 min to fix…
The suggested code for overall_footer.html to resolve was:
// check if link point to external resource if ((this.href.indexOf(w3all_doc_domain) > -1) != true){ if(/^(f|ht)tps?:\/\//i.test(href)){ e.preventDefault(); // prevent load as we are inside parent.location.replace(href); return; } }but it need to be this instead:
// check if link point to external resource if ((this.href.indexOf(boardU) > -1) != true){ if(/^(f|ht)tps?:\/\//i.test(href)){ e.preventDefault(); // prevent load as we are inside parent.location.replace(href); return; } }the check need to be done against var boardU and NOT against var w3all_doc_domain
substantially change w3all_doc_domain with boardU in the proper line: now it is correct code.
Cheersp.s also line
parent.location(href);
need to be
parent.location.replace(href);
if you may copied wrong code for overall_footer.html last days.-
This reply was modified 7 years, 3 months ago by
axew3.
done. i changed it.
Thank you.PS. can i Disable registration in WordPress and to use only PHPbb for it?
-
This reply was modified 7 years, 3 months ago by
io2big.
hi,
i found a bug.
if i try to move/delete/ect. Topic from quickmod there Ajax error.PS. i use SEO Urls
Hi there!
if i try to move/delete/ect. Topic from quickmod there Ajax error.i use SEO Urls
because in effect this not happen in non seo. Maybe the little url converter function if on seo fail in this case, i still not give it a try.
May it need to be modfied for this that should be the very last problem to adjust for the seo urls.But can you report the js error if possible please?
Error 404
not found … ok
return over asapCiao!
can you try this,
where on overall_footer.html code added, change:if( /posting\.php\?mode=[reply|post]/ig.exec(href) !== null ){ var w3allNOappend = true; }with:
if( /posting\.php\?mode=[reply|post|bump]/ig.exec(href) !== null || /mcp\.php\?/ig.exec(href) !== null ){ var w3allNOappend = true; }what happen?
-
This reply was modified 7 years, 1 month ago by
axew3.
sorry for delay.
In my file 9verall_footer.html there is not:
if ( /posting\.php\?mode=[reply|post]/ig.exec(href) !== null ){
var w3allNOappend = true;
}what overall_footer.html js code are you using? The old v2?
https://www.axew3.com/w3/2018/12/phpbb-wordpress-template-integration-iframe-v3/i was using code of december.
i put v3 code now and all work.
Sorry. -
This reply was modified 7 years, 3 months ago by
The topic ‘embedded refresh’ is closed to new replies.