Hi all,
I need some help in writing a module for Drupal. I have installed drupal and as far as I think I understood some parts of writing a module, but havent completely understood. By the way i write PHP code for some small projects.
This is the whole scenario.
Iam part of an alumni of a school back in India. They have a website with all the user profiles stored in mysql database. We wanted to use the same database. I tried to solve this problem I imported all the fields from this DB to mine. They have a field called "status" which shows whether they are alumni or not.
Can I give roles based on these field "status"? I want to assign two roles. Mentor and Mentee. If he is part of the alumni he is a mentor otherwise he is a mentee. If "yes" I can proceed with the next question. Can I get some references to such implementation and how can it be done.
The next thing is I have to have an application form for the mentors which they need to fill, like the specializations information and so.
The mentees will not get this application form .they will get a search form and when they search for a specialization they need help in, they get to the list of mentees. Messaging between the mentors-mentees is not restricted rite now. I want to use the concept of buddy list after this.
My question is whether there is a similar implementation like this which i can use or should I start from scracth. If i have to start from scratch, can ppl point me to some modules with some part of these implemementations.