Webmaster Casa das Ciências - Guilherme Monteiro wrote:
Hello! As you said, I did this http://www.mediawiki.org/wiki/Extension:CustomUserCreateForm, and i could add fields in the registration, as you can see here http://wikiciencias.casadasciencias.org/index.php?title=Especial:Entrar&... (See fields: "Vínculo Institucional" and "Telefone/Telemóvel". But, the new fields don’t seem to be visible, or I do not know how to find them, in the database. I also did this http://www.mediawiki.org/wiki/Extension:UserLoginLog, but I still don’t see them. What can i do know?
Thanks!
I was at a lower level. Of course, using this extension works, but it only does half the work. You need to actually make mediawiki save them somewhere:
and then you can save the data with UserLoginComplete hook (although you would need to differenciate an account creation than a normal login, it's odd that there's no successfulCreation hook).