I have try the above via console, and into my test into your linked example, it worked, strange it was not for you.
Anyway, about elementor, so use the
shortcode iframe template integration that will work,
surely YES.
Consider that the page-forum.php add header and footer, as you see, elementor will do the same, while all the rest (resuming) in this case will not be processed.
But with the last awesome shortcode template integration, it will work great.
https://www.axew3.com/w3/2022/02/the-aw ... shortcode/
You already did the hard part, so using the shortcode for you will be just like to apply as more you like and as explained into the help page linked.
To make same changes, if it will be necessary, because the iframe do not resize, just do the same into related file
/wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_iframe_short.php
but read all the help page to know how to find out all the code as it is into page forum (because in the case of the shortcode, relevant code has been divided in two files)
Also note, that may would be in this case, if editing the file like page forum, better to
Use custom files to display Last Topics Widgets, Login Widget or Shortcodes content option activating it into the plugin admin page, so that when you'll update the plugin, the edited file will not be overwritten
- elementor-andAwesomeW3phpBBShortcode.png (196.24 KiB) Viewed 2597 times