User profiles are used to store and display information about individual users.

learn more… | top users | synonyms (2)

0
votes
0answers
20 views

use EntityFieldQuery to fing user based on custom user profile field value

I have a profile field profile_full_name (title "full name") which I would like to use for searching users. Unfortunately below code throws an error. I've also tried EntityFieldQueryException: ...
0
votes
2answers
11 views

Change the expiry time for welcome user notification message

Is there any way to change the expiry time for the welcome message. Here is the use case: 1- Admin create a new user 2- Admin checkbox the Notify User by email 3- Email is send to the new user 4- In ...
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
1answer
25 views

How to define an intermediate admin user as the default install profile on fresh drupal 7?

When generating a new drupal site (multisite), I would like to define the default user profile as an admin user without acces to administration menu. How can I create this new user as an install ...
0
votes
1answer
17 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 ...
-2
votes
0answers
19 views

How do I use this patch provided in the Node Reference URL Widget issue queue?

I'm getting this error "Fatal error: Call to undefined function og_get_context_by_url() in /home/u765432435/public_html/modules/nodereference_url/nodereference_url.module on line 178" in a white ...
0
votes
0answers
14 views

How to edit user picture with Rules or copy that picture to another field

I've read this /questions/26395 but instructions are not clear and I'm not sure that solution apply to my case (and of course I cannot comment cause of missing "reputation". I cannot find the user ...
1
vote
2answers
31 views

Redirect to a specific page when user update their profile

Is there any way to redirect the user after save their profile information. I would like to redirect them to a specific page. To be clear, here is the Flow: User go in his profile He change his ...
0
votes
1answer
32 views

Different user form for registration and edit

I'm trying to make different forms layout for user registration and user edit account: - User Registration: Display it paginated, like a wizard. - User edit: Display it in only one page. I can use ...
1
vote
2answers
34 views

How can i know who has created user?

I have created some roles and these role's user also can create certain type of user.so how to know who is creator i.e, user author name.
0
votes
0answers
16 views

Views: show a list of users-profile who have multiple taxonomy terms?

I'm trying to set up a contextual filter that creates a list of profiles who have all the taxonomy terms the user choose. I understand that there is no contextual filter like "User: has taxonomy ...
2
votes
1answer
36 views

How do i share profile user fields in multisite?

I am trying to share user profile fields in a multi-site. In the settings.php I tried like this for users and its sharing the common users fields. $databases = array ( 'default' => ...
0
votes
2answers
22 views

Allow comments on profile pages [duplicate]

What are the ways to allow comments on user profile pages in Drupal 7? There is a profile content module, which unfortunately is not available for Drupal 7.
0
votes
0answers
38 views

Build a Form to enter data into database [closed]

So, yes I have read a plethora of posts that say you can add data into the database with EntityForm or Webform - the UI version not custom code. However I have tried to build out a form with both to ...
0
votes
0answers
19 views

Match user based on multiple taxonomy field with Views

I'm trying to make a view that "match" users depending on what they look for and what they offer. When a new user register, he chooses what he wants to learn. Let's say he chooses the following: 1) ...
0
votes
1answer
87 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
37 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
1answer
13 views

theming user profile with “User Field Privacy” - but no “Privacy” available

My setup is like this: multiple additional user fields (not using profile2) and the module "User Field Privacy" is enabled. I am currently theming user profile pages through a preprocess function and ...
0
votes
3answers
37 views

Show a default value when user doesn't fill in a field

I would like to show a default value if the user doesn't fill in a field in the user profile. For example: I have a Hair type field. If the user fills it in, i would like the following output: ...
0
votes
1answer
24 views

How to generate images for profile picture in Drupal 7?

Let's say I've a site with hundreds of users. I would like to provide a profile picture to users who don't have a picture on their profile. How can I do that?
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
23 views

permission for user profile image

I would like to give permission for user profile image to registrant users only. i.e. anonymous user who visit the site can see the default profile image only in the user list and registrant users can ...
0
votes
1answer
47 views

update shipping profile on user update

I use drupal commerce, I want if user info update if there is exist shipping profile update it else create new. function mymodule_user_update(&$edit, $account, $category){ ...
0
votes
1answer
48 views

How to make a non-Drupal page and where to place it? [closed]

I need to create a page (it's receipt) which is not drupal-page. How it should work: User clicks the link in "User Menu" or in "User Profile" This link is made from link to custom page itself and ...
0
votes
1answer
12 views

User profile layout vs. contact form option

On the user profile I have some 12 fields for the users to enter their contact information and other details about themselves. The option to activate/deactivate the personal contact form is somwhere ...
0
votes
1answer
30 views

Password Gets Reset when executing user_save

I have a function that sets a user to confirmed after they login to my site for the first time. However, whenever I run this function and I log out and try to log back in the password doesn't work ...
0
votes
2answers
20 views

update user data without a form from a module

in my drupal system i use the basic_wemail module along with a custom module i created that creates a postfix mail alias for a new user, so we can provide users with free email addresses as part of ...
0
votes
0answers
12 views

Register with user picture does not show picture_upload element

I am attempting to enable user avatar upload upon registration. I tried the "reg with pic" module, I belive I have correctly setup the user permissions. It worked on Bartic theme, but does not work on ...
0
votes
0answers
29 views

Role next to username

Is there a way to display a specific role next to username? There are some articles https://www.drupal.org/node/1776940 and https://www.drupal.org/node/842392 which correspond a little bit to this ...
0
votes
1answer
32 views

How to show the user profile taking user ID from URL with some conditions on fields

The 1st Image is showing the present condition of the page and The 2nd image which is showing in the question is hardcoded with PHP in a block and it overrides the user page, but the problem is that ...
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
63 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
20 views

feedback for duplicate registration attempt

if a user tries to register with a username or email that is already in use, there is no feedback telling them this, it just highlights the form field red, this is quite a bad UX. How can I add ...
0
votes
3answers
64 views

How to display programmaticaly default user picture?

I want to display programmatically default user picture if the user is not uploaded any. For that I have written code php code but its displaying user uploaded user picture correctly but not the one ...
1
vote
1answer
99 views

How to theme Commerce Customer profile?

In a Commerce project, I added some custom fields to the customer profile, and I’m using Addressbook. The customer profile is now displayed in the address book tab of each user page. I need to ...
1
vote
2answers
63 views

Auto-collapsing fieldsets on user_profile_form

I am following these guides: Customize the User Edit page in Drupal 7: https://www.drupal.org/node/2279959 Collapsing default fieldsets (Drupal 6): https://www.drupal.org/node/733198 Basically, I ...
0
votes
1answer
26 views

How can I add user information to orders administration pages?

I'm using Commerce User Profile Pane to capture Drupal Users profile fields directly in the Commerce checkout pages : as I have several custom customer fields (birthday, passport number...), I found ...
0
votes
1answer
15 views

Why does user column name has UNIQUE Constraint?

I got aware that the column name in TABLE users has a UNIQUE Constraint, when I tried to register a 2nd user with the same username : it returned a `integrity constraint violation 1062 duplicate entry ...
0
votes
1answer
38 views

Added items to registration form and get “Notice: Undefined property: stdClass”

I added 2 items to the user registration form Phone Number and Carrier. When I register a user or edit one i get the following error. Notice: Undefined property: stdClass::$phone in ...
0
votes
1answer
46 views

Create validation to input alphanumeric and with specified symbols for field type password in user module

In the user module for field type password input I want to avoid hazardous characters input so i added #required and '#element_validate. But as i am new to drupal i dont know how to processed and also ...
3
votes
2answers
125 views

Save user fields in commerce profile

I add some fields to default user fields,like phone,address,city,... , I want If user edit or filled up his user information in user/uid/edit when submit ,if there is not any commerce shipping ...
0
votes
0answers
9 views

Plain Text Authoring Information, name not in system

I've just joined a project and the client is requesting that for the authoring field in a specific content type to be able to enter a plain text name who is not in the system. Since the site uses ...
-1
votes
1answer
64 views

How do I theme the user/uid/edit page?

I am using two themes for my web and mobile site. No matter what I try, the user edit page is always shown as in the theme of my web site and not my mobile site. The following code doesn't work. ...
0
votes
1answer
22 views

Trying to pull phone number and combine it with carrier, cannot find phone number variable

I am running a website that has users input phone number and carrier when they register. Using the Phone module to collect the phone number and a select list field to collect the carrier. How can I ...
1
vote
1answer
64 views

How to combine Views, Rules and EVA to record submission?

I have a Drupal 7 site and I'm using Views, Rules and EVA. I have a specific requirement that I am sure can be achieved with the modules, but I am having no joy configuring a working process. I have ...
0
votes
1answer
31 views

Extract individual fields from rendered user

I am developing a community website for our nonprofit using Drupal 7. We have two separate types of members -- regular members and business members. Business members can access subscription options to ...
1
vote
1answer
41 views

User name on blocked user account not visible in view for anonymous users

I have a D7 blog site that I've migrated from a D6 version, and one of the changes was to use an Entity Reference field (field_source referencing the user entity) for the author names so we could ...
0
votes
1answer
77 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
0answers
54 views

Drupal redirects to site.local/install.php

I was working on my branch this morning tweaking some CSS when all of a sudden my Drupal site went into a dead mode. I am running multi site mode and the local.settings.php in the individual sites is ...
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 ...