Forum Menu Integration in WordPress: Help Needed

User avatar
DavFar
User w
User w
Posts: 11
Joined: Thu Mar 21, 2024 8:03 am
Contact:

Forum Menu Integration in WordPress: Help Needed

Post by DavFar »

Image

For some time now I have had the desire to carry out this action. I am looking for a way to integrate the forum menu, as shown in the image, into my WordPress page. Although I have already linked all the necessary elements, I am still looking for a way to accomplish this. I would greatly appreciate any help, as I have been researching on the internet with no success so far.
User avatar
axew3
w3all User
w3all User
Posts: 2724
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum Menu Integration in WordPress: Help Needed

Post by axew3 »

Sorry i do not have understand the question.
Do you mean the template integration?
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/
User avatar
DavFar
User w
User w
Posts: 11
Joined: Thu Mar 21, 2024 8:03 am
Contact:

Re: Forum Menu Integration in WordPress: Help Needed

Post by DavFar »

I mean to make only the forum menu or the forum header appear as shown in the image.
Image
User avatar
axew3
w3all User
w3all User
Posts: 2724
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum Menu Integration in WordPress: Help Needed

Post by axew3 »

Well, thinking to how to do this with easy, i could think to the shortcode template integration, that could be quite easily instructed to display only the top of the forum when required for the shortcode instance used: do you mean all the forum top header as it is on your screenshot, or just the links?
The first via template iframe shortcode is quite easy (i say via shortcode so to add it everywhere into template page)
https://www.axew3.com/w3/2022/02/the-aw ... shortcode/

File
wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_iframe_short.php
you can see that changing this line:

Code: Select all

<iframe id="w3all_phpbb_iframe" style="width:1px;min-width:100%;*width:100%;border:0;" scrolling="no" src="'.$w3all_url_to_cms_switch_phpbb_default_url.'"></iframe>
into this (giving css height and max-height, into the inline style attribute: 180px height into the example)

Code: Select all

<iframe id="w3all_phpbb_iframe" style="max-height:180px;height:180px;width:1px;min-width:100%;*width:100%;border:0;" scrolling="no" src="'.$w3all_url_to_cms_switch_phpbb_default_url.'"></iframe>
So it can be easily added as shortcode param option into the default Awesome Template integration by shortcode (will be added on next coming 2.8.3) then used to display the iframe instance with the needed height.
The result will be this:
Attachments
screenshot-onlyheaderShort.png
screenshot-onlyheaderShort.png (91.26 KiB) Viewed 693 times
User avatar
DavFar
User w
User w
Posts: 11
Joined: Thu Mar 21, 2024 8:03 am
Contact:

Re: Forum Menu Integration in WordPress: Help Needed

Post by DavFar »

I would like to make a suggestion. I find this system amazing because I personally find it very useful, but I have faced a problem: I'm not sure if I have correctly integrated everything as described here: https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

I think it would be very helpful if you could create a detailed video tutorial showing step by step how to carry out this procedure. Both myself and other users could benefit from such a guide, as many of us might have difficulty understanding the process correctly in writing.

I hope you can consider this suggestion so that more people can take advantage of your tool, which is really helpful. :D
User avatar
ale
User w
User w
Posts: 11
Joined: Sun Jul 22, 2018 9:43 pm

Re: Forum Menu Integration in WordPress: Help Needed

Post by ale »

I will do an install today asap, explaining detailed short step by step, in a better way and very simple!
You may don't believe that I was thinking the same last night, while coding a new feature: that updates phpbb last topics on widgets, or notifications, without to have to reload WP. The code will be released as ready (it is fully working on my tests)

While the step by step, fast, iframe template integration guide is coming today. Ok!
Post Reply