The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

Re: The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

by axew3 » Tue Feb 15, 2022 10:13 pm

The phpBB iframe shortcode, when/if placed into home, then you click into an iframe link, go to push into address bar the home-placehoder if the shortcode has been set into home with this param.
but if i use the shortcode with only the gap param:

Code: Select all

[w3allphpbbiframe wp_page_iframe_top_gap="100"]
and the forum-page exist because has been created, then the code will push this into the url.
The result is the actual into this site home. But if the page-forum is not set, this would return an url not found.
So due to this wrong behavior when/if home-placehoder is set for the home (and the forum-page has not been created/built), so when browser refresh due to a click into reload button on browser, it will return page not found, the problem has been fixed just avoiding the url push on browser when/if shortcode placed into home page. If in homepage, the push will not happen.
The shortcode will add also the param phpbb_default_url that allow to load phpBB by default, pointing to something specific like a specific forum or topic, so for example:

Code: Select all

[w3allphpbbiframe wp_page_name="inhomepage-phpbbiframe" wp_page_iframe_top_gap="100" phpbb_default_url="https://localhost/phpbb33/viewforum.php?f=3"]
will open by default the iframe with a top gap of 100, of a shortcode placed into home, that will open by default a forum ID3.
The awesome will be more awesome just adding a param.
So that it will be possible to show any content into different pages or posts, focusing the "iframe landing" on each, into what more like.

It will be updated on repository as soon, i'll notify as done.

Re: The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

by axew3 » Tue Feb 15, 2022 2:09 pm

Yes it work fine! Happy that it is it for you also! Look that the help page has been updated several times after, to add hints on it in case something goes wrong on setting up and the iframe do not display https://www.axew3.com/w3/2022/02/the-aw ... shortcode/

I finally decided to release it as free, while maybe (maybe not for the moment) new coming features will be added in the way i mentioned (and removed).

About phpBB iframed template shortcode:
there are ways it can be used may not expected.
If you add it without adding the page param, and you have setup into phpBB overall_header.html the page-forum, pushed links are these of page forum. So if you refresh by browser you will be redirected to page-forum, instead of the same page where the shortcode applied.
More: if you comment into overall_header.html js added code this line:

Code: Select all

document.location.replace(href0);

Code: Select all

//document.location.replace(href0);
when phpBB forum is accessed via direct link, will load the real phpBB url and not the wp page.

More coming: let suppose that the shortcode iframe add a param load_default_phpBB_page
it could be used to open the iframed phpBB, into a specific topic/post, a forum etc.

The V5 code require in the while immediate fix for bots.
Nothing exceptional but
I noted that the overall_footer.html js code is not wrapped into this:

Code: Select all

<!-- IF not S_IS_BOT -->
.....
<!-- ENDIF -->
so overall_footer.html code become for example:

Code: Select all

<!-- IF not S_IS_BOT -->
<script type="text/javascript">
// START MANDATORY CHANGES
document.domain = 'axew3.com';
..... all the code ...... until last line
<script type="text/javascript" src="https://www.axew3.com/w3/forums/iframeResizer.contentWindow.min.js" defer></script>
<!-- ENDIF -->

so the V5 snippet on V5 procedure will be right now updated to fix this.

Re: The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

by madoma73 » Tue Feb 15, 2022 11:38 am

iframe shortcode is awesome, it's works like a charm on my side :-)

The awesome 2.5.6 has been released! 2.5.7 logs and report bugs

by axew3 » Tue Feb 15, 2022 9:50 am

Code: Select all

= 2.5.6 =
*Release Date - 15 Feb, 2022*

* Add: the awesome iframe phpBB template integration that will fit any template. You'll find it into plugin admin page
* See: see the new awesome iframe shortcode home page here: https://www.axew3.com/w3/2022/02/the-awesome-iframe-template-integration-using-shortcode/
* See: easy example online: https://www.axew3.com/w3/board/
* Fix: a possible (even very hard) secondary security bug into page forum and /common/phpbb_endpoints_ext_functions.php
* Remove: finally clean up 'Links for embedded phpBB iframe into WordPress' option, not required anymore by long time, since V5 js code. Remove all related code, into all functions, also about a jquery function inclusion 
* Fix: several language hints (lang file updated) and minor clean up all over
* Enjoy
https://www.youtube.com/watch?v=q0hyYWKXF0Q

Top