Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

1
vote
1answer
24 views

Reset Password in drupal 7 [on hold]

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
23 views

Is it possible to add CSS to the user edit page?

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 ...
1
vote
3answers
24 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
27 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
21 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
28 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
9 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
23 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
29 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
29 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
41 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
19 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
23 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
20 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
12 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
18 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
20 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
43 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
46 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
10 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
29 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 ...
0
votes
1answer
11 views

Can you customize the User Edit page without editing the theme?

Is there a way to customize what appears on the user profile edit page without editing the theme? I'd much rather use blocks or hooks to accomplish this task. Is this possible?
1
vote
0answers
8 views

How to add membership limits to Group Module?

Did not see anything in the api file about this, but for Group Type config how can one set membership limits? e.g. Group Type A can only have a max of 50 members, while group B can have 500. Is there ...
1
vote
1answer
22 views

User Edit Page for different elements

I want to customize the user edit page. I want to separate the elements (eg. user password, user picture, user email) and put them each on a separate edit page. I tried the panels module, but that ...
0
votes
1answer
15 views

How to create a views that display all the publish content type as one output per user

Intro : I have created a two different content types because I needed two different moderation process for those two content type, each of those content type are limited to 1 per user. Those content ...
0
votes
2answers
27 views

Views : List all user who didn't publish anything

Is it possible to create a list of all the user that didn't create a certain kind of content? I'm making a school graduated student album and each student have to creates a personnel node about there ...
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
2answers
9 views

node information and messages

I created a user login page, and used the login destination module to redirect my user to a new "front page" I created using views. On this "front page" I call all the nodes created by the logged in ...
-2
votes
1answer
13 views

Create A Product On Drupal 7 [closed]

Hello I Am Making A Website So I Want To Add Some Of My Product In My Product Page So I Want To Know That How I Can Add Product With Name Cost Of Product And Description Can Any One Suggest Any Module ...
0
votes
1answer
17 views

Add Fields In Inbuild Contact Form In Drupal [closed]

i Have Put A Drupal Contact Form In Contact Us Page So I Want To Add A Contact No Field In Site Contact Form You Can See In Given Images kindly help it out
1
vote
1answer
31 views

permissions to allow role to edit the posted date

in drupal 7 - I have given a role the permissions to edit, add delete and modify content but he doesn't see the authored date in order to modify it. how can I give him permissions to modify that ?
0
votes
1answer
28 views

How to create a list of nodes that the anonymous user has created and limit it by the current session (SID)?

Is there a way to create a list of nodes that the anonymous user has created and limit it only by the user's current session? Basically I want the anonymous user to create a node under a specific ...
0
votes
0answers
19 views

Replace user id with username in commerce order url

I have a token pattern set up in PathAuto to make user pages use the username in the url instead of the user id. Like this: users/[user:name] So it looks like "users/example_user" instead of ...
3
votes
2answers
164 views

Limit the user to 1 Node Per a day

I am making a diary website, where users can make a daily diary entry. A node acts as a diary page, so naturally I need to limit the user to make 1 node per a day. How can I do this? Steps I have ...
0
votes
0answers
17 views

loggin user in code afer reset password via services

I have made custom resource to support password reset via services after I successfully changed the user password in code I need to delete all active sessions created in sessions table for that user ...
0
votes
1answer
19 views

remove all active sessions for given uid

How to remove all active sessions for given uid who has logged in from different browsers or apps. I used drupal_session_destroy_uid($uid); drupal_session_regenerate(); but old sessions still ...
0
votes
1answer
21 views

Allow character variants in username

I am trying to import some users from a phpBB forum and found an odd thing: in phpBB I have some users with weird characters in the username. Eg: Henriëtte . The problem is that in Drupal I can't ...
0
votes
3answers
32 views

Hiding Email Address Form Alter

I'm trying to hide non-admin users to view the email address field in the user section. I have the following hook. Right now, I have the current password hidden, but the email sends back a naughty ...
0
votes
1answer
35 views

How can I print usernames in order using entity_load function?

I'm using drupal 7.28, and i have fetched user id using entity_load('user'), so i need descending sorting on usernames using this way of logic, let me know if anyone has an idea.Here is my code that i ...
0
votes
0answers
13 views

Using views to overwrite Taxonomy pages for content *and* user terms?

First: I'm developing a site on a site-wide Drupal 7 installation. It's not quite vanilla Drupal, but I can't add modules to it. What I'm trying to do: Use views to create a team directory. The ...
0
votes
0answers
23 views

Drupal users taking a long time to delete

I am having trouble deleting users (mainly bots) from my Drupal site. When I go through the process to even delete one user it takes SO long, and eventually times out. This was not the case a couple ...
0
votes
2answers
30 views

Assign anonymous node to user Id

What I want to try and achieve. An authenticated user creates a node of type 'listing' (this node obviously belongs to this user via his uid). On this node will be a link to create a new node of a ...
0
votes
1answer
38 views

Webform E-mail send to selected user

When the user is fill out my webform they are going be asked "who refer you to this page." The user would pick a user. I want to be able to send the results e-mail to that person programatically once ...
0
votes
1answer
35 views

How to load a field from a user that is being viewed

I am looking to load a field from a user's profile that is being viewed.For example, I am looking at another users profile and it will load their associated field. I am programmatically adding a ...
0
votes
1answer
27 views

How can I send an email to Administrator when Users change their name?

We are using LoginToboggan. How can I send an email to Administrator when Users change their name? I looked at Rules, but the only Rule action which seems close is "After updating an existing user ...