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
0answers
4 views

What is the correct way to create a new profile2 entity and provide fields for that entity programmatically?

Using my module, I want to create a new profile2 profile. The hook obviously is hook_default_profile2_type. I created that profile in my custom module's .module file and it works as expected: ...
0
votes
0answers
10 views

Content View to sort results to match the users Profile 2 taxonomy term

I have a taxonomy term that gets assigned to a content type via entity reference, and the Drupal user, via Profile 2. I want to add a filter to a content view that matches the 2 up, so if you filled ...
1
vote
2answers
24 views

How to hide Profile2 entity fron user view?

I have a few profile2 types. Profile2 entity is always rendered on standard user view page. How can I hide this entity? I know I can hide all fields in Manage Display tab, but I wondering if there ...
0
votes
1answer
21 views

Manage profiles of “people” which might at some point become users

My case is the following: In our company's Drupal "intranet", we need to manage prospective and actual Human Resources, and there's three kinds of them: 1) Candidates: HR people collect CVs and make ...
0
votes
0answers
4 views

Is it possible to use use $page to render profile2 fields for every user?

I need to separate some elements from the main block, so I'd like to take them from profile2--account.tpl and place them in page--profile-account.tpl. I got it to work for one user, but then I ...
0
votes
0answers
14 views

Is it possible to use Devel to create a “mad libs” style profile2 registration page?

I've got the template file working, however <?php dpm($page); ?> and <?php dpm($content); ?> aren't getting me what I need to isolate the forms. I saw this post ...
0
votes
2answers
59 views

Ctools multistep returning user

I am trying to implement a multistep registration form where if the user drops off the first step I then email them a link several weeks later for them to continue to step-2 ...
0
votes
0answers
7 views

Drupal Profile 2 Dynamic fields [duplicate]

I am working with Drupal Profile 2 . Based on User Input Yes/No . I would like to place the selection fields accordingly . Like If the experience Field if YES. I want to present Employer details ...
3
votes
3answers
96 views

How to theme Profile 2 fields for anonymous?

I bring this question because I am not able to find the answer in anywhere, my apologies if it is a repeated one. I have a Profile 2 type "curriculum_vitae", that I use to gather jobseekers CV. I ...
0
votes
0answers
18 views

How can I add a profile tab with the viewed users nodes?

I have tried using views and profile2 so far to create a tab in the users profile to display a list of the nodes created by that very author. I am not trying to display all nodes of the current logged ...
0
votes
0answers
17 views

Drupal 7: Entity Reference to Profile2

I have a Content Type which has a EntityReference field to a Profile2(I get all users from there and display them as check-boxes). The problem I have is that instead of the User name from that Profile ...
0
votes
1answer
15 views

entity_metadata_wrapper Changes not being saved to user Profile2 profile

Challenge: I have a profile2 taxonomy term reference field (single select) on user profiles called "field_member_interest_group". On save/update of the user profile, I wan to A) See if the user has ...
0
votes
0answers
13 views

Getting errors when trying to delete field and can't uninstall profile2 module

Getting errors when trying to delete field and can't uninstall profile2 module When I try to delete fields, I get this error: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ...
0
votes
0answers
20 views

How to change or add /node/*/registrations table fields entity registration module

For everyone working with entity registration, how can I achieve this? At the moment there is: ID E-mail User ... I want to add a field to that. So when I or a user with rights checks the ...
1
vote
0answers
17 views

Email Users Daily with Content Containing Terms Also in User Profile

Users on my site add their "interests" via an autocomplete term reference field on a Profile2 form (adding to the "Interests" vocabulary). I would like to send the users a daily email of content ...
0
votes
0answers
23 views

How to add custom display suite fields with profile2

I am using Display Suite with Profile 2. when I add custom field using hook_ds_fields_info() it is working with node but, no fields is displaying in profile 2 type manage display fields. If any body ...
0
votes
0answers
19 views

Move Drupal Profile2 field from one profile type to another

Use Case: I have Profile2 module installed and enabled. I have a Profile type called 'Main Profile' and it has a field (e.g. City) and different users have already entered value for the field. I ...
0
votes
0answers
32 views

Print Profile 2 Field in page.tpl.php

I have a page--*.tpl.php where I want to print some field from my user profile 2 profile. I am currently doing it like this: <?php print render($profile-type->field_name['und'][0]['value']); ...
0
votes
0answers
20 views

Show profile2 fields only to specific user register path

I am interested in showing profile2 fields only to specific user register path (I have 2 user register path). How can I do this without using the Profile2 registration path module as another module ...
1
vote
2answers
31 views

Profile2 view with all profile fields

How can I create a view, where all profile fields are as columns of a table view, without having to add each profile field indivudally? Is this possible?
0
votes
1answer
57 views

How to inline edit profile 2 fields drupal 7?

I have installed Profile 2 module and create one profile for users and add fields. I want to do inline editing for all the fields on profile view page. I found quickedit module but it only works with ...
0
votes
1answer
18 views

How do I hide a field from a Profile2 form without deleting it?

I have a field in a Profile2 form. I'm trying to streamline the signup process and not ask for users' phone numbers. However, I don't want to delete the phone numbers of users who have already ...
0
votes
1answer
37 views

Change Profile2 Profile Type after registration

I am trying to get Profile2 module to work with Simple_FB_Connect but the flow of Simple_FB_Connect requires that the user signs up first and then i need to be able to set the Profile2 user type ...
1
vote
0answers
42 views

D7 - Scalability regarding use of Profile2 module with Subuser module and Taxonomy module [closed]

We would like to allow users of a specific role to be able to create and manage their own subset of users. The Subuser module allows this to happen. We would also like to use the Profile2 module in ...
1
vote
1answer
51 views

Profile 2 different types with single edit form

I am using the profile2 module to create different types of information for the user. One of these profile types are filled in on the registration page. What I am trying to accomplish is combining ...
0
votes
0answers
21 views

how to suppress validation errors with a upload button on a drupal

In one of my profile type i used file but issue is that when I upload file and click upload button. it validate error message of other filed I mean it works as submit button. so how to stop validation ...
1
vote
0answers
31 views

Taxonomy fields on Profile2 edit form

I'm hoping someone can help me. I've been stuck on this problem for a while and can't find help. I'm relatively new to theming in drupal, so forgive me if this is a basic question. I have a taxonomy ...
0
votes
0answers
26 views

Create a new Node…Facebook Style Post As another Author option

We have 3 different user profile types (using Profile2) we want to be able to give "General" users the ability to post as "Business" and "Location" Users if they are authorised to do so. My plan for ...
1
vote
1answer
24 views

Comments and Testimonials on Profile 2 Profiles

Is there a way of enabling either comments or a guestbook/testimonial functionality on Profile 2 Profiles? I've read discussions on here about implementing on User Account Pages but not for the ...
0
votes
0answers
13 views

Send a Privatemsg in a Block?

I have user profile build with profile2 and I want user to be able to send a message quick (I'm using privatemsg to send my messages) once there are in the user profile. I would like to have a ...
0
votes
0answers
39 views

Organic Groups and Profile 2 - Make Profiles Specific to Groups

How do I make a Profile2 that is specific to an Organic Group and its members? Only members of the group can fill out the profile Only members of the group can view each others profile Members of ...
0
votes
2answers
102 views

Anyone manage to work entity metadata wrapper with profile2 entity?

Code: $profile = profile2_load_by_user($account); $profile = $profile['main']; $wrapper = entity_metadata_wrapper('profile2_type', $profile); ...
0
votes
1answer
30 views

How to allow user of certain role to create user only of selected roles?

I have few profiles. One profile per role. I've created few registration paths by Profile2 Registration Path module. I have an issue with permissions, for example I want allow user of role A, to ...
0
votes
2answers
20 views

User email being deleted when submitting Profile 2 form

i'm debugging a site that I haven't made. The issue is that the users email address is being deleted. I've found which form it's happening on; and by using hook_form_FORM_ID_alter I can see that ...
0
votes
1answer
30 views

How to display references entities in single field?

I have a view of nodes. These nodes are connected with users via entity reference. User has a profile (Profile2). I want to display profile fields for all referenced users in single field.
0
votes
0answers
42 views

setting up autocomplete on content type using profile2 and entityreference

so, I'm creating a content type called "elearning", and I have some modules installed: -ctools -entity api -entity reference -profile2 -views Then I create new profile called "teacher" with the ...
0
votes
0answers
27 views

How to make Views respect Profile2 account approval status?

I am using Profile2 and Profile2 Registration Path to allow me to maintain different user roles, with visitors registering according to the account type they require. This aspect works fine and ...
0
votes
0answers
19 views

Conflict with modules uLogin and Profile 2

I use registration on my site for 3 types of roles by module Profile 2. Now i need use registration from social networks and i using uLogin but after registration from social user isn't has role. What ...
0
votes
0answers
25 views

Rules module problem with profile2 fields

For users who sign up in my website I create a profile using profile2 module. Every body is able to select its country so I created a field inside the profile called field_country and it lists a few ...
2
votes
2answers
226 views

delete profile2 profile from a user

I am using Profile2 on my site, with 3 different Profile2 Profiles set up: A, B & C. These are matched to roles A, B and C. Users can only create and edit a profile that matches their role, ...
0
votes
1answer
62 views

drupal 7 profile 2 how to create field profile url as NAME

Why is it so hard to create a view so others can see it? I just read the instructions at dupal.org documentation and checked out ep#33 of daily dose but neither are helping. My view is set up with a ...
0
votes
0answers
30 views

Recipe for a membership site with two different roles

I did quite a lot research on this and found some approaches that might work. However, I want to put this question up for discussion here. Maybe you can point me to a tutorial or just the right ...
2
votes
1answer
98 views

custom user profile pages

I am working on a directory for a membership organization. I am trying to create two distinct user pages. One for the user themselves (and admins) and one for the public to view. I would like these ...
0
votes
1answer
225 views

Feed importer: field collection processor settings

I'm trying to import field collection to profile2. I do not understand where to get in the Field Collection Processor information for the "Field/property name of Host entity GUID" and "Identifier ...
0
votes
1answer
87 views

How to use subquery in views where clause

In my project user can created by profile2 module. When user is created i am assigning some role,initially user is block state. I have another user role ie.user app rover who can approved these user ...
0
votes
0answers
35 views

Why is there no target configuration on node/term reference field when using user processor on feeds importer?

I'm trying to create a feeds importer where I include a term and node reference field, I'm using user as processor. I want to import term/node reference field values as GUID/term name but I don't see ...
0
votes
1answer
38 views

Profile 2, update separate database on submit?

I want to know where and how to plug/hook into profile 2, so that when the user updates a specific profile ("new_profile"), that this then fires off a chunk of custom php code. The event must only be ...
0
votes
0answers
18 views

Copy current URL Service Link

I've been using the Service Links module and i've found it really great! Wanted to know if there's a way to add a 'Copy current URL' service link? I've not seen that option by default. FYI I wanted ...
0
votes
0answers
16 views

Service Links as Fields

I've been trying to use the Service Links module in combination with Profile2 and so far the only way i've managed to get the links on Profiles is through a block. Unfortunately, as it's not part of ...
0
votes
0answers
363 views

Profile2 image field in place of user picture

I need user_picture, but I want to use a picture from profile2 image field to be that picture. My users can upload several pictures of themselves. I would like the first image to be the ...