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

learn more… | top users | synonyms (2)

1
vote
2answers
36 views

One user with multiple profiles

I'm setting up a webshop were clients can have multiple profiles. For example a customer and supplier profile. Whenever the user logges in, he gets a choice which profile he wants to sign in. ...
1
vote
1answer
37 views

How to access $user_profile in page.tpl.php or $page in user-profile.tpl.php in Drupal 7?

I need to change layout of a profile depending on user's field. So, I need to either include regions in user-profile.tpl.php or access $user_profile to test that field in page.tpl.php. I've seen this ...
0
votes
0answers
11 views

Sending an Emails from edit profile page based upon the values

When ever user is changing some of profile field values , based upon the values want to send an email to the user as well as site administrator. Example : If the Gender field values is changed as Male ...
0
votes
1answer
37 views

How to change the user-profile.tpl.php file to a customized outline like Linkedin for Drupal 7?

I'm using Drupal 7.9 for an internal website. I'm trying to customize the "user-profile.tpl.php" file so it shows the fields that I've customized in the "admin/config/people/accounts/fields" to be ...
0
votes
1answer
15 views

restrict profile field to module and admin in drupal 6

I am using profile for storing some more information for users. but I want one field of profile be only editable by administrator and my own module code and viewable by own user and administrator. I ...
0
votes
1answer
42 views

Getting the logged in username and email in a view

Im trying to get the logged in users username and email adress to display in a view is that possible?
-3
votes
0answers
15 views

Views user profile and slideshows [closed]

I am trying something using views, slideshows and user profile. I have a field called images so naturally it contains images the user has decided to upload into his/her profile. Now I want to include ...
0
votes
1answer
55 views

need to show user firstname and lastname in search result page

I'm very new in drupal, and I have a custom user module where I need to show the user's first name and last name in the search result page. I used some of my code which is throwing a fatal error. ...
1
vote
1answer
132 views

Default user relationships with the site admin

I am using the User Relationships module for my Drupal7 site. I have created a one way relationship with reciprocal by the name "Follower". So if User A can be followed by User B. Also, User A can ...
0
votes
3answers
34 views

create public profile page for specific roles only

Here is what I am trying to do. I used profile2 to create an employee profile type that only users with the user role of employee could fill out. What I want to do with views ( which I am not even ...
1
vote
0answers
14 views

Is it possible to attach a specific user profile to an organic group?

I want to have 2 seperate user profiles. One profile with a user picture and one without a user picture. These user profiles shall be attached to a specific organic group. I also need extra ...
1
vote
1answer
29 views

Adding comments to user profiles

I would like users on my site to write "feedback" of other users. My thought is to have a content type called Feedback, and create a view of it, to preview at the foot of the user page. I can also ...
0
votes
0answers
21 views

Add user link to author contact form

I am using the Author Contact module on Drupal 7 to add a contact form on the bottom of an advert page which allows logged in users to apply for this advert and would like to add a link in the contact ...
0
votes
2answers
28 views

Option for User to edit their own Profile

Is it possible for the user to be able to edit their own profile without going through the Drupal administration panel? I have a /user page with views that output the needed fields. Ideally I would ...
4
votes
2answers
87 views

how to display Variables in User account page

In the node template, I used to put the following code to find the variables: <?php print_r($node) ;?> What if this is a user account page (e.g. /user/1), what "$object" should I print to see ...
0
votes
1answer
39 views

form submit function never gets called.

My drupal form submit function is not called. validation function is called. Form name is Mymodule_user_profile_form($form, &$form_state), validation function name is ...
3
votes
2answers
57 views

When should I use user_load($user->uid)

when do we need to load user using user_load($user->uid) after global $user. Why do we need to load a user because we can access user data after declaring it global. I am adding a commerce customer ...
1
vote
2answers
29 views

Remove link to user profile on content

How do I remove the link to a user's profile on article content? The element is part of the article header and its classname is ".username". I am new to Drupal but not to webdesign; I am just ...
2
votes
2answers
56 views

Updating user profile to update node

I currently have a user's profile set up with some extra fields and when that user obtains the role "paid user" an entity is created with a rule and a node that copies those extra fields in the ...
0
votes
1answer
30 views

Enable admin theme in my install profile

Is it possible to enable an admin theme in my install profile? Used this: // Enable themes $enable = array( 'theme_default' => 'geoslate', 'admin_theme' => 'adminimal_theme', ); ...
0
votes
2answers
27 views

how can i make select country in slide

how can i make select country in slide like the one on that site: http://www.adoos.ma/ I'm asking if there is a module that can do the job. Thank you
0
votes
1answer
25 views

How can I populate a node field based on a user field?

I have an "address" field among the user fields. Here users can specify several entries for their addresses. They can create orders (these are custom content type nodes). The order node has a ...
1
vote
1answer
30 views

Make the git repo part of the drupal site so I can commit my changes whilst testing

I've got a git repo on my desktop with a couple of make files. I am currently building the drupal site in my htdocs folder by copying the distro.make file there, running the command: drush make ...
0
votes
0answers
29 views

Using edit module for users profile picture

Was not able to find much on this, but anyone have any luck using Edit for the users profile picture on the user profile page? Goal is to make user avatar updating a simple single click and edit ...
0
votes
1answer
53 views

Created flag for “add friend”, set a View, works but there's a problem

Ok, so now when a user looks at HIS profile, he gets the links to HIS list of friends, great! However, when the same user looks at someone else's profile, he sees the links and they point to THAT ...
3
votes
3answers
53 views

How can I render a birthday field to display only Day and month

I am trying to render a birthday field to display only Day and month. user's birthday is 07/21/1971 When I print: <?php print render($user_profile['field_birthday']); I get this: Wednesday, ...
2
votes
1answer
24 views

Decide which modules to enable / disable in make file

I have a make file in which modules are downloaded, but how do I decide which ones are enabled?
2
votes
1answer
63 views

programatically create new user with custom fields in drupal 7

I want to create user manually with some custom fields. I have created extra fields through config > people > site information > manage fields. and fields like first name, last name, city etc. I want ...
0
votes
1answer
31 views

How to assign value from one file field to another programmatically?

I have a webform which have a file field. In the user profile I have also created a file field. I am using the webform for user registration So I am assigning the values from the webform to the user ...
0
votes
0answers
23 views

How to change the user view mode?

We are using Display Suite for managing User View Modes. We want to be able to change the view mode based on some conditionals we specify. We tried rules where we managed to implement our conditions, ...
0
votes
0answers
26 views

D7 - Create block user flag, hide users from view

I have created a social site where users can flag other users as "blocked". The primary view for the site lists users along with a bit of profile2 data and a "block" flag link. Users cannot see ...
1
vote
1answer
24 views

How could I automatically delete accounts with a given criteria?

My drupal site has a textarea field in the new user application that asks for the new user to explain what their interest is in wanting to join the site. Some sort of machine bot is sending a dozen ...
0
votes
0answers
30 views

how to render tabs content below page content in user page

I need to theme the user profile page. Name pic and user details in the top of the page, TABS like my friends and my favorites at the bottom. am using the page--user.tpl to render the content before ...
0
votes
1answer
30 views

How do I list my profile in the profile list after downloading the Drupal distribution with drush make?

I am creating a profile for my site. So I basically have the following files: myproject.info myproject.make myproject.profile Evertime I run drush make myproject.make the drupal files + ...
0
votes
0answers
16 views

Hide Contact Menu Tab for the logged in user. Show on the friend user profiles on Drupal 7

I need to hide the contact menu tab on the User's Profile page. But if the user views a relations's user profile then the contact menu tab must be displayed
0
votes
0answers
16 views

Send referral invites from drupal site having referral module installed

We have a drupal site on which have installed Drupals Referral module. The referral module provides referral link for the users. We want to design a system through which it is possible to share the ...
1
vote
1answer
67 views

move fields in the user profile form in fieldsets

I want to move the email address fields in the user profile form (user/1/edit) in a custom fieldset. I have this code: $form['change_mail'] = array( '#type' => 'fieldset', '#title' => ...
0
votes
0answers
28 views

Author who is not a user - Does a module exist?

I am about to write a custom module to allow for non-user authors (called Authors for the rest of this question). Use Case is really the corporate website Person publishing content to the website ...
1
vote
2answers
56 views

Checkbox in user edit page

I have customized the user-edit page in Drupal7 using user-profile-edit.tpl.php. I have also added reCAPTCHA to it using the reCAPTCHA module. I would also like it so that there is an "I agree to ...
0
votes
0answers
21 views

Adding translations to installation profile upon installation

Creating an installation profile for a french site. I have hit a brick wall trying to have the profile install fr language translations. I have tried adding this to my profile as this comment ...
0
votes
1answer
31 views

How to Hide Specific Pages to Anonymous Users

I need to be able to block the user's URL to be seen by anonymous users. Specifically: http://www.mysite.com/users/user_name and http://www.mysite.com/user (which are the same page but different ...
0
votes
2answers
27 views

How to update a feature

I have a feature which contains fields for the user profile page. This is currently working in PROD. In the dev site, I've updated the feature to include a new field, updated the version, and ...
1
vote
1answer
37 views

Connecting multiple data entities to the user object

I need to create a simple order system in Drupal 7. This will be a site for a meat wholesaler so I don't need a webshop. Users are able to register and fill in a webform to order products. However ...
0
votes
0answers
39 views

Build user avatar thumbnails after Drupal 5 to 6 to 7 upgrade

I'm upgrading a Drupal 5 site with nearly 100,000 accounts to 6 and then 7. After upgrade to 7 is complete I don't see user pictures/avatars displayed with user profiles or with forum posts/comments. ...
1
vote
0answers
50 views

Relationship action on custom user profile in custom block

I have customized the user profile view using panels. All great. Works like a charm. However i am stuck at one point. In the default view there is an option for users to add relationships (using the ...
0
votes
2answers
25 views

Setting upper limit on user profile picture

I am not finding any option to set upper limit on user profile picture. Currently user can upload file of any size. I want to prevent this scenario and allow user to upload his picture of maximum 2Mb ...
0
votes
0answers
48 views

Autocomplete does not work on the server

I have a organization text field on the user profile. I wrote a module that uses dbpedia's lookup services to generate an autocomplete list on the field. The code works on my local instance using ...
0
votes
2answers
129 views

Views and contextual filter as user id from url

I want to create some views that shows the content created by the user, content flagged by the user and so on. I also need that when user a views user b then user a can see the content created by user ...
1
vote
1answer
60 views

User Profile Edit workflow

any module available, to implement a work flow when user is trying edit the user profile fileds (custom fields). Following is my use case 1) User can edit the profile field , but admin approval is ...
0
votes
1answer
39 views

Modifying user view to display correct gender

In Drupal 7.21 with ulogin 7.x-1.10 I get following records in the database for male (having sex=2 in the JSON array below) and female (they have sex=1) users: 5 | 25583 | facebook | 597287941 ...

1 2 3 4 5 8