Hello everyone,
I'm starting a new project and I'm planning to use elgg. My first challenge is that: I want the new user to answer some questions during the registration, and I want to save this information to use in the future. To use the information I can write a plugin or widget accessing mysql data saved during the registration form. But where can I put the form with the questions to be filled out during the registration?
Tks a lot,
Regards, Fabio.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- aethiopicus@aethiopicus
aethiopicus - 0 likes
You must log in to post replies.Hi aethiopicus,
There is already a plugin that allows you do this - look up profile manager in the plugins repository.
You can absolutely write your own plugins if you wish, take a look at the docs. Elgg is written in such a way that you don't need to worry about mysql - all of the queries are taken care of for you in the vast majority of cases, also, you don't need to create an new tables for anything.
It's a good model, takes a bit to wrap your head around but once you get it it's powerful.
Hi Matt, tks for the answer. I started using the profile manager plugin and it helped a lot, but I need a suggestion for the follow requirement:
One of the fields is Hobbies, and I want the new user to ranking (rating one to five, for exemple) which hobbies have more interest for him/her. Any ideia how to implement it?
For example:
Hobbies:
- basketball (4)
- baseball (3)
- football (5)
- soccer (2)
- hockey (1)
which mean that I'm more interested in football and basketball than in hockey and soccer.
Regards.