I'm trying to decide if I should bother messing with the Profile2 module. I need my users to have information like a real name stored and made available for other uses, but I'm not sure if there is an advantage to using the Profile2 module, or if I should just create custom user account fields for whatever I need.
The Profile2 module is only good if you need more then 1 type of profiles. For example: - a student profile, with certain fields. - a teacher profile, with different fields.
If you don't need different types, just stick with the custom user account fields.
Hope this helps!
There are a few other things that you could take advantage of if profiles are nodes, for example, keep track of the number of page views to a profile. Or you could use node revisions.
I don't have enough reputation to add comment. So, adding in answer. I am looking for the same functionality as #dimitril mentioned here. I saw Profile2 Module. I am using Drupal-7 and profile2 is deprecated for Drupal 7. So, can I still use Profile2 module? or is there any other way?
I wanted to hide edit profile page for user role students, so that they can't change the password.
Appreciate your help!
Disagree that the only use case is if you need multiple profile types.
Use Profile2 if you want to allow other users to view a user's profile but not his account information. you can create a separate page for the public profile and keep sensitive information in the user fields.
Another reason might be resource load. If you have a 100 fields and you load 20 users, that's a lot of data to get. If you split that in multiple profiles, you only need to load the profile that contains the relevant data.