Problem Suffusion theme integration

vasch
User w
User w
Posts: 19
Joined: Fri Apr 01, 2016 1:47 pm

Problem Suffusion theme integration

Post by vasch »

First of all, thanks for this plugin! I have been using wp-united for years but as there has not been any support, this didn't work anymore. Your alternative is great!
I have a website with allot of information on different pages, also using lots of plugins: www.aquaponic.be (hosting the Dutch aqua
Wordpress version: 4.4.2 with the Suffusion theme 4.4.9.
Up to now, I am forced to open the forum in a separate page, however I would like to embed it in a WP page (iFrame or other solution)
(but user integration does work)
Using the admin page, I created a template called 'forums' that created a php 'page-forums' in the suffusion templates.
However, making a new page (also called forums), I cannot select this theme! I can see it on ftp, but not in the templates list of the page.
That's the first problem.
Secondly, I tried to follow the steps to embed this further, but also this gives problems (https://www.axew3.com/w3/2016/02/embed-p ... esponsive/)
- the phpBB style templates (prosilver and subsilver2) have a file overall_footer.html, but this file does not contain <!-- EVENT overall_footer_after --> as specified.

Any help would be very welcome!

Val
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem Suffusion theme integration

Post by axew3 »


X WordPress Suffusion theme:
Replace the created page-forums.php, with this in attach, rename it as page-forums.php as on my test i have named the page forum instead (or whatever you like to name it). THAN go on wp PAGE settings, to edit your blank forums page so on settings that appears on bottom about Suffusion theme, choose the option you like about sidebar, save. And you are done. Try out also others theme options, i've just choose the one that was looking ok at first try.

[attachment=0]page-forum-suffusion.zip[/attachment]

Post the overall_footer.html code of the theme lucid_lime, if there is an overall_footer.html in. Or all the theme zip to see what and where.
Look around this post, may help, if not just let know:
https://www.axew3.com/w3/index.php/forum ... d=164#p164

AND LOOK that if you rebuild the page on wp_w3all, the content will be replaced by the default page-forum.php of wp_w3all.
So if you wish rename in something else, just rebuild on wp_w3all it than, substitute the template file with this, in attach naming it as choose.
So if i rebuild naming the embed page community on wp_w3all, i will rename as page-community.php the file template. Hope it is clear as explained.

Example WordPress Suffusion template test embed, work ok, full page or with sidebars:
Attachments
page-forum-suffusion.zip
(2.75 KiB) Downloaded 285 times
wp_w3all_suffusion_theme.jpg
wp_w3all_suffusion_theme.jpg (120.28 KiB) Viewed 2908 times
vasch
User w
User w
Posts: 19
Joined: Fri Apr 01, 2016 1:47 pm

Re: Problem Suffusion theme integration

Post by vasch »

Hi Axew3,

thank for the help!
With the new page-forums, it works better, but not very good:
I do get the forum in the page, only with limited height:
foruminpage.jpg
foruminpage.jpg (106.6 KiB) Viewed 2891 times
If I add a height using the Chrome inspector, it looks better:
foruminpage2.jpg
foruminpage2.jpg (209.73 KiB) Viewed 2891 times
Before (with wp-united), I could change the css to cope with the width and height.
I understand that this is difficult in iframes.
Also, I need to loose the whole forum header when opening it in the iFrame, so the user has the impression that is just another page on the website.

Anyway, attached the overall_footers of prosilver and subsilver2; lucid_lime does not have a overall_footer, I think it uses the prosilver one.
footers.zip
footers of prosilver & subsilver2
(1.36 KiB) Downloaded 277 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem Suffusion theme integration

Post by axew3 »

your_footers_x_iframe.zip
(1.49 KiB) Downloaded 261 times
yes all ok, but you need to add a file as procedure require so:
load/add with ftp on phpBB root folder the file iframeResizer.contentWindow.min.js that is contained inside YOURWP/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

After this, phpBB require to recompile the new template, or modifications to his template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under

Server Configuration -> Load settings -> Recompile stale style components set to YES and save. So re-set to NO and save other time the option.

returning at home in the evening, hope also to release 1.2.0 within this night time.
Please let see the result after this, so we can fix the rest
vasch
User w
User w
Posts: 19
Joined: Fri Apr 01, 2016 1:47 pm

Re: Problem Suffusion theme integration

Post by vasch »

OK, this is what I did:
- copied the new overall_footers to the styles template folders (and looked ito them to understand ;) )
- iframeResizer.contentWindow.min.js was already copied, redit it to be sure the file has not been changed
- recompiled slate style and reset to 'no'
- cleared cash

As a result, as you can see on www.aquaponic.be/forums, both left and right sidebar are below the content and the content sticks to the top menu.
It looks like all <div> tags are ok, maybe I am missing something?
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem Suffusion theme integration

Post by axew3 »

on the default theme, it work... the problem can come out for many reasons.
Unfortunately there are many errors on your template:
https://validator.w3.org/nu/?doc=http%3 ... Fforums%2F
and finally, a fatal error on parsing.
With full page no sidebar what happen?
With one sidebar?
Some plugin you have install, or something you've add inside some widget, is the cause i think.
This the reason of the wrong result. The default Suffusion theme work ok on my fast test:
ScreenHunter_61 Apr. 04 22.36.jpg
ScreenHunter_61 Apr. 04 22.36.jpg (107.08 KiB) Viewed 2879 times
Post Reply