2.5.0 WordPress phpBB integration has been released!

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: 2.5.0 WordPress phpBB integration has been released!

Re: 2.5.0 WordPress phpBB integration has been released!

by axew3 » Fri Jan 21, 2022 8:51 pm

just fixed one more, again into
class.wp.w3all-phpbb.php
that is really secondary Php error notice, when in debug mode, and phpBB database connection config values still have not added, into config admin page. It is just like to add this, after the code mentioned above, changed into 2.5.1:

so just after (on 2.5.1):

Code: Select all

          if(defined("W3PHPBBCONFIG")){
           $phpbb_config = W3PHPBBCONFIG;
          } else { $phpbb_config = self::w3all_get_phpbb_config(); }
it has been added:

Code: Select all

         if(!defined("W3PHPBBCONFIG")){ // may the connection db values have not still been set
           return;
          }
or just replace the file
https://plugins.trac.wordpress.org/expo ... -phpbb.php
into /wp-content/plugins/wp-w3all-phpbb-integration/ folder

but this was just a really secondary issue, happening in the above mentioned circumstance and leading to no problems

Re: 2.5.0 WordPress phpBB integration has been released!

by floxshifu » Fri Jan 21, 2022 8:35 pm

Thank you for the speed to pull a fix :o :D

It works fine for me! And no speed problem to display the forum side. Really good job 8-)

Maybe, at least, create a language file to use it instead of translate .php files at each update of the plugin (for the frontend content only) ;)

Re: 2.5.0 WordPress phpBB integration has been released!

by axew3 » Fri Jan 21, 2022 8:06 pm

2.5.1 released to fix:

Code: Select all

* Fix: function verify_phpbb_credentials() to correctly setup main connection config vars, so to correctly execute all subsequent main tasks into widgets etc
* Fix: check valid emails formats for frontend plugins, before being updated into WordPress
then as on queue it remain to fix languages files, the issue about if there are same attach names into post shortcode, forum rendering on page forum before others external libs may loaded, and ?
Thanks for yours reports :)

... it seem to me that it also really improved about speed execution!

Re: 2.5.0 WordPress phpBB integration has been released!

by axew3 » Fri Jan 21, 2022 6:12 pm

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.

Re: 2.5.0 WordPress phpBB integration has been released!

by madoma73 » Fri Jan 21, 2022 5:53 pm

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

Re: 2.5.0 WordPress phpBB integration has been released!

by axew3 » Fri Jan 21, 2022 5:46 pm

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 :?

Top