Hallo,

zu 1

ändere einfach im code das "uid" auf "nickname"!

zu 2

da hab ich leider keine Ahnung von