Embedding Forum - phpBB3 into my website

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Embedding Forum - phpBB3 into my website

Post by alex4orly » Tue May 29, 2018 8:44 am

Hello all,

Please visit this : http://www.beleuramyhome.org.au/forum.html - same package used here in WWB.

It is a Responsive site, with a master frame and layout grids and it works OK as embedded.
The phpBB is launched here through a page with an iFrame in it, that's how it is loaded "Inside" the website itself.

The problem I have is in that, when a user is subscribed to a topic and gets notified, when they click on the link in that email, it takes them directly to the page, OUTSIDE of the website itself, for the age group I am part of (70-80), this becomes very confusing...

Any suggestion how to overcome this.
Maybe someone can tell me how to make a call from the email message and pass the URL including the parameters into an iFrame ?
I thought maybe a Flexbox or embeded page can resolve my problem???

Cheers

User avatar
Pablo
 
Posts: 12575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by Pablo » Tue May 29, 2018 9:06 am

I don't think this is possible. This would require a modification of the phpbb code.

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Tue May 29, 2018 9:12 am

Well, what I intended to do is

1) Rename the page viewtopic.php to something like actualtopic.php for example...
2) Creat a new page called viewtopic.php - this will circumvent the need to change anything in the phpBB code (which I dislike the idea)
In this new page viewtopic.php - I will have an iFrame, but - instead of pointing the iFrame to a predefind URL
3) I will somehow be able to gram the URL arguments that are inside the email an dinamically load actualtopic.php + the arguments into this iFrame...

This should be possible, but I have no idea how to do this...

Thanks

User avatar
Pablo
 
Posts: 12575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by Pablo » Tue May 29, 2018 9:33 am

Maybe this will be useful?
https://www.wysiwygwebbuilder.com/forum ... =26&t=1445

Note that this is very old code, so I do not know if it still works. But you can try...

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Tue May 29, 2018 11:25 am

It seems here that everything is hard coded...
In my case, there are arguments added to the URL, for each case there are diferent arguments in the email
Or do I missunderstand something?

I can't see how are the argument passed to index.html passed into the iFrame?

Thanks

User avatar
Pablo
 
Posts: 12575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by Pablo » Tue May 29, 2018 11:32 am

What do you mean by hardcoded?
Did you try the suggested code?

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Tue May 29, 2018 10:44 pm

Hello again,

Morning down under, so I tried it - it is NOT working...
The page that the email message points to is : http://beleuramyhome.org.au/phpBB3/view ... ead#unread
It is actually a plain PHP file with NO HTML at all, you can check it on the WWB forum to see what I mean.
I inserted a HTML section at the bottom after all the PHP code (Which by the way, has no "?>" closing...) and made the insertion of the suggested code into that..

The problem is that phpBB is actually generating the HTML page on the fly, and that is what we see in the browser...
The html page is generated on the fly, I can't make any changes to this "Sub-page"

Back to my original question - can I pass a URL+arguments into an iFram on the fly?

Thanks

User avatar
Pablo
 
Posts: 12575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by Pablo » Wed May 30, 2018 6:01 am

I'm sorry ,if this does not work then I do not know how to implement this either.
Back to my original question - can I pass a URL+arguments into an iFram on the fly?
No, not without writing script.

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Wed May 30, 2018 6:04 am

Thanks

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Wed May 30, 2018 6:08 am

I am curious... how is it implemented on your website?

User avatar
Pablo
 
Posts: 12575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by Pablo » Wed May 30, 2018 7:20 am

I have just added a link, I am not using an inline frame.

User avatar
alex4orly
 
 
Posts: 480
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Embedding Forum - phpBB3 into my website

Post by alex4orly » Wed May 30, 2018 7:23 am

OK, just noticed that it is NOT embedded inside the website

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests