Repeatable: Always
Steps to repeat:
1. Download Profile2 Module
2. Activate Profile2 Module
3. Add Fields in Profile2.
4. Give permissions to Profile2 type. e.g.Profile type here is Main Profile
4. On Edit account page user can see a tab Main Profile next to Account tab.
4. Users enter their information in Profile2 fields while registration.
Expected Results:
User gets a list of other users on site and can click on the user to view their profiles.
Actual Results:
Users can view only basic profile but can't view Profile2 fields of other users.
No Error Message is shown or logged.

Comments: I am using Drupal Commons Distribution for my site.

Comments

he.wang’s picture

You can actually find a Main Profile pill underneath the Edit Account tab once you DISABLE Profile2 pages module. When enabled, the Profile2 pages module will create a separate page for new account fields, which apparently cannot be displayed with the default layout/style used with Drupal commons.

Lusha_MHI’s picture

I have the same issue, I, to be honest, don't know if I am using Drupal Commons. I have gone through and set permissions all the way to anon users on view, edit own, and even delete own profile. As an admin I can see my profile2 sections and edit them, but my non admin user account cannot see any of this.
update: Even as admin I am unable to see non admin profile2 sections.... not even profile pictures.

namratay’s picture

Hello he.wang and Lusha D, thanks for your reply.
I found the issue and have fixed it back. Sorry for delay.

he.wang, as you said, Profile2 fields cannot be displayed with the default style used with Drupal commons distribution is perfectly correct.
Solution:
The reason behind it is that, Drupal Commons has its set of profile modules which are enabled by default and it overrides the profile view page, as the result we can't see the Profile2 fields there. So, either you need to disable those specific modules used for viewing the profile or go with Drupal Commons default behaviour.
So in my case, I disabled those modules so I am able to see Profile2 fields now.
For Lusha D, i think you also need to check which distribution you are using and if it has some profile related modules which are enabled you can disable those and see the result.
Thanks.

rickj’s picture

Status: Active » Closed (works as designed)