You can add fields in the registration of a wiki? How?
Thanks!
Webmaster Casa das Ciências - Guilherme Monteiro wrote:
You can add fields in the registration of a wiki? How?
Thanks!
Yes, using the UserCreateForm hook to add the field, 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).
Thanks!
2009/10/13 Platonides Platonides@gmail.com
Webmaster Casa das Ciências - Guilherme Monteiro wrote:
You can add fields in the registration of a wiki? How?
Thanks!
Yes, using the UserCreateForm hook to add the field, 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).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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!
2009/10/13 Platonides Platonides@gmail.com
Webmaster Casa das Ciências - Guilherme Monteiro wrote:
You can add fields in the registration of a wiki? How?
Thanks!
Yes, using the UserCreateForm hook to add the field, 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).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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).
Ok. If anybody knows, please, tell me!
Thanks!
2009/10/14 Platonides Platonides@gmail.com
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).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org