how is it guys, who know the right code to get member username in that plugin?
If you are doing that in register_start you wont be able to pull a username I don't think. Since they are just registering they don't have a username yet. When you are logged in it will not even let you go to the register page.
What exactly are you trying to do maybe we can help another way.