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

learn more… | top users | synonyms (2)

0
votes
1answer
20 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
9 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
31 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
15 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
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
19 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
37 views
+50

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
37 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
7 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
23 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
13 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
10 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
26 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
28 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
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 ...
-1
votes
0answers
19 views

Add user ID to all pages once user logs in

Is there some way I can set up to change URL addresses once the user logs in? Once logged in, I would like the user to see a unique id string added to the URL paths of all pages the user sees as ...
0
votes
1answer
19 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
34 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
63 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
47 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
23 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
27 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
34 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
99 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
7 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
41 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
21 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
60 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
26 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 ...
0
votes
0answers
17 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
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
0answers
27 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
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
2answers
23 views

Get only one field from profile

I have a profile field called "myutr" that I need to pass to the browser, for ALL pages, via js drupal_add_js(....) I know that $user does not contain profile fields so to get the value of this ...
0
votes
1answer
31 views

How do I completely disable user profiles and the dedicated login page in Drupal 7?

I am building a site in which user accounts matter only to provide the authenticated / not authenticated information. I created a custom login block that is always displayed (in the header of the ...
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
1answer
54 views

How to enable comments on drupal default user profile page?

I am pulling my hair out trying to find an answer to my question. I am creating a community site and one of its main feature is to comment and rate other users. For some reason it seems this is not ...
0
votes
2answers
10 views

Can't place context-controlled block below user picture on user profile page

I have a views block of user content that I want to display on the user profile page below a custom generated block of user information created in code via a theme function (using the ...
0
votes
1answer
54 views

Why is my file upload always NULL in $form_state?

I've build a form where the user can upload an image as avatar for his profile. But I have an issue as the selected image is not being recognized at all. I used the image example from drupal.org, ...
2
votes
1answer
39 views

How to edit the user created date?

For node, we can change the created date easily, what about user ? Is there any easy way or module that can expose this field for editing instead via database ? I have many old users to be keyed in ...
0
votes
0answers
11 views

why user picture uploaded during registration is not shown?

These are the steps to explain what is going on: User register to my site and if he wants, he can upload an user picture. I see on the admin site the uploaded picture User validates his email to ...
0
votes
2answers
60 views

Add non mandatory fields to user registration form

I can add custom fields to the user registration form, if I add the fields to the user profile: admin/config/people/accounts/fields There is a checkbox "Show on user registraion" which is inactive: ...
0
votes
0answers
47 views

What am I doing wrong? Trying to join two fields from two tables, Drupal 7

Based on this tutorial I created a module to be able to find first name or lastname from user fields. Everything is working fine, but I notice that the search only looks either for name and last name ...
1
vote
2answers
23 views

Limited fields at registration time and full profile after logged in

I want to display limited fields at registration time say username email and password And when user get registered then he can edit his profile with rest of the fields like Phone no., Address, Date of ...
0
votes
1answer
54 views

privatemsg link for anonymous users

I crated a view to show a list of registered users such as as name, email, job etc. one of the fields I am also listing is a private link so other members of the site would be able to contact that ...
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
2answers
27 views

set field value from function after user account edit/registering action

I need to assign one custom field value from user profile. One field is nickname (this field is filled by user) and I need to generate another field with function. The function takes nickname and ...