Page Not Building

xray1
User w
User w
Posts: 11
Joined: Sat Jan 30, 2021 10:51 am

Page Not Building

Post by xray1 »

After updates, I rebuilt the forum page after updating site and theme template for WordPress. The Forum page attempts to redirect but does not build the page as expected.
User avatar
axew3
w3all User
w3all User
Posts: 2862
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page Not Building

Post by axew3 »

i do not have understand the problem: which site?
It exist the page-forum or whatever you named it
into your active template folder?
after updating site and theme template for WordPress
which? those news built with gutenberg, require to use the integration using shortcode, page-forum will not work on new templates that are different
xray1
User w
User w
Posts: 11
Joined: Sat Jan 30, 2021 10:51 am

Re: Page Not Building

Post by xray1 »

Hmmm, I have had this for several years, I only did the normal updates and then did the forum rebuild after. My current page in WP is the default and does not have anything in the body. Is this what you mean that I need to add the short code too?
User avatar
axew3
w3all User
w3all User
Posts: 2862
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page Not Building

Post by axew3 »

Update to use the shortcode in place of page-forum:

remove the page-forum.php from your template folder or rename it in something else.
Add the shortcode into the page like this:
.

Code: Select all

[w3allphpbbiframe wp_page_name="forum" wp_page_iframe_top_gap="300"]
adjust after the top gap reposition, as you'll like, increasing value or decreasing as necessary. At moment just put like this.

Then into the plugin admin page, under The (awesome) iframe template integration using shortcode option, put
forum
and save.

Now open up your page forum to see that it is working.
https://www.axew3.com/w3/2022/02/the-aw ... shortcode/
If not and anyway:

...but, the iframe resizer files lately changed, so you should also:
update your overall_footer.html code to the latest and use new overall_footer.html code and the new
iframe-resizer.child.js file.
Just follow the overall_footer.html code instructions step by step as ever here, and you'll update:
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

Recompile the phpBB template after finished edits!
Let know!
xray1
User w
User w
Posts: 11
Joined: Sat Jan 30, 2021 10:51 am

Re: Page Not Building

Post by xray1 »

Ok, I worked through the instructions and now the forum will blink on the page and then disappear. I am really not sure what code I am messing up. I added the new overall footer code.
User avatar
axew3
w3all User
w3all User
Posts: 2862
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page Not Building

Post by axew3 »

mhhh, there is a problem somewhere into the index.php but i am not sure by what it is caused.
Did you removed the file page-forum from the template folder???
If you are into a gutenberg theme, YOU HAVE to REMOVE the file created with the click you did to Build page-forum on plugin admin.
The console say

Code: Select all

Uncaught SyntaxError: `` literal not terminated before end of script index.php:1814:30
Maybe it come out because the file is loaded?
Remove the file page-forum from your theme template folder it if still is there.
??

ps you have a PM
Post Reply