Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

0
votes
1answer
25 views

how to add custom email to account user emails?

There are a few email templates in account user emails page: "/admin/config/people/accounts". How can i add custom emails from my own module? I would like to have&edit all email templates in the ...
0
votes
0answers
19 views

Match user based on multiple taxonomy field with Views

I'm trying to make a view that "match" users depending on what they look for and what they offer. When a new user register, he chooses what he wants to learn. Let's say he chooses the following: 1) ...
0
votes
0answers
23 views

Create a checkbox in node with all users

I need create a checkbox in a custom node with all users I create the checkbox: if (!field_info_field('field_permissao_acesso') ) { $field = array('field_name' => 'field_permissao_acesso', ...
1
vote
1answer
196 views

User with uid=0 in database

I had to build a form with a select field populated with all the users registered in database. There are 10 users that I can see in admin>people. To get all the users, I used entity_load('user'). ...
1
vote
2answers
55 views

drupal /?q=user is working but /user not working

I have recently moved my files from dev server to test server. same setting and db of dev server were copied to test server. In dev server all is working fine but when I have am checking in test sever ...
1
vote
1answer
21 views

Possible cause of the one time login link sent via e-mail to be broken?

edit: it appears to be a bug, reported here https://www.drupal.org/node/2329723 When I, as the Admin, add a new user and let Drupal notify him via mail, the one-time login link is broken: ...
1
vote
2answers
28 views

Send out a unique (unprotected) link per user

I'm the admin of a Drupal site with 200+ users. I sort of rolled into this, so I'm no Drupal expert, although I've managed to understand it quite good now. This is a site for our sportsclub and we ...
0
votes
0answers
18 views

User picture in teaser

I've added this code to display user picture under own post and it works good but when i logged out , i cant see user picture !!?? <div class="user-pic"> <?php ...
0
votes
0answers
21 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
2answers
29 views

How to add a custom url to user menu?

I've create a theme for user login page with different style and everything is good. When a user log in to my site in his profile he can see a user menu and add content link. I don't want to show ...
0
votes
0answers
10 views

Entity Reference (-> User) : send mail when not in system

I have a content type Proposal with an Entity Reference Proposed By (target type = User). This is an autocomplete field. The user needs to type in the email adres of other users. But I would like to ...
0
votes
1answer
21 views

user_profile_form doesn't show profile2 information

I'm trying to modify the user_profile_form, but it isn't working. My regular user edit information shows up, but not my profile2 information. function MY_MODULE_form_alter(&$form, ...
1
vote
0answers
26 views

Multiple registration phases

I'm having trouble figuring out how to have a registration in different phases. This is what I would like to do: A user registers with a name and an email or register with facebook. He will receive ...
1
vote
2answers
82 views

Prevent users editing or viewing their own profile

I just want to do something really simple. Disable access to the user/s profile for viewing and editing. Basically users can create and account but won't be able to edit or view their own/or other ...
0
votes
1answer
32 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
20 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
12 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
2answers
53 views

Only user number 1 can add content

Recently all users (except UID 1) lost the ability to add content. When going to node/add we get the message "no content types created yet" When going to node/add/page we get "Access Denied, you are ...
0
votes
2answers
9 views

users adding images

I am wondering what the best option would be for adding images to Drupal 7. I am running a new social media site for cats and their catlover humans at http://aimable.ghookermls.info/. My ...
0
votes
0answers
29 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
0answers
11 views

Why is unchanged and new value always the same in rule condition

I have a boolean field called verified defined in profile2. When this field changes from not ticked to ticked I would like to send out an email to the user. Easy I thought with rules Starting using ...
0
votes
0answers
32 views

Computed field display based on user id

I have content type name "applicant profile" which all the applicant need to fill up their details and information in this content type..the title for this content type is based on applicant name.. i ...
0
votes
1answer
21 views

get user_page and modify main content

I'm very new to drupal. I have successfully added a new menu Tab. And When I click on it, it shows a new page with the expected data. However I would like: To have a "proper page" not just the ...
0
votes
1answer
35 views

Add multiple co-authors while creating node

I have a content type proposal. Now I would like to have multiple co-authors of the node. I want to give the author the opportunity to add users like this: The users have to be entity references. I ...
0
votes
0answers
16 views

Check if a user is local or from LDAP

I am using the LDAP module against Active Directory. I have both LDAP users and local Drupal users on my site. Is there a way to check is a user is local or from LDAP?
0
votes
1answer
21 views

Views boolean column if user has a specific role

I have a standard Drupal installation with Views and Administration Views modules installed. By default, the Users view has a column Roles with ALL the users roles. How to include a custom column ...
0
votes
0answers
17 views

Dynamic text on My Account link to include user's name

I'm using a Commerce Kickstart 2 profile and I'd like the "My Account" link at the top to include the name or email of the user who is currently logged in. Right now it says My account but I'd like it ...
0
votes
0answers
13 views

translate messages from user.module

I need to translate just a few strings and use strings overrides for that. Most of strings are picked up OK but I have hard time translating message from user.module Thank you for applying for an ...
0
votes
1answer
51 views

How to add a checkbox for contact page in drupal?

I added a checkbox in my register form in drupal name "do you want a contact form?" If the user checked it then in profile page a menu for contact is shown but if it says no then in the same page ...
0
votes
1answer
32 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 ...
-1
votes
2answers
68 views

How to check logged in user username/password/role using Drupal function for validation [duplicate]

I am allowing user to register in my site. while registering, user is assigned with a specific role using user_save while logging in as registered user, I have to check if login credential are ...
0
votes
1answer
22 views

Checked as default --> The user must confirm the account cancellation via e-mail.

How can I checked as default the value Require e-mail confirmation to cancel account. It is unchecked as default :( I tried to edit user.module editing this line '#default_value' => TRUE, but it ...
1
vote
2answers
99 views

How to prevent a user from being saved with Rules?

I'm trying to prevent a user from being saved with Rules when he/she tries to use a username that contains a whitespace. I've already read How can I disallow spaces in usernames? and used the User ...
0
votes
0answers
16 views

Taxonomy term access based on user custom field

I have a Drupal 7 site with the following structure: Vocabulary called Organizations Vocabulary called Groups that has a field referring to Organization vocabulary Each user has a custom field that ...
1
vote
0answers
59 views

How to use user_load() for user on $_GET[] request in Drupal way?

I'm trying to get UID of users on $_GET[] request, following is my module code: my_module.module function hover_card_init() { $module_path = drupal_get_path('module', 'hover_card'); ...
0
votes
0answers
15 views

Configure Menu block visibility based on URL and a User field

First, I have a content type: Department Additional content types: Post, Article, Event, etc. using Node Reference (Reference From URL) User have Entity Reference (Department) [field_department] ...
0
votes
1answer
41 views

Fatal Error when trying to log in DRUPAL

My Drupal 7 website is throwing 500 internal server error, when I try to log in as Admin. I checked the apache error log it throws below error PHP Fatal error: require_once(): Failed opening ...
0
votes
1answer
25 views

using User Import module with date

I was planning on using the user module to import more than 300 new users into my website. However, the birth date fields cannot be imported. Even before the actual import has started, I get these ...
0
votes
1answer
20 views

A page to display various membership types to choose from?

I am completely newbie to Drupal, currently using Drupal 7.x Though I am experience hard-core IT professional, I am trying to learn Drupal. I have a simple requirement to display a page when user ...
0
votes
1answer
51 views

Publish content on user unblock event Drupal 7

I know that this is most probably and easy question but I simply can't get it to work. I have a custom module which generates a form to create a content (unpublished) of a certain type and also ...
1
vote
3answers
90 views

How to intetrupt a form submission in drupal

I have made a custom module where I create one page. In that page I load the existing form for creating a new content and also add a password field. In my loaded form I have an email field. I want ...
0
votes
0answers
129 views

user-register.tpl.php javascript errors

I've got a custom register template working by adding this in my template: // Customize User Login function THEME_theme(&$existing, $type, $theme, $path){ $hooks = array(); // Make ...
1
vote
0answers
69 views

Drupal 7: Permission Denied (403) using /batch

I have run into a scenario where I am getting an 'Permission Denied' error when attempting to run anything that uses batch, with the sole exception being CRON. First off, this error is NOT related to ...
0
votes
1answer
16 views

User select filtered by taxonomy on node forms

I’m looking for something like Hierarchical select (https://www.drupal.org/project/hierarchical_select) based on the user selection filter by term (taxonomy). In a node forms, I would like a list ...
0
votes
0answers
28 views

One account multiple users with single user per session

Relatively new to Drupal! I'm looking for an existing module that can help with the following: I'm working on a project which needs a single "parent" user account which will be used to log in, it is ...
0
votes
3answers
52 views

How to show only user assigned contents in his dashboard

I have more than 270 pages in my website. There are some Content Creators, Content Editors, Reviewers and Publisher. I have assigned each user a different role. Each user can view, edit and publish ...
3
votes
2answers
128 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
29 views

Deleting user accounts produces error

I am getting an error when I try and delete old user accounts that I've been testing with. The batch operating hangs for the max execution time and either gives a max execution time error or max ...
0
votes
1answer
8 views

How to display a list of users tagged with taxonomy term, but taxonomy term already used in another display

I have a taxonomy vocabulary . I already have a view set-up that displays each committee's page using the '/taxonomy/term/%' display. This works great. Committee: - Committee #1 - Committee #2 ...
0
votes
1answer
86 views

Update role with hook user update [closed]

i'm updating role using hook user update like this : function my_module_user_update(&$edit, $account, $category) { //print_r($account->field_my_field['und'][0]['value']);exit; ...