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

Upgrade/downgrade user role based on profile2 field value(boolean) which can be accessed by admins only

There is a role called moderator and profile2 types like advanced,verification. Verification profile type(which can be accessed only by admins) has boolean field called verified. When admin verifies ...
0
votes
1answer
14 views

multiple profile type values

I have following requirement I have user with multiple profile type like main profile, personal profile, and role profile A role profile has fields like role paid role status role start date role ...
0
votes
0answers
9 views

Profile2 integration with Private Message

I've created profile pages using Profile2 module and would like people to be able to send users a message from those pages. Unfortunately I can't seem to get the 'Send user a message' link on the ...
0
votes
2answers
45 views

Create an “About the Author” box for multilingual sites

I'm having a hard time figuring out how to display a simple box containing some info about the author of a node. I have tried drupal's built-in user profile manager and profile2 module but none of ...
0
votes
1answer
18 views

hook_form_alter Save $form['account']['field_first_name'] into $form['profile']['field_first_name']

Hi I'm trying to save a field into another field in the same form when the form is submitted. I've tried using hook_form_alter and checked for count($form_state['input']) > 0 to save ...
0
votes
1answer
23 views

How to theme the separate page for editing profiles provided by Profile2

I'm using D7. I'd like to theme the separate page for editing profiles provided by Profile2 module(whose URL is MYWEBSITE.com/profile-MYPROFILE/[uid]/edit). I searched and found the way that somebody ...
0
votes
1answer
31 views

Rules sending email to profile2 users

I am new to drupal. I have installed profile2 module and created one profile named as "Travel Agency". Now I want to send different mail to this user when he/she registered with my site as "Travel ...
0
votes
0answers
18 views

Profile2 User Data: Create and select my own custom page… its' HELP!

Ok, "Help!" joking aside, but I'm at a loss and seriously, it's taking way too long (like over 6 hours, trying everything and looking 'blank' at the screen). Maybe I'm missing a point about the ...
1
vote
2answers
36 views

How to add button to user profile page in drupal

I start using drupal(7) 3 days ago and I have small task : I'm using Profile2 Module to create 2 type of users (candite/employer) and I Want to create a button in the wiew page of the profile of ...
0
votes
1answer
42 views

Using Profile 2 with Entity Reference--How to display the user name and not the “Profile Name”

I've reviewed the threads similar to this, and can't seem to find a definitive answer. I have a Content Type in Drupal 7 where I want to be able to associate multiple users to a content item. For ...
0
votes
1answer
39 views

How to add condition in between fields in Profile2 module in drupal 7?

I am using the Profile2 module. Two fields are there in the Registration Form i.e. I am : [Baby Male, Baby Female, Daddy, Mummy] & Looking For : [Baby Male, Baby Female, Daddy, Mummy]. if ...
0
votes
0answers
13 views

Joining Organic Groups on Profile2 Registration path

I am using Profile2 registration path module to have separate profiles for full members and business members for our websites. We also have a third profile for volunteers, but it does not have a ...
-1
votes
1answer
32 views

Profile 2 display field on my account page

Use this module - Profile2 Registration Path and Profile2 - when registering, so that would be made ​​at check-in person was filling certain fields, in this regard, I have a question - how do I ...
0
votes
0answers
23 views

Show profile fields depending on the profile users role

We are using profile2 to display users listed on our site which has different member levels. Is there an easy way to hide certain fields based on the profile2 users role. We still like them to enter ...
0
votes
1answer
15 views

Active user account after administration's confirmation

How to, by using module Profile2 Registration Path, the user's account becomes active after it is activated by the administrator. The administrator should get email when user creates new account.
0
votes
0answers
17 views

Creating a Profile2 Relationship in a View blocks some non-Profile fields

I have a View of nodes where I am showing the node title, main image, taxonomy, and author. All the fields show as expected. I need to add a field from the user's profile. So I add a Relationship to ...
0
votes
0answers
14 views

Drupal 7 Module multiple registration

Sorry, but I can not understand how I can make 2 different registration on 2 different pages - I installed and Profile2 Registration Pathom and Profile2 but on 2 different pages it displays the same ...
0
votes
0answers
29 views

Profile2 module field validation

I have created two profile types using profile2 module. Next added two fields to each of the profile types. Here one field of each profile type is set as REQUIRED. But when i select one field set and ...
0
votes
1answer
18 views

Related Profiles block

I have two profile types teacher and students. They both have a taxonomy field “State”. Below each teacher’s profile I want to show students from his State. I have added two relationships: 1) User: ...
0
votes
1answer
36 views

Problem with Profile2 and NodeAccess

We use Profile2 and Node Access but the profiles of users can't be show by everyone (access denied) since we have installed Node Access. The problem is the same with Content Access. Do you know how ...
0
votes
1answer
98 views

check if user exists

I want to check if user exists based on some profile2 field. I have tried the following. Works fine. I want to know if it is proper or not. If it is not proper, is there any other way around? ...
0
votes
1answer
35 views

How can I retrieve the profile2 fields selected in a custom modeule?

I am totally new to entities in Drupal. I have used the Profile2 module to add a few profile types. This is displayed in the add/user screen as Customer. After adding the profile type I manage the ...
1
vote
1answer
63 views

How to compare Profile2 field with PCP percentage in drupal 7 while creating Rule?

I am using Rules, PCP & Profile2 Module in drupal 7. I want to send mail to those user whose profile is <60%, how to add condition for sending mail? How can i compare the profile2 field with ...
0
votes
1answer
40 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
21 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
21 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
13 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
2answers
55 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
11 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
24 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
22 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
20 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
27 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
66 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
97 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
42 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
35 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
28 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
223 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
22 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
36 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
37 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 ...
2
votes
4answers
215 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
53 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
78 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
28 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
181 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
28 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 ...