Allow some multisite illegal username characters

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

Re: Allow some multisite illegal username characters

Post by axew3 »

Hello, it is going to be resolved!
Tonight i will try to release a supertested under any aspect, and improved, 2.7.9 version.
It resolve all queries issues, determined by the fact that for some reason, into some extremely customized wordpress configurations, db vars containing db connections data, are lost in the way (nor getting directly data with a call to get_option, works inside some function!)
It has been resolved as i have experimented for a site installation in the while. The string result famous bug have finally come out also to me and i had the possibility to understand form where it was coming out.

About your issue: it is true that on wp mums there is the possibility to create a network of sites for new registered users. And that on a default multisite wp, the wp code only allow letters and numbers as usernames. Anyway, since the login works for and like any username that's allowed into a normal wp [-0-9A-Za-z _.@]
and not only [0-9A-Za-z ]
and since there are mums sites i know, that allows [-0-9A-Za-z _.@]
it will be provided an option: so that will be possible to choose what to do, and fit any requirement.

2.7.9 resolve many other issues i've found along last month, while installing the integration on several servers and plugins configurations. And all about mums i think, while there are two error bugs into the 2.7.8 about mums.

Hope to finish with the code this night and i will return in reply here asap!

I had think to add the final and definitive solution for profile fields also, that will works ever in any configuration but it can be moved to the soon released 2.8.0, because 2.7.9 already fix many aspects and there is no reason to wait more for the release of it.

See you later!

[EDITED]
User avatar
axew3
w3all User
w3all User
Posts: 2713
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Allow some multisite illegal username characters

Post by axew3 »

To allow all default WP chars for phpBB usernames added into wordpress
will be necessary to add the follow into the wp-config.php file:

Code: Select all

define( 'WPW3ALL_USE_DEFAULT_WP_UCHARS', true );
maybe just after the added (required for multisite installations)

Code: Select all

define( 'WPW3ALL_MAIN_DBPREFIX', $table_prefix );
It will be available on next released 2.7.9

https://www.axew3.com/w3/2017/04/wp_w3a ... allations/
User avatar
axew3
w3all User
w3all User
Posts: 2713
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Allow some multisite illegal username characters

Post by axew3 »

2.7.9 has been just released
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Allow some multisite illegal username characters

Post by pennymachines »

That is fantastic! It will save a lot of hassle.

New line pasted to wp-config.php, plugin updated to 2.7.9 (with new unmodified class.wp.w3all-phpbb.php) and working nicely with those awkward usernames. :D

Thank you so much again for your dedicated and tireless work on this plugin.
User avatar
axew3
w3all User
w3all User
Posts: 2713
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Allow some multisite illegal username characters

Post by axew3 »

New fixes are coming, all about profile updates!
See you later
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Allow some multisite illegal username characters

Post by pennymachines »

Following update to Version 2.8.0, I'm getting this error:
WARNING
phpBB database connection error.
Integration Running as USERS NOT LINKED until this message will display.
Double check phpBB db connection values into the integration plugin admin page and NOT the wp-config.php (as may suggested on the warning message below).
Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at could not be established. This could mean your host’s database server is down... etc.
Post Reply