Hi, I've already sent in a support ticket for this but am curious if anyone else is experiencing this...trying to find out(too lazy to look through the code right now)if this has something to do with my install or it's a bug. When I update a username in AMember for a user it does change the "username" field in the phpBB3 database but it does not update the "username_clean" field. This basically leads to the inability of a user to use the phpBB3 native login for it relies on the username_clean field to be correct and also makes it so the admin can not administrate a user(change individual permissions, etc) via the ACP of phpBB3. Is anyone able to reproduce that or notice the issue. thanks, Steve btw, I should note that when adding a user via AMember for the first time it does add the username to the username_clean field correctly.
I dont think ability to change usernames in amember and also have them change in PHPBB3 is part of the plugin. It may be a bit complicated to do since it may be more than simply changing the username- all the posts by the member may also need to be updated- not sure of the phpbb3 structure, but my guess is this is the reason they didnt bother. David
yeah, makes sense, except phpBB3 actually automates a lot of that...usernames are associated with internal id#'s so when the username changes all past posts with that user update to the new one. It is working in that sense. Anyway, it is changing the username field...not the username_clean field. The username_clean field is basically a lowercase version of the username.....it's done that way for several reasons but if it is incorrect it does cause issues. For example, the username Marty will show in the "username" field but "username_clean" should be marty. If I change the username in AMember it will change it to, for example, Marty123 but the username_clean is staying at marty instead of marty123. Basically, there's two usernames for every user and phpBB3 relies on this...having to change the username in AMember then in the ACP of phpBB3 kind of defeats a main purpose of using this script. It's also one that I immediately didn't recognize as occuring and with all of the scripts Alex, etal. have to know in and out to write plugins for I can see this being easily overlooked.
Sounds like you got a pretty good handle on this- suggest you make a recommendation to Alex (amember) so they can improve it. David
I've used phpBB since almost it's inception....phpBB3 is very different in a lot of ways from earlier versions but I've hacked it around enough times to fit my own needs to have a grip on it. Alex did send an update for it, btw...very quick response. I'm busy importing about 1300 exisiting users into AMember now(pre-existing subs and all) where I have to email each one individually with a new password so haven't had time to test it but it looks good.