Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

Deleteing/Blocking Module from a CSV

I'm looking for a module that allows me to delete/block user from a CSV file. Here is more information of the solution that I'm looking for: I have a CSV with a list of users that are spam or not ...
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'){ ...
1
vote
1answer
14 views

Find user profile page link from database

I know the link structure of a user page . Like For admin,it is example.com/users/admin But I want to know from database how can I find the link? or which table contains the link?
0
votes
0answers
19 views

Simple Add/edit/delete module in Drupal 7 [on hold]

I want to know the process of a module for add/edit/delete. I have created a module of add users, all the values are storing in database. Now I want to retrieve that data from db and show to front end ...
-2
votes
1answer
13 views

Find current location of logged in user [duplicate]

How can I find out the current location of the logged in user? When a user is logged in I just want to search the current location of user and save the lat and long in the database . How can I do ...
0
votes
3answers
35 views

how to get correct user id on page

I've added two custom fields to my user form - field_license and field_download_date. In my preprocess_page function, I'm doing this: if(isset($vars['user'])) { $user_data = ...
1
vote
1answer
18 views

How can I modify a user's last access date using Rules?

Goal I want to make a Rule that automatically changes the user account last-access date to "now" for certain users. Use case I have a view that displays users by last access date, but I need some ...
1
vote
1answer
10 views

Assign User Points in existing website which already contains content

Question specific to "User Points" module, backcopy of question from here due to no response: https://www.drupal.org/node/2492933 Drupal 7 - I have a website which is already running for more than ...
0
votes
1answer
11 views

How to list all users in drush?

I would like to list information about all users using drush. There is user-information, but it shows information only about single user. Are there any other solutions?
0
votes
0answers
9 views

import into user address fields using user_import module

Im using user import module, Inside user fields I have a "Postal Address" field (I think it comes from location module ) this is a small screenchot how it look the setting of that field: So it ...
0
votes
0answers
15 views

How to override authenticated user permissions?

I'm looking after an intranet site on D7. Our system daily gets a user feed from active directory and puts everyone (new/existing users) as authenticated User. Authenticated users have the permission ...
-1
votes
2answers
34 views

how to print password and name of user in block [duplicate]

Anybody can help me that how can i print all the usernames with their corresponding passwords in a block. The main problem here is that password is save with md5 encryption method into database.
0
votes
1answer
20 views

How to place an Ubercart order on behalf of another user?

I would like to ask if it is possible to assign another UID, different from that of the currently logged in user, to an order under checkout process (e.g. via rules)? Any idea how to do that? Thanks. ...
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 ...
1
vote
1answer
30 views

Show also content on users view

I have a Drupal View that was created to show users which are members of the site, this works fine but now the client wants to see not only users on the same view, but also content of type "X", but ...
0
votes
1answer
11 views

user_save adds values to the user, but they aren't “active”

I'm taking over a website that had a user import; it has a function that sets the value for some Boolean fields on the user. $user->field_perm_connexion['und'][0]['value'] = ...
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
1answer
21 views

How to add fields (variables) to users to be used in combination with data about events?

About my site: I have a site about events where users can: post and rate events. confirm that they will attend (everyone can see who will attent). etc. Requirement 1: I want to make it so that ...
0
votes
2answers
34 views

Creating node and user with one form

I have a content type, 'A'. Now I need a form with the user registration form fields plus the 'A' creation form fields. So when the user (annonymous) submits this form, a user and a node of type 'A' ...
2
votes
1answer
8 views

Get the user id for triggers when deleting a user

I have a script that sets up a specific url for a user when they register on a site, There are no real issues at the moment, but I need to cater for those 'unlikely things to happen that happen 20 ...
-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
12 views

Rule to store user's last post date and scheduled rule based 30 day reminder

In this screnario, user's can post 1 node of a specific content type every 30 days (interval changes depending on user role). We are using node_limit to accomplish this; it's doesn't play with rules. ...
1
vote
2answers
72 views

How to hide/remove “Request New password” link in Drupal 7?

I am using 'Login Block' to access Intranet pages from our website. I used 'Login Block' on www.example.com/common-intra page to login into intranet section. I am using userprotect module to hide ...
0
votes
2answers
50 views

How to re-activate the Drupal administrator account that got accidently blocked? [closed]

The admin user account of my Drupal site accidently got deactivated. Because of that, I have no more access to Drupal administration. How can I change the status of that user account to active again? ...
1
vote
1answer
27 views

Reset Password in drupal 7 [closed]

I want following functionality when user click on forgot password. I want user will get an email to rest his password. when he click the link, A new password wil generated and send into his email ...
0
votes
1answer
14 views

Unable to use rules to update field after the first update

I currently have a field that shows the last updated date on a user edit page. I'm using the current configuration for rules. Event: After updating an existing user account After saving a ...
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 ...
0
votes
0answers
11 views

Programmatically create block for specific user [duplicate]

I want to create a block which only visible to some of the registered user only.How can I do that programmatically or from custom module?
0
votes
1answer
30 views

How to know if who created the order

Is it possible to determine who created the order? I've installed the entity reference module, then added a entity reference field in the order, but I'm not sure if this will work. I've used the ...
0
votes
1answer
36 views

Services 3 - updating a custom field in a user account

I'm using Postman in Chrome to test my services. I'm sucessfully able to create user accounts using the following: Headers: Content-Type /application/x-www-form-urlencoded X-CSRF-Token ...
1
vote
1answer
35 views

Display users who flagged content

In my Drupal 7 project I have users of role A and B respectively. Users of role A can create content and users of role B can flag it. I'm building a view that displays on A users' account page their ...
0
votes
0answers
14 views

Generating user accounts programatically [duplicate]

I have a content type called football and have 50 footballers added in it. How can i programatically generate a user account for each footballers with username as the first part of their email id? ...
1
vote
0answers
12 views

Users rate and comment each other after an event?

I'm working on a project where users trade services (like AirBNB or Uber). I'm a bit stuck at the stage when the task is done and the two users have to rate each other. I have ratings sorted using ...
1
vote
0answers
24 views

403 page when clicking on activation link in email

when a user creates an account, they must active their account via verification email but when the user click on the link in their email they see the 403 page(you are not authorize to see this page) I ...
2
votes
1answer
30 views

How to modify account page adding possibility for a user to chose one of 2 roles

I have Drupal 7 installed on my WAMP localhost. I need to add a widget to the account page to allow users to chose 1 of 2 roles (recruiter or applicant). Having chosen one role the user cannot switch ...
0
votes
2answers
36 views

Add followers' list at the end of discussion

I want to add following functionalities in Drupal 7. Any forum-user can have followers, So I want to show followers list on forum-user's profile page. (Like this) Those followers should be ...
1
vote
2answers
18 views

How to enforce role selection on the user's create, so they can edit other certain users? [closed]

I have three roles. registry teachers students How do I enforce role selection on user's creation? I want the registry role to create and edit users (ONLY teachers or students role).
2
votes
2answers
45 views

How to let users choose one role from 2 offered on their account page?

I have Drupal 7 installed on my local WAMP server. I need some simple solution to let users choose one role from 2 offered on their account page AFTER registration. Is it possible to do it with the ...
2
votes
1answer
20 views

Limiting User Permissions

I have 3 sets types of users admins, writers & paid writers. Drupal has a built in administer role but not a limited administer role. I want the paid writer role to control some permissions but ...
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
1answer
26 views

New User OpenID identities in Drupal 7

Scenario: Drupal 7 site recently migrated from Drupal 6. Using OpenID connect module. All users login with Google, using a Google account with a company domain name. (user@company.com). All users ...
0
votes
0answers
13 views

Create a new Node…Facebook Style Post As another Author option

We have 3 different user profile types (using Profile2) we want to be able to give "General" users the ability to post as "Business" and "Location" Users if they are authorised to do so. My plan for ...
0
votes
0answers
20 views

How to protect certain types of content from deletion on user delete

We have certain node types that we never want to be deleted except directly. Is there a way to prevent a user from being deleted if they're the owner of any content of type 'X'? Based on ...
1
vote
2answers
22 views

Sharing files privately individual users

I'm trying to create a Drupal 7 feature whereby an admin uploads multiple files that are only visible/downloadable by a specific user. These files would be visible on the user's profile page or ...
1
vote
1answer
70 views

Login programmatically using ajax

I have a button in my custom module function sign_up_form_user_register_form_alter(&$form, &$form_state, $form_id) { $form['captcha']['#suffix'] ='<input type="button" id="test" ...
1
vote
3answers
58 views

How to implement Node Access based on a Term in the user's profile?

Some info about what I'm working on: Nodes: I have a content type that contains user_reference. Taxonomy: I have a vocabulary called cities, which is enabled for all users and contains terms like ...
-1
votes
1answer
11 views

Create A Sort Features In Drupal

Hello I Am New to drupal and i want to make a sort option that user select any topic and apply as Given On The Image I Want To Make that So I Want To Know How To Make that option
0
votes
1answer
16 views

How would I insert one item into the user-edit page with templates?

I'm looking to insert a button into the user edit page. I've seen examples of how to edit the entirety of the user-edit page, but I want to keep everything intact and only make one small change. Is ...
0
votes
0answers
30 views

How to delete specific nodes from a custom module?

I have built a custom nodule that prints a button to a block on the user edit page using panels. Right now it just grabs the userid and spits it out to a drupal message. My goal is to have the button ...