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
18 views

User registration form throws validation errors on already unset profiles´ fields

Using Drupal 7 with Profile2: I have a number of profile types, with different fields, some of which I want a registrant to already fill up during the registration process. I´ve checked "Show during ...
0
votes
0answers
15 views

User registration profiles - not shown in user detail

I'm using the multi step registration module to have different steps in my register form. I have multiple Profile2 types for my user registration. The user registration is shown in different steps, ...
0
votes
1answer
10 views

user_profile_form doesn't show profile2 information

I'm trying to modify the user_profile_form, but it isn't working. My regular user edit information shows up, but not my profile2 information. function MY_MODULE_form_alter(&$form, ...
0
votes
0answers
24 views

use custom field as unique field [on hold]

I have a custom field 'cin' as unique field on form profile2. I do this with field validation module. My problem is on updating the form a have an error message (the content of the field cin already ...
0
votes
0answers
10 views

Search results in two records for the same user created by hybridauth

I have created a view for user search.I have used exposed filter 'Global: Combine fields filter' for profile first name and last name and set operator to 'contains any word'. It searches for the user ...
0
votes
1answer
43 views

Which module is work good with profile2 to show profile complete status?

I am using profile2 module in drupal 7. I want to use percentage to show profile complete status. I already use profile complete percentage module but i am not getting proper result. Please help which ...
0
votes
0answers
9 views

Why is unchanged and new value always the same in rule condition

I have a boolean field called verified defined in profile2. When this field changes from not ticked to ticked I would like to send out an email to the user. Easy I thought with rules Starting using ...
0
votes
1answer
16 views

How to set the profile picture validation in profile 2 module in drupal 7?

I am using profile2 module in my site. I want to hide the profile picture upload option at the time of registration. And after click on confirmation mail, i want to upload at least one profile picture ...
0
votes
1answer
12 views

Set username to the field firstname untill the field first name is filled

I am using profile2 module for user profiles and created a profile with first name and last name fields which are used for configuring real name. And I have set real name as page title. But there is ...
0
votes
1answer
15 views

How to activate empty user profile?

I am struggling with this for a while. In my setup, every user gets to have the main profile. However if there are all fields empty, the profile is not created. Problem: It is not possible to access ...
0
votes
1answer
18 views

If Profile2 fields are empty, problem in accessing data

I just found out that if ALL fields of certain Profile2 profile ie. main are empty, I am not able to access data inside main profile. For example I want to do a check if a field is empty but can not ...
0
votes
1answer
40 views

access profile2 fields values

How can I access fields values inside profile2 main profile? Only on edit main profile page? I try to hide a field on profile2 edit page based on another value. Code is from my template.php function ...
0
votes
1answer
44 views

profile2_load_by_user Trying to get property of non-object

I use simple code to hide field from profile2 main profile based on another field inside the profile2 main profile. If field_testcheckbox is not checked, hide field_info. function ...
0
votes
1answer
13 views

How to hide share content option under profile type?

There is an option "Share Content" under every profile type. It is being displayed to all users apart from admin. I just want to hide it. I searched for it enabling Devel module but did not get ...
0
votes
1answer
10 views

Profile2 regpath move account email field, into profile2 form and handle submit

I have a profile2 regpath displaying my profile2 form, and the system default account registration form below it. I need to move the account email field up into the container with the profile2 fields. ...
0
votes
2answers
23 views

Conditional display of CCK field for certain profiles values

I have created a content type with CCK on Drupal 7, and I would like to display only a few fields according to certain values in their profile2 type. Concretely, I have a profile2 field to specify if ...
0
votes
1answer
16 views

Don't let user register without role/profile2 profile?

I created a site for a client that lets users register an account of either one out of two roles, which then is linked to one of two profile2 types. Therefore my client wanta no other being able to ...
0
votes
1answer
67 views

How to programatically update existing user profile field in drupal 7

We are using Drupal 7 and the Profile2 module. We create and add a value to a field in the profile using this code: $profile = profile_create(array('type' => 'main', 'uid' => ...
0
votes
0answers
20 views

Using rules to notify a role, based on shared taxonomies between users and nodes

I'm trying to use Rules to send a notification email based on some fairly complex criteria. A specific node type (we'll call this Meal) is created using a taxonomy of (Cuisine Type), where the ...
0
votes
1answer
34 views

How to fetch the status of profile flag?

I have a profile flag called "keep my photos private" using which user can flag his content and can keep it private. I want to fetch the status of the flag by the specific user. I have tried php code ...
-1
votes
1answer
30 views

profile 2 module with services module

i am creating a web service for user registration. I just add some fields in user registration form using profile2 module. How can i integrate this with services module. i just want to make a services ...
0
votes
4answers
79 views

Add country, state dropdown to user registrtaion [closed]

i am creating a user registration form. In this i want to add fields for country, state, area and the fields are dependent on each other i.e. state depends on country and area depends on state. Is ...
0
votes
0answers
42 views

How to make contents public or private based on flags

I have two flags in my privacy profile settings to make contents public or private, I have two content types called 'videos' and 'albums' and two flags called 'keep my videos private' and 'keep my ...
0
votes
1answer
64 views

Allow/restrict access based on privacy setting flags in profile

I have privacy profile type and flags with checkbox like "Keep all my friends private" and "Keep all my videos and channels private".These are in my privacy settings profile.Now i want to allow or ...
0
votes
1answer
17 views

How to change title of profile-profile2_machine_name only, but not profile-profile2_machine_name/%user

I'd like to change the title of my profile-profile2_machine_name page, but not the page profile-profile2_machine_name/%user page. This is because I have a settings menu for each user in my ...
0
votes
1answer
19 views

Profile2 restrict main profile

I really don't know how to fix this so whats why im posting this over here. Im using Profile2 for my profiles The Main profile is for authenicated users, lets can this User A. I have also another ...
0
votes
1answer
90 views

profile2 - change default edit path to custom profile

I use profile2 module. After visiting user account, user is able to edit account by clicking on edit tab. It leads to Account secondary tab (user/x/edit). User is presented with empty passwords fields ...
0
votes
1answer
21 views

Proper approach to two different address data sets on the system

I have a certain design problem here. The web site I'm working on will need to have 2 sets of address details under user account, as an indication of user's business address at the commerce ...
0
votes
0answers
17 views

drupal7 profile2 entity references - Howto access all profiles

in my scenario I have 3 different profile2 profiles for a sports club. I have ordinary members and trainer and managers. I am able to build a view with a relation to the profiles and it shows the ...
0
votes
0answers
14 views

how to display labels of empty profile fields

I have enabled profile2 module. There is profile type called personal information and it has related manage fields.I want to display the labels for empty profile fields on profile page. The fields are ...
0
votes
1answer
79 views

Profile2, “access denied” for users profiles. *SOLVED*

Profile2 7.x-1.3 Address Field 7.x-1.0-beta5 Domain Access 7.x-3.11 Hello, I am attempting to use Profile2 module to create a separate user profile for my users. As soon as I add the new ...
0
votes
0answers
17 views

Getting the uid instead of the pid with profile2

I would like a function that allows me to have the same uid and pid with profile2 for each user but I don't know how I can do that. I'm trying to make a function which allows me to return a list of ...
0
votes
0answers
15 views

Profile2 fields missing on custom profile page after drupal update

Can someone help please. we upgraded Drupal recently and the Profile2 fields that were displaying on the custom profile page are no longer visible. Has there been a change to the way fields are ...
0
votes
1answer
60 views

Multiple OR conditions are not working with rules in drupal 7

Multiple OR conditions are not working with rules in drupal 7. I have profile2 module. And i want to notify user with an email if one of the fields from his profile is empty, I have written a rule but ...
0
votes
1answer
22 views

Can the profile2 fields in registration be made obligatory?

I have a profile2 profile type in which I want to expose some fields to the user when registering. Is there a way to make a field obligatory?
0
votes
0answers
21 views

Rules not working with multiple OR condition

I am using rules & profile2 module.There are profile types like personal information, contact deatails. Now,I want to send email notification to user to fill out empty profile fields. If any one ...
0
votes
0answers
29 views

drupal 7 profile2 form api howto add default value

within the profile2 module, I like to set a default value for field $form['profile_kunde']['field_k_name'][LANGUAGE_NONE][0]['target_id']['#default_value'] = 'uer555'; but it never works out ...
0
votes
1answer
37 views

Rule to send mail to the users about the percentage of their profile completed(single & multiple profiles)

I am trying to write a rule to send an email to the user if his/her one of the profiles is not completed. But I am not getting how to get the empty field's list to sent to the user. What actually i ...
0
votes
0answers
36 views

Trigger to send an email about profile completion percentage to the users using rules

I have enabled PCP, profile2 & rules modules. There are profile types in my profile like main profile,social networking & appearance.Each profile type has related manage fields. Now, I want to ...
0
votes
2answers
78 views

Send user a reminder email after x-number of days if Profile2 field is empty and user has specific role

I have a multi-step user signup process. When the user creates their account, they are assigned role "A" and are redirected to a Profile2 form with various fields. If they complete and save their ...
0
votes
0answers
38 views

Drupal 'set a data value' is setting NULL if value empty, possible to do a check?

I am using Rules to create a new profile2 entity when a user is registered using Hybridauth. I am setting some of the profile2 fields using 'set a data value', but am finding that rules is setting a ...
0
votes
0answers
17 views

Translate Profile2 field content

I am using Drupal 7 and have the following modules enabled profile2, entity_translation, i18n, Multilingual content(i18n) and Profile2 translation I use a custom tpl for the profile2 page and I ...
0
votes
1answer
18 views

Profile2 profile

I am very new to Drupal but am good with coding (PHP, JS, whatever is required). I want to set up a simple registration page that allows users to register using minimal fields (name, email, password, ...
0
votes
0answers
31 views

Add taxonomy terms associated to a content with the user profile field on click of a link

I have a taxonomy called "Interest". Also I have added a field called "I_am_interested_in" in the profile2 as term reference to the taxonomy "Interest". Then I created a content type called ...
0
votes
0answers
16 views

Custom Edit profile page with basic profile fields and profile2 extra fields

I'm trying to create a separate page ( http://example.com/custom-edit-profile ) in which i want to display all basic profile fields ( firstname, lastname, phone number, etc ) and profile2 fields in ...
0
votes
1answer
37 views

how to combine profiles and content types in a view

I'm trying to filter some content with a view, But view provides access to single entity type. I want to add the fields from profiles and content types. I'm wondering Is it possible to include both ...
0
votes
0answers
30 views

Theme hook token_help not found, what causes this message

My log if full with "Theme hook token_help not found" messages. Does anyone know how I can get to the source of it? Here is some background: The error happens only for user/? urls. Happen whilst ...
0
votes
1answer
48 views

Possible to manage display of Profile2 profile fieldset on user registration

Using profile2 module I have set my Student profile to "Show during user account registration". This shows the fields I have created for the profile2 Student profile in a fieldset inside the user ...
0
votes
1answer
51 views

Profile2 template for profile type?

I have alredy created profile2 type with machine name "user" and now i would to overide template, can someone explain me how i have to name my new tpl? i ve copied existing, and tried some rename ...
0
votes
1answer
28 views

How to only allow alphabets and spaces in the middle in Profile2 field

I'd like to only allow alphabets in and spaces in the middle of a my Profile2 "real_Name" field. I have found what I think I need: profile2_form_validate_handler but I don't know how to get it to ...