First intergration with wp_w3all
- coute
- User w
- Posts: 5
- Joined: Mon Apr 10, 2023 5:39 pm
- Location: France
Re: First intergration with wp_w3all
I have an other question. Is it normal that the forum iframe is loaded twice when i log in ?
"The highest you fly my Lord, the farther you have to fall" - Bayushi Kachiko
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: First intergration with wp_w3all
Hi! Sorry delay on answer in these days.
About login and refresh: yes if you mean that when on the iframed phpBB into WP, you go to login into phpBB, then you get a WP refresh: it is because at this time the phpBB overall_footer js code you added execute the function into the Parent Wp page and since the user result to be with UID > 0 in phpBB, wordpress js (on page-forum or the code of the iframe integration via shortcode) fire a refresh to set the WP user logged in into WP also.
It could be done in different way, but how to set/refresh (for example) the WP admin bar to display Howdy, axew3 after a login into the iframed phpBB?
Possible yes, but this make the long story very short, with a refresh (or in some theme you'll result logged in phpBB.but not in WP until you do not refresh WP in someway, changing page or refreshing the same you are on.
If you do not want a refresh because the WP page that display the phpBB, do not show any user info in wp so it is not useful that the user see he is already logged also in WP, it is very easy to do looking into related files (page-forum(or whatevernamed).php or the shortcode related code.
If in trouble to know how, just let know.
The whole iframe integration will be reviewed possibly yet on next release.
About online users widget, yes i know the code is not perfect, i did not followed on doing it more precise, but it will be maybe improved asap. If any suggestion about in the while, also let know!
About login and refresh: yes if you mean that when on the iframed phpBB into WP, you go to login into phpBB, then you get a WP refresh: it is because at this time the phpBB overall_footer js code you added execute the function into the Parent Wp page and since the user result to be with UID > 0 in phpBB, wordpress js (on page-forum or the code of the iframe integration via shortcode) fire a refresh to set the WP user logged in into WP also.
It could be done in different way, but how to set/refresh (for example) the WP admin bar to display Howdy, axew3 after a login into the iframed phpBB?
Possible yes, but this make the long story very short, with a refresh (or in some theme you'll result logged in phpBB.but not in WP until you do not refresh WP in someway, changing page or refreshing the same you are on.
If you do not want a refresh because the WP page that display the phpBB, do not show any user info in wp so it is not useful that the user see he is already logged also in WP, it is very easy to do looking into related files (page-forum(or whatevernamed).php or the shortcode related code.
If in trouble to know how, just let know.
The whole iframe integration will be reviewed possibly yet on next release.
About online users widget, yes i know the code is not perfect, i did not followed on doing it more precise, but it will be maybe improved asap. If any suggestion about in the while, also let know!
-
- Posts: 1
- Joined: Thu Feb 02, 2023 9:37 am
Re: First intergration with wp_w3all
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: First intergration with wp_w3all
Do you speak about a browser reload when login done into the iframed phpBB?
Do you experience the same here on the online example or not?
Do you experience the same here on the online example or not?