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

learn more… | top users | synonyms (2)

0
votes
1answer
8 views

Add a views with fields of nodes added from admin in the user profile

I describe my scenario: the users in their profiles must display a view (views module) with a list of fields that the admin adds each time; I assume that the admin must add this fields from a ...
0
votes
1answer
12 views

How do I amend roles for the Administer Users by Role module?

I'm using the Administer Users by Role module. I have a role set up as Publisher which has all the boxes ticked under the "Administer Users by Role" option (under People/Permissions as shown in the ...
3
votes
1answer
30 views

let users choose to hide fields in their profile

Is there a way to allow users to choose to hide certain fields in their profile? For example if building a job site, a user might choose to hide their name from others. Is there a way to do this?
2
votes
1answer
15 views

Show Drupal core user fields before Profile2 fields

I have fields added to Drupal 7 core users (Config > People > Account settings > Manage fields) which are common to multiple user roles. I also have fields on a Profile2 profile, which I only want to ...
0
votes
1answer
24 views

drupal 7 display user info for current user

I need to display name, role, photo of current user. I'm use views, in Advanced settings add Contextual filters select Content: Author uid and in settings of it select Provide default value ,in type ...
0
votes
0answers
21 views

Drupal 8 for a small social network [closed]

Is Druapl 8 a good choice for a small social network I wish to build? I have looked at various options and I feel that Drupal would help me get a minimum viable product out the door and work pretty ...
1
vote
0answers
8 views

Menu tabs disappear if clicking on custom tab

I am adding a custom menu tab to a user profile. That works fine, but once I click on the tab the other menu tabs (edit, view, etc.) disappear. How can I keep the other menu tabs? function ...
3
votes
1answer
22 views

Why can't I add an existing field to the user accounts on Drupal 8?

On Drupal 7, you can add fields that have been added to nodes to user accounts. At admin/config/people/accounts/fields, scroll down to Add related fields and simply select the field, easy. But in ...
1
vote
3answers
30 views

How to make a particular role user and their content not accessible/viewable to other users?

How do I make the user page (/user/uid) of a particular role (PendingFreelancer) and the content they create not accessible/viewable to other users?
1
vote
0answers
25 views

Is it possible to add a flag to a specific role user without using VIEW module?

I have downloaded profile2 module and I have created a specific role called artist. I also added some fields so to be shown only for the artist role users' on the registration form. Then I added a ...
0
votes
0answers
19 views

Is it possible to efficiently emulate revisioning of a user text field?

This use case is a little unusual but hopefully easy to understand. I have a text field on the user account, Nickname. I want to use this instead of the actual user name because I want users to be ...
1
vote
1answer
25 views

Custom fields in user's default tab

I'm a first-time stackexchange user, long time Drupal 6 developer. I'm just starting playing with Drupal 8 and I know I'm going to love it when I get used to working in it but right now I'm in that ...
0
votes
1answer
25 views

Profile2 Registration Path loose registration field after translate URL alias

I use Profile2 and Profile2 Registration Path module. This is the original Registration Path, set in the configuration. I tried to translate the Registration Path at Administration » Configuration » ...
0
votes
1answer
47 views

How to download or print user profile data

I am using Profile2 module to create user profile. I am installing the print module to print or download user profile data, but when I am viewing our profile page there are not such options are ...
1
vote
1answer
18 views

Uploading and deleting unused images

I have a custom form with manage file input where users can upload their profile images. Upload looks like this: $acc = user_load($state['user_id'], TRUE); // upload profile image if ...
0
votes
0answers
22 views

How do I create a custom block on a user profile page that displays external content? [duplicate]

I'd like to create custom module that provides a block to be displayed on a user's profile page. It needs to grab content from a rest api using data from a user's Profile 2 fields. How do I get the ...
0
votes
0answers
13 views

Reference multiple profile2 fields in data selector for body in rules

When a user registers on my site they need to fill in some personal details in profile2 fields.. They also need to fill in a user reference field that reflects the user who refereed them to the ...
1
vote
1answer
35 views

Send email with profile2 fields with account email token in rules

I am trying to send an email to users contains information they put into their profile2 fields when they registered on the website. My problem is that their is no email field token available in rules ...
3
votes
2answers
24 views

Control content access based on value of List (text) field in user profile?

When my users sign up, they must choose whether they are a Man or a Woman, via a List (text) field. If a user chooses "Man", they should only be able to see Woman users on the site. Likewise, if a ...
1
vote
1answer
50 views

How to move the user account/Profile 2 information from the content region to a sidebar region

On the "My Account" page i.e. /user, the account and Profile 2 information is by default residing in the content region. I would like to move everything to the right sidebar region. Any suggestions on ...
0
votes
0answers
13 views

Searching is not done with use of 'Profile Search' module in drupal 6

I am using it in drupal 6 site. I have used Profile Search module for searching user's terms like user's first name, user's last name, but it is not give the searched value. What I have done is as ...
1
vote
1answer
8 views

sharing profile2 fields multisite

I have a site with 2 multi site like abc.com xyz.abc.com zxy.abc.com All sites have same drupal 7 code base. and I shared all users successfully across all portals. my setting file for sub-site ...
0
votes
2answers
20 views

Display user field into html.tpl.php

In my user-profile.tpl.php file In print fields like this : <?php global $user; $user_id = arg(1); $user_item = user_load_by_name($user->name); if($user->uid == ...
0
votes
0answers
13 views

Display regions in user-profile.tpl.php

I created a region into mytheme.info regions[list_user_poke] = List User Poke I put a block in it. Then I want to print this region user-profile.tpl.php. I wrote this chode : <div ...
3
votes
1answer
31 views

How to set a menu link to user/edit in Drupalgap?

I do not need the profile view tab and would like to link from a menu directly to user/%/edit/. In settings.js below I tried different paths, none of which worked. // User Menu Authenticated ...
0
votes
2answers
37 views

How do I update a user profile with entity_metadata_wrapper()?

I got an error while updating user profile data such as name,password and email. I am using entity_metadata_wrapper() for processing update. exception 'EntityMetadataWrapperException' with message ...
0
votes
1answer
30 views

Edit user profile template with module

How can I edit the user profile template in Drupal 7? I've created a module called sporthron in my project. sporthron.module contains : /** * Implements hook_theme(). */ function ...
0
votes
1answer
18 views

Problem when visiting users profiles

In my website, users can connect, see their profiles, update their profiles and visit other users profiles So for each users, I created a profile page user-profile.tpl.php But I've some troubles ...
0
votes
1answer
15 views

How to assign credit hours to user account once the content is marked completed by admin

I have a custom content type "course" and it has an entity reference to username. ( the username is basically an instructor who is suppose to teach the course ) I have created a field "Course ...
0
votes
2answers
29 views

Custom edit user page

I'm trying to build an edit form for specific users. For one type of user I want to hide password field for example What I did is to create a module called profilechange. Into profilechange.module ...
0
votes
1answer
30 views

How to create a content type based on users with entities?

I want to create a content type that I can add to a map view based on nodes. I am using the GMap and Location modules. There doesn't seem to be an obvious way to add users to view based on nodes. So, ...
0
votes
1answer
16 views

Custom input in edit profile page

I create a template called page--user--edit.tpl.php Into that file, I want to display some inputs for editing like username and password only, not the default edit form. I don't know the code to put ...
1
vote
2answers
38 views

How to fix “Undefined index” [closed]

I'm working on displaying information about users on their profile pages. I want to display a field; if this field is not completed then I display a text message, else, I display its value. I've ...
0
votes
0answers
17 views

Editing multiple user profiles via single entityform submission

I have an entityform that submits a table with two columns: | Username | Grade | |     User 1    |    A      | |     User ...
1
vote
1answer
23 views

How to insert user table [closed]

I would like to know how I can show registered users in a table with profile pictures like this site has. I would like to make this kind of site where actors can make a profile so they are put in a ...
3
votes
3answers
25 views

Show profile field on profile page

I created user-login.tpl.php file in my custom theme. Then I add this code : <div class="profile"<?php print $attributes; ?>> <h2><?php print ($user_profile['field_nom']); ...
1
vote
3answers
42 views

How to add an existing field to an user account?

I created a vocabulary in Structure>Taxonomy>Add Vocabulary. Then I add terms to it. My Vocabulary fields look like this : I want to display this vocabulary into accounts fields, I want to add ...
0
votes
1answer
18 views

IEF with custom profile2 type not work

I have node reference field attached to profile2 type entity and I can't add new entity to user profile. Even as admin (uid=1). See my screenshoots for details view user profile add node to user ...
1
vote
1answer
37 views

Why is my rules created shipping profile not being used?

I've created a rule with the intention of pulling an address from the users account and creating a shipping customer profile type instead of showing the user an address field to enter shipping (The ...
0
votes
0answers
28 views

How to access user location values in rules with php code?

I want to create a rule to react on the value of one of the location fields in a user registration form. I will need to react both on a user profile edit and new registration. I'm using vanilla ...
1
vote
0answers
40 views

Viewing user accounts

I have the following items configured in: Home » Administration » Configuration » People » Account settings The problem I have is that I want to display user email and timezone. On the "Manage ...
1
vote
0answers
20 views

Password Protect viewing the account page

I want to make the user re-enter their password to view their account page similar to how some sites make you re-enter it to edit settings, I want to make them enter it to view their account. Does ...
1
vote
0answers
20 views

how to add new changes to live site without redoing everything

I have a site which is running on a huge userbase. The site is about taking online courses and getting certificates. I am using profile2 which adds some extra fields in user profiles. Also i am ...
0
votes
1answer
58 views

User password reset - redirect one time login to another page

By default, if user submit his email in form at /user/password page, he will recieve an email with one-time login link. After opening this link he is redirected to page with form with one single ...
0
votes
0answers
5 views

Profile2 File field

I added 2 file fields to a profile2 profiletype. When I upload a file I get the following warning: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'profile2_form' ...
0
votes
1answer
28 views

How to hide roles in user edit page? [closed]

I have a user registration page where in being a admin i have assigned particular to user. But now when a users edits his/her own profile, all the available roles are showing up and in fact users can ...
1
vote
1answer
27 views

how to set Default time zone and date format

I have user registration page in that I could see Time Zone as in screen shot attached now problem is I want to make it as default time zone for all users as well Need to use same date format ...
1
vote
1answer
20 views

Profile2 not editable for new users

I have two different profile2 profiles, the usual stuff. I just found out that creating new profiles of type a makes it impossible for the user to edit his profile. How it should be: The user ...
1
vote
1answer
31 views

How to create and view a clickable list of information on a user profile?

I am basically trying to replicate the attachment in Drupal. Ideally the user will click a user and have a Financial tab which they can add invoices/notes to. This would need to be a collection of ...
0
votes
0answers
19 views

Error while editing user profiles

I ran into an issue while editing user profile in Drupal 7. Whenever I visit or try accessing user/edit page, it gives the following error: Notice: Undefined index: -exp-search_organization-page ...