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

learn more… | top users | synonyms (2)

0
votes
1answer
21 views

View of users with the same 'entity reference' field vale

I'm running a D7 site where every user profile has a 'entity reference' field referencing to their manager. All I want to do is to create a list of the users sharing the same manager in context to ...
0
votes
1answer
14 views

Provide additional Status option for user_profile_form

I am writing the below code function mymodule_form_alter(&$form,&$form_state,$form_id){ if($form_id == 'user_register_form' && $form_id == 'user_profile_form'){ ...
0
votes
1answer
26 views

How to create form on users account page?

I used hook_user_view_aler() to add some info to user's page. $account['summary']['member_five'] = array( '#type' => 'user_profile_item', '#title' => t('I do'), '#markup' => ...
3
votes
2answers
34 views

Help with a view - relationship

I'm trying to create a relationship between a field on a user profile and a field on a content type. User Profile Company Name - This is an entity reference that pulls names from a Company content ...
0
votes
0answers
19 views

User profile edit form cannot be submitted

I'm changing user profile edit page to reorder input fields and put them in div tags. I have added following code into template.php. function MYTHEME_theme() { $items['user_profile_form'] = array( ...
0
votes
1answer
26 views

Flag not updating on user profile?

I'm using panels to display user profiles and each profile has a 'follow' flag (non global). I've used a view called 'follow-users' to capture few users and one of the field within that View is the ...
1
vote
1answer
18 views

Permission to display edit profile link

I'm customizing user profile page in my Drupal 7 site. I decided to remove menu tabs on the page by modifing template.php file with following code function ...
0
votes
2answers
16 views

User profile private public toggle

I'm searching for a way to let users chose if they want their user profile to be public or to be private (just the owner and admin). I'm not picky if this can se set for the whole profile or for every ...
0
votes
2answers
13 views

How to form_later the user profile form to only allow 1 role to be assigned/removed

I want to restict my site editors ( a role ) to only be able to select/deselect the role 'subscriber' and not be able to meddle with the other role assignments. I have tried the following to remove ...
0
votes
1answer
24 views

Overriding user profile form

So I have this function: /** * Implements hook_form_FORM_ID_alter(). */ function my_module_form_user_profile_form_alter(&$form, &$form_state, $form_id) { dsm($form); } What I want to do ...
1
vote
2answers
26 views

Store values in table when status change from blocked to active [closed]

I have a situation in which I want to store user id and active date in my custom table. Whenever administrator change the status of registered users from blocked to active then the user id and active ...
-1
votes
3answers
35 views

How best to add fields to users [closed]

If I want to add more fields to a user (for example, Job title), is it best to do it to the account settings (i.e. Admin » Config » People » Account settings » Manage field) or to the user page (i.e. ...
0
votes
0answers
35 views

How to print custom form on a tab in user profile page?

My problem seems to be related with my theme function not being called. $items['user/%/car/form'] = array( 'title' => 'Car', 'description' => 'Cars', 'file' => ...
1
vote
1answer
22 views

Move fields on User edit page between pages

I am using Simple News, which changes the user/1/edit page by adding a new "Newsletter' Page" that is at user/1/edit/simplenews ("1" can be any userId). This page has a Newsletter option field. I ...
0
votes
1answer
27 views

Is it possible to add CSS to the user edit page? [duplicate]

EDIT:I'm using a custom theme and attempting to edit the style on a specific field on the user edit page. Dooug is correct. My question was answered here How to Override CSS for a core module? I ...
3
votes
3answers
32 views

Is there a way to prevent a user from seeing a field on their user profile page?

I'm looking to create a 'Last Updated' field in a user's profile. I was then going to create a rule that filled that field with the current date everytime the user's profile was edited. I want the ...
1
vote
2answers
25 views

Permission Issues for User 1

I have added pages, webform, and views to my site to customize the User profile experience. I can access mysite.org/user and it shows my user profile page as customized. I have a link on that page to ...
1
vote
2answers
30 views

Drupal 7 — Would like to use unique profile template per role

I'm working on a Drupal project where we have two main roles (students/teachers) + an admin role. I would like to have entirely different profile pages for the different roles. At the moment I think ...
0
votes
1answer
31 views

Is there a way to implement drag and drop for image upload in drupal 7

I amn looking for a way to inplement drag and drop image upload for the profile image field and serveral other image fields as well for drupal 7 is there a module that is easy to use or an easy way ...
0
votes
1answer
24 views

Migrating user profile picture from D6 to D7

I'm migrating a site from D6 to D7 and I want to do the User migration in code. The basic profile works fine except for the user picture. I read that it's best to write a separate class for this file ...
1
vote
1answer
43 views

User profile picture - avatar uploader on all pages

I am trying to change my profile picture via ajax. I used views to display my user profile picture in a block. This works Perfect. I am then using the avatar uploader module to change my user ...
0
votes
0answers
30 views

Cannot add fields to user entity

I'm getting an odd error that I've never encounter before. I'm trying to add a field to a user entity and upon adding a new (or existing) field, I don't get redirected to field options – instead I get ...
1
vote
0answers
11 views

Give view user profile permission for select group of users

I need to create a list of users which I can do using the entity queue module. Now I want to give a user permission to view only users who are on that list. I am out of ideas on how to accomplish ...
0
votes
1answer
8 views

Question about users vs cck

I need to add a field to represent a person's role on a board. I have a CCK for individuals that includes a field for their position. I now need to make some changes so that I can keep track of the ...
1
vote
0answers
16 views

Quiz Rule won't work when trying a user profile condition? (D7)

I have this Drupal 7 site, that uses Rules and Quizes. I have a rule that adds a role after the user takes a specific quiz. It does work. Event After updating existing content Conditions Content ...
1
vote
1answer
26 views

How to implement a user profile attribute to indicate “Where did you hear about us”?

I want to add a "Where did you hear about us?" checkbox list to user profiles. There will be 6 radio buttons and an "Other" textfield. There's no need for a taxonomy vocabulary, which was my first ...
0
votes
0answers
7 views

Submit function for custom module executes on every page except the user edit page

I wrote a custom module that creates a form and displays it in a block. The form only contains one button that performs an event when you click on it. It works great on every page, but when I put it ...
0
votes
1answer
40 views

Enable users to edit user profile and nodes in same page

In my project I would like my users to be able to edit their profile from the same page they view their profile. In order words when they click on the fields or an edit button beside the fields, they ...
0
votes
0answers
9 views

User account with editable forms

With a bunch of volunteers we organize once or twice a year a camp for children who there parents doesn't have the money to go on vacation. To run the signing in for the event more smooth i had the ...
0
votes
0answers
9 views

Send a Privatemsg in a Block?

I have user profile build with profile2 and I want user to be able to send a message quick (I'm using privatemsg to send my messages) once there are in the user profile. I would like to have a ...
1
vote
2answers
34 views

How do I trigger an event when a button is clicked on a user profile?

Let's say I want to make a bunch of nodes based on what's in a specific field when someone clicks a button on their user profile. Is this possible with a custom built module? And if so what hook ...
0
votes
2answers
66 views

How can I let anonymous users view user profiles by role?

I have 2 different roles like A and B. I want anonymous users (everyone) can view user profiles from A role but can't view user profiles from B role. In summary, A role profiles is open for ...
0
votes
1answer
14 views

how to Search profile type in drupal 7

I created a profile type for users to upload their data using fields and I want other users (registered or anonymous) to have access to a search form and they can search for anything on any user's ...
0
votes
0answers
14 views

Track polls user has answered?

I am building a user profile page and i would like to show what polls the user has voted on. Showing polls the user created is easy, but is there a way to keep track of their votes?
0
votes
0answers
21 views

Access Denied error on editing any profile?

I can't edit any profile from my admin account on Drupal, it says (Access Denied) An other thing, any user can't edit their profile, same message (Access Denied) How can I solv it? I've enabled all ...
0
votes
2answers
18 views

different options per user

I have the following situation. A content type called cities holds all the cities in my country. A second content type holds all sales per city. When a user logs in, I need him to see just some ...
0
votes
0answers
18 views

User profiles and organic groups

I'm working on a site's structure and I'm not sure where to start. I could use some general advice. My Goals: Personal and professional groups (organic groups) Two types of user accounts - ...
0
votes
0answers
23 views

How to make Views respect Profile2 account approval status?

I am using Profile2 and Profile2 Registration Path to allow me to maintain different user roles, with visitors registering according to the account type they require. This aspect works fine and ...
1
vote
0answers
49 views

user picture changes after saving profile

to solve a problem related to the expiration date of some users on my website I made a module that updates just the "expiration" field when a user successfully place an order. The structure of the ...
0
votes
1answer
48 views

Show special roles on user profile

I have a little issue on drupal 7. I want a little object/field on the userprofile. This object/field shoud show special roles of the user (special = "admin, moderator ..."). And is it possible that ...
0
votes
2answers
46 views

add user profiles fields into comment fields

I'd like when a user comments, to display his information. Let's assume I do have in my user profile 2 fields, Job title and Biography. When a user comments, I would like to get those 2 fields and ...
0
votes
0answers
84 views

Image / File AJAX form fields not saving

I built a AJAX form so that users can setup their user profiles after logging in. All basic text fields work/update fine. But I can't for the life of me get a image field (Picture) or file field (PDF ...
2
votes
2answers
109 views

delete profile2 profile from a user

I am using Profile2 on my site, with 3 different Profile2 Profiles set up: A, B & C. These are matched to roles A, B and C. Users can only create and edit a profile that matches their role, ...
0
votes
0answers
11 views

Read field value as string on login

In a custom module of mine (7.x), I succesfully call allocation_user_login(&$edit, $account) when the user logs in. The next step for me is to read the string value from the field field_group ...
0
votes
0answers
22 views

Commons: User photos in activity stream have an incomplete url

I'm using Commons 3.17. On a user's profile page, it lists the most recent site activity by the user. The view for this is "Commons Activity Streams (User-specific activity) (Message)" and the ...
0
votes
1answer
21 views

One user with several profiles (pages)

What modules are available (profile2 would come in handy i guess) to create something like pages on facebook. Like on facebook each containing description, galleries and some other content i make ...
0
votes
1answer
57 views

Drupal 7 Adding additional fields on user registration page, specifically first name and last name

In Drupal 7, what methods are there to add additional textfields to the user registration page at /user/register? I mainly want to also get their first + last name during registration. There doesnt ...
0
votes
4answers
83 views

How to hide user profile(edit current password, email, picture, everything) based on role?

When user logged in with common shared username and password, I wanted to hide user profile for some of the user based on the given role. So, I want a feature where user can just logged in and logged ...
0
votes
0answers
25 views

Recipe for a membership site with two different roles

I did quite a lot research on this and found some approaches that might work. However, I want to put this question up for discussion here. Maybe you can point me to a tutorial or just the right ...
1
vote
1answer
122 views

Extend Drupal 8 User Profiles

I need to build a module to handle Users profiles, and need to extend automatically the basic Drupal user object upon installation. For Drupal 7 I found a way with: field_create_field($field); But ...