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

learn more… | top users | synonyms (2)

0
votes
2answers
30 views

How to get the user ID from the last profile page?

So, I have a user's profile page where there is a Message button. When I click the message button it should redirect me to a custom page with a form in it. How can I get the user ID from the profile ...
0
votes
0answers
12 views

Is it possible to use Devel to create a “mad libs” style profile2 registration page?

I've got the template file working, however <?php dpm($page); ?> and <?php dpm($content); ?> aren't getting me what I need to isolate the forms. I saw this post ...
1
vote
1answer
20 views

Custom fileds are not visible on user profile page

I am fetching those value of this fields from database. But somehow, I couldn't be able to see it on user profile view page. Can anyone help me to solve it out.
0
votes
1answer
16 views

Update field data added in user form using a hook?

I've added three fields in user form. User code User name User ID. I want to add this field data into the database. My question is, in which hook, i should write the logic of manipulating and ...
0
votes
1answer
11 views

Listing profile fields in tableselect

I'm attempting to list out all the fields a user profile object would have into a tableselect. This will be displayed on the configuration screen of a module that I have been building. I have managed ...
1
vote
0answers
29 views

There's a good module (or solution) to implement a lazy registration in Drupal 7? [closed]

I need anonymous users of my Drupal Site to give me some temporary data about them in order to let them access to some contents. Let's say i need to know their Name to welcome them properly. (It's an ...
0
votes
0answers
16 views

How to get the list of fields for an Entity?

In my Drupal site I am using the Field and Entity modules to define fields like company, address and telephone number for the User entity and sync these with the LDAP data in the LDAP SSO/Auth module. ...
3
votes
3answers
85 views

How to theme Profile 2 fields for anonymous?

I bring this question because I am not able to find the answer in anywhere, my apologies if it is a repeated one. I have a Profile 2 type "curriculum_vitae", that I use to gather jobseekers CV. I ...
0
votes
1answer
16 views

Get User ID from a Profile Page to use in a View

I'm creating Views blocks on profile pages such as drupalsite.com/users/testuser. I need to display blocks such as "Test User's Posts" and "Test User's comments." What is the best way to get the User ...
0
votes
1answer
26 views

Move timezone field in user/%/edit field

I want to move timezone field in user/%/edit form. I have used$form['#weight'] in hook_form_alter() and $page['#weight'] in hook_page_alter(), but not working.
0
votes
2answers
26 views

How to hide programmatically timezone and location on a custom user edit profile page in Drupal 7?

I need a custom user_profile_form in a page of my drupal site containing a subset of fields provided by the form. I created it and rendered it this way: function ...
0
votes
1answer
33 views

How do I create a add and a edit feature for a content types

I must be missing something fundamental for the life of me, I cannot find the answer. I have a content type 'person', one field of which has a entity reference to a content type 'address' I would ...
1
vote
2answers
25 views

How to show a block on user profile edit page ?

I am trying to display a block on an user edit page (example: user/123/edit/custom_url, but for some reason, I can't seem to get it working. Any help is appreciated. I tried this, but this isn't ...
0
votes
1answer
18 views

How to user listen the songs after purchasing their songs or products using Drupal commerce?

I am using Drupal commercekickstart.. I have installed Commerce file module and Commerce license module also.If user purchasing their product after that their can download the files at the same time ...
0
votes
0answers
26 views

How to integrate Ajax drupal chat in drupal commons (Only for Trusted Contacts)

I working in drupal Ajax drupal chat in drupal commons and its working fine.But i need to integrate this only between trusted contacts user.How can i achieve this or else need to get any other module ...
0
votes
1answer
22 views

Display Text using flags on user profile?

I'm running a D7 site and want to use a flag to display message/text on user profiles. I'm currently using 'Form' to capture message when user flags himself/herself but cannot find a way to display ...
1
vote
1answer
28 views

How to convert user menu tabs to menu links?

I have on user account 5-6 tabs created by some modules.My wish is to covert these tabs to menu items so as to insert to 2 separate menu links. I have read that something like that could be possible ...
0
votes
3answers
14 views

How can I prevent user pages being created for users with a specific role?

I have various users on a Drupal site. Internally, I differentiate between users by user role (e.g. 'member', 'non-member'). Is it possible that if a user has a certain user role, that I prevent ...
0
votes
1answer
13 views

How to export user's content via features to new site in Drupal 7

Can anyone tell me how to export contents of users through some contributed modules?? like features,because I have a site which has 100 users,all contents are migrating through features but user's ...
0
votes
0answers
15 views

How to render fields from User profile using user reference?

I have content type Team in which user reference is used. Now I need to get the user profile fields based on the user reference in the content type. Example - In team content type i am adding 1 user ...
1
vote
1answer
45 views

redirect or rewrite /user/xx links to a module page

This should be easy to do, but its very hard to Google. Within the admin and surrounding workflows, various links point to user/foobar. I have a different page to display users, say /faces/xx. I want ...
0
votes
1answer
36 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
17 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
29 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
45 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
22 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
32 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
21 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
28 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
14 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
31 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
33 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
36 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
41 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
29 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
35 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
49 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
49 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
72 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
33 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
79 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
40 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
16 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
9 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
22 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
31 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
13 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
58 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
10 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 ...