2.5.0 WordPress phpBB integration has been released!

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

Re: 2.5.0 WordPress phpBB integration has been released!

Post by axew3 »

even if option is set to yes into widget? looking immediately to this.

About attachments with same name into shortcode ... i see that my assumption is not correct, so i will return over this evening ... in the hope that a solution exist, if not, then into same post should must used attachments with different filenames. I will take a look on how phpBB manage two things before to say more about
User avatar
floxshifu
User www
User www
Posts: 50
Joined: Sun Sep 18, 2016 6:14 pm

Re: 2.5.0 WordPress phpBB integration has been released!

Post by floxshifu »

axew3 wrote: Fri Jan 21, 2022 4:49 pm even if option is set to yes into widget? looking immediately to this.
Yes, I haven't changed anything between 2.4.9 and 2.5.0, I just updated and it was not working just after that. I tried to delete my cache and refresh but nothing changed.

The bug is only when I'm logged in, the widget is not showing "Hello User" and no avatar, no number of posts, registered date... Strange !
madoma73
User ww
User ww
Posts: 39
Joined: Tue Dec 31, 2019 10:02 am

Re: 2.5.0 WordPress phpBB integration has been released!

Post by madoma73 »

I have same issue with login widget, if not logged it is ok, if logged nothing is shown.

Regards

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

Re: 2.5.0 WordPress phpBB integration has been released!

Post by axew3 »

The user session is still not set, seem that the login widget now run before the wp_w3all.php code

Code: Select all

add_action( 'init', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_init'), 3);
so before the user session isset, then the output do not happen because into wp_w3all_to_phpbb_form related function on file
class.wp.w3all.widgets-phpbb.php this never never will run:

Code: Select all

     if ( is_user_logged_in() && defined("W3PHPBBUSESSION") ) {
        $phpbb_user_session = unserialize(W3PHPBBUSESSION);
     }
Looking why this happen :?
madoma73
User ww
User ww
Posts: 39
Joined: Tue Dec 31, 2019 10:02 am

Re: 2.5.0 WordPress phpBB integration has been released!

Post by madoma73 »

Another thing also not related to this version. Forum loading is extremely slow vs direct Access... It takes up to 10seconds vs less than one with direct access
User avatar
axew3
w3all User
w3all User
Posts: 2712
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.5.0 WordPress phpBB integration has been released!

Post by axew3 »

into file /class.wp.w3all-phpbb.php
there is this code:

Code: Select all

          if(defined("W3PHPBBCONFIG")){
           $phpbb_config = W3PHPBBCONFIG;
          } else { return; }
it need to be substituted by:

Code: Select all

          if(defined("W3PHPBBCONFIG")){
           $phpbb_config = W3PHPBBCONFIG;
          } else { $phpbb_config = self::w3all_get_phpbb_config(); }
going to release 2.5.1 within this night, to fix this and other bug about front-end plugin that let setup an email that could be not an email.
If you find some problem more please let know!

About forum into wp page speed:
it load wordpress, then phpBB: if in the while there are libraries etc coming by google, all the process in the hand of various factors.
Of course we could see to speed up the forum rendering, before that others external resources loaded. Nice point i was thinking in last night...
The good point at moment is that once loaded, phpBB is then like accessed directly, even if in iframe... well this is obvious that it is it.
The iframe integration is a part that can be used or not, like each plugin option is.
Post Reply