Profile2 is a contributed module that is designed to be the successor of the deprecated core profile module.

learn more… | top users | synonyms

0
votes
1answer
26 views

Programmatically load the uid of the owner of a viewed profile2 entity

Using Display Suite together with Profile2 and Flags. I want one of my flags to be visible on the profile2 page, but only to the owner of the profile page and to the administrator. I try adding a code ...
1
vote
2answers
38 views

Prevent a user from viewing another user's profile based on a field value

I'm a Drupal veteran, but this one has me stumped . . . I have two Profile2 profiles, one for a company and one for a job seeker. In the job seeker profile, there is an entity reference field where ...
1
vote
0answers
17 views

Is there a clear suggested path for migrating user fields from Drupal 6 to 7 to 8?

For those still migrating user data (e.g., interests, languages spoken, etc.) from Drupal 6, given the current status and plans for D8, is there a preferred way to manage those fields in D7? With the ...
0
votes
3answers
21 views

Display Custom User Profile Fields in a Block on All of Their Published Pages

I have created a role, and have added additional fields to their profile using Profile 2. The fields are part of the location module, and are just basic contact info (address and phone number). They ...
0
votes
0answers
14 views

How to relate two profile2's profile in one single form?

I'm developing a portal, using Drupal 7, to manage the entrance of people on my building. I'm using Profile2 module and I created two profiles: "Dweller" and "Visitor". Now my idea is to create a ...
0
votes
1answer
29 views

Change url alias for user profile pages based on role

I have two sets of users on Drupal 7 site, faculty and staff, with corresponding Profile2 profiles. I can't figure out how to get different paths for users dependent on roles, e.g, staff/userid or ...
0
votes
0answers
14 views

restrict fivestar rating permissions to user relationship

I am building a website for students/teachers where students can rate the teachers on a scale from 1-10. The rating system already works, and only students can rate. However, to prevent abuse, I want ...
0
votes
0answers
10 views

Display Custom Fields from the Profile2 Module in a Views Block on a User's Profile

I am using the Profile2 Module to add additional fields for a custom role. I want to display some of these fields in a views block on a user's profile page. I have tried using contextual filters ...
0
votes
1answer
37 views

Adding Profile2 fields to user registration

I have a custom module that overrides the /user/register page so that in addtion to username and email it also asks for about 10 or so Profile2 pieces of information. The code I have so far: ...
0
votes
0answers
18 views

Why are some users able to see their profile2 and some not?

I have a profile type "Participant" and a role of the same name. Services and Services Entities are installed so I can see a list of profiles at /entity_profile2.json The "Participant" role has ...
0
votes
1answer
24 views

Associate a Taxonomy term to user who creates it

I have field Company Name which is a term reference to a vocabulary with same name. when user types the field if name already exists, so auto complete showed that or else it will be added as taxonomy ...
0
votes
0answers
18 views

Restrict Profile2 Profile Type on Role

I would like to do a few things: Limit the profile type a user has based on their role. When/if they change roles, their profile type would change and any fields that were the same are brought ...
0
votes
0answers
29 views

How to expose Profile2 fields in Services?

Is there a good solution to CRUD a user's Profile2 fields via Services? I assume this can be done with Services Entity API, but I wonder if there is a more direct integration? With Services Entity ...
0
votes
1answer
29 views

Views node author relationships with profile2 owner

I have a multi user site, with Profile2 enabled. And I've set up a views block which is only displayed on the Profile2 page, and is supposed to list content/nodes authored by the Profile2 page owner. ...
0
votes
1answer
26 views

problems usings new custom theme

I have created a custom theme for my website. Now, I've started getting some strange problems. After installing Profile2 module, I am not getting view & edit option but it work fine if I use ...
2
votes
1answer
38 views

Slight design problem with Roles, Rules and Profile2 on my site

I'm a little stuck with the registration flow on my site. What I have is a multi-user environment, where each user can, but does not have to, create a secondary/Profile2 "shop" profile. Now I don't ...
0
votes
0answers
27 views

how to render profile2 type fields with default user registration form in custom block?

i installed profiel2 type module and make different profile types.Now i make a custom module and wants to display that profile type fields in custom block of that custom module. the main problem is ...
0
votes
0answers
19 views

Render Profile2 form using profile2 regtpath

How can i render profile2 registration form on my page.tpl.php using profile2_regpath? I can see this function function _profile2_regpath_user_register($profiles) { ...
0
votes
0answers
20 views

How to pull the states/countries from Drupal 6 profile dropdowns

I am in the process of moving a site from Drupal 6 to Drupal 7. I noticed that on the profile page, the names of countries in one wasn't exactly the same as the other (ie: United States vs Unites ...
0
votes
0answers
50 views

Profile2 registration form hook

I read profile2.api.php and found this one: hook_form_profile2_form_alter but I can't hook my form. I'm trying to hook it like here: $commands = ctools_modal_form_wrapper('user_register_form', ...
0
votes
1answer
73 views

attach node to user profile

Can anyone help me attach node to user profile with profile 2 or anyother way? It says here but is possible but it does not says how. I search a lot but nothing about profiles and nodes. I'm usind ...
0
votes
1answer
35 views

How to add the Interest field in profile page which links the user with similar interest?

I have seen this type of field in drupal.org where some fields appeared as links which lists the users with similar interests or country. Don't know how to do that in Drupal7.
0
votes
0answers
11 views

Alter value of a profile2 field

In profile2 I want to alter a field's value before being viewed. This should be done in module not theme. What is the best way to do this?
0
votes
0answers
37 views

ajax-registration module add form

In standart ajax registration module i got login, register and password forms. I created another registration form using profile2 module. how can i add this form to ajax-registration module? It looks ...
0
votes
0answers
30 views

Are there any modules for Profile2 revisioning/moderation

We're using Workbench moderation, and have a new requirement to add revisioning to the profile2 content. The primary reason for this is ensure that users' profile data has some degree of moderation ...
2
votes
2answers
89 views

Redirecting user links to their profile2 pages

I'm using the profiles2 module for my user profiles. I want to keep the user accounts hidden, and instead, use the profiles for public viewing. I disabled user pictures in users, and added an image ...
0
votes
2answers
37 views

Trouble associating EVA with profile

Using profile2, I created a profile, and it works fine. I want to list content authored by that user on that profile page. So, I created an EVA view, and I can't seem to figure out the right ...
0
votes
0answers
22 views

My profile 2 path gives access denied message for anonymous users. Is there a way I can over ride this and grant access to the seller role?

My profile 2 path is example.com/merchant/register. I believe I get access denied message because the page can only be viewed by anonymous users. Is there a way I can over ride this and grant access ...
0
votes
1answer
38 views

Edit profile2 tab in view profile2 rendered with views

I have a profile created using profile2 module. I want this profile to be rendered as a separate page and I have done so using views. The profile can be viewed in a url: ...
0
votes
0answers
34 views

Installing Profile2 to Commerce Kickstart

When installing the module: "Profile2" to distribution of Drupal 7: "Commerce Kickstart". and, I do activate, but got the following error: Internal Server Error The server encountered an internal ...

15 30 50 per page