It's alive!!!!
I how have quite happily the banned message, which I expected as the permissions for the imported users have not yet been set.
I'll get it all packaged up nicely and release it later too. It certainly isn't pretty code, but it works, and that is the most important thing
The problem was the order of some of the checks taking place. When I moved some things around it started telling me that the entered password was correct or incorrect, so it was then just a case of getting the DM updating done in that place, so now it successfully logs in when the password is correct with the phpbb table and updates the vb password too so the vb login will then be used from that point by checking if the password updating has already taken place or not.