Page 2 of 2

Re: Login Problems after Update

Posted: Wed Jun 03, 2020 5:34 am
by Fatih
Hi,

here a short update:

I dont know why but with a custom config.php which lokks like follows, everything its working with the latest version of the plugin.

Code: Select all

<?php defined( 'ABSPATH' ) or die( 'forbidden' ); 

// WP phpBB w3all - custom config.php phpBB configuration file

// note: COMMENT OUT ( add chars // ) on the very last line of this file to force wp_w3all deactivation

// note: vars have been renamed (respect to default phpBB config.php file) to avoid conflicts with external plugins that may have vars named as phpBB
// and that instantiate db calls after integration plugin code execution

// Open with a text editor your phpBB root config.php file
// Change following values and setup according (like on) to your phpBB root config.php file 

$w3all_dbms = ''; // maybe required
$w3all_dbhost = 'yyyyyyyyyyyy.com';
$w3all_dbport = ''; // maybe required
$w3all_dbname = 'dbyyyyyyyyyyy';
$w3all_dbuser = 'zzzzzzzzzzzzz';
$w3all_dbpasswd = 'xxxxxxxxx';
$w3all_table_prefix = 'xyz_';
$w3all_phpbb_adm_relative_path = ''; // maybe required
$w3all_acm_type = ''; // maybe required

@define('WP_W3ALL_MANUAL_CONFIG', true);
// NOTE 
// you can comment out the following line, and force plugin deactivation
@define('PHPBB_INSTALLED', true);

Re: Login Problems after Update

Posted: Wed Jun 03, 2020 5:38 am
by Fatih
@axew3,

could you add this, as a option ?
https://www.axew3.com/w3/forum/?coding= ... E0I3AyNzE0

because after every update i have to modify the files.

I this this would be also a usefull option for others ;)

Thanks in advance

best regards

Re: Login Problems after Update

Posted: Wed Jun 03, 2020 8:55 am
by axew3
It should be already! If something you note that do not work as expected let know!
2.3.5 should allow +- any phpBB username to be added into wordpress, if it is not because it contain the character ' (for example), the user will be notified. I still recommend you to avoid and setup phpBB not allow special chars to be used as usernames if you let register users into phpBB, that then will be added into wordpress. Note that specials chars into wordpress usernames, aren't rendered/parsed correctly, so may the username in wp side appear/display not complete (even if all will work fine)

I've not follow to go deep into this aspect, that may could be covered more exactly maybe, to render correctly any username containing special chars.