Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (6)

0
votes
1answer
10 views

What are some specific reasons NOT to share a users database table between sites?

I'm building a site for a client, and surprise! Turns out they're using a shared users table between multiple Drupal 7 sites (completely different code bases, different config, etc). I'm only supposed ...
-3
votes
1answer
20 views

How to get the users who did not submit articles? [on hold]

How can I get all users who did not submit articles and filter them on which date they have missed the submission of an article node. Drupal 7 PHP
0
votes
0answers
15 views

sms framework confirm mobile [on hold]

i want to send sms confirmation when user creates a new account in my website? error "Cannot validate this number. No matching sms valid rule found." help me please.
0
votes
0answers
11 views

What is the best way to create a User Account management area?

So I'm working on a feature set where there is the Administrative area, supported with the main and primary admin sections, nothing special there really. But I have to build a User Content Management ...
0
votes
0answers
18 views

Content related to role and user creation time

I want to show content to the user which belongs to his role, such as taxonomy, its creation time, or another user custom field. Is there any way to do this in Drupal 8? To Clarify my Question: I ...
0
votes
1answer
21 views

How do I get a list of nodes that have a reference to a given user?

I can get a node's referenced users like so: $users = $node->get('field_allowed_editors')->getValue(); But how can I get a reverse list? Getting all the nodes that have a certain user ...
0
votes
0answers
9 views

Using user_load() 500 error [on hold]

I have custom module and whenever I try to use the user_load function to load account information for a user, the _drupal_shutdown_function() is called with the callback "session_write_close". It ...
0
votes
2answers
27 views

custom user login/register menu tabs

I'm making a website with 2 different kind of users. using the Profile2 module, and i'm kind of stuck. Tourists who register with the normal user/register form. And Guides who register with a ...
0
votes
2answers
28 views

Redirecting back a user after registration

I have created a Drupal 7 site. I need to redirect back a user after registration. For example, if the users were visiting the front page before clicking on User login/register, they should be ...
2
votes
2answers
57 views

Login with Facebook or Google+ account

I want users to be able to log in (signup) in site with their Facebook or Google plus account. But I didn't find anything for Drupal 8. Is there any module or solution for doing this job or I should ...
0
votes
0answers
8 views

simple fb connect enter custom user field in field group for new users

I need a help with an issue that I am facing in the module. So, on my registration page I have some extra fields like: Country Real name (different from username) Country and real name value is ...
3
votes
1answer
48 views

How can I send an email to the previous comment author when a user places a new comment?

I want to get the Email address of last comment's author. Actually, I want to send email by creating a rule when new comment posted and this email will go to the user who commented on node before ...
1
vote
1answer
17 views

Assign email on user registeration

I have a custom user email field, I want when the user signs up to automatically set the email for he/she. For example, when the username field is user1 I want set the email to user1@mydomain.com ...
0
votes
1answer
29 views

How to add OK button in drupal user-registration-form after submit the form using jquery [on hold]

I have created registration popup. I want to add OK button on user success form for this I have writen the jQuery Code in my .js file this time it's working. but my issue is the OK button Seems to ...
0
votes
0answers
11 views

Render Registration Form

I'm trying to get a renderable object for the Registration form. This answer looked promising, but it appears that the registration form is an entity form. I looked into this answer which seems like ...
0
votes
0answers
10 views

Error Trying to get property of non-object in registration_field_formatter_view() [closed]

I'm using D7 with the Open Outreach Distribution. When I try to add a monthly event that occurs on a given day each month of the year with 2 repeats I get "Trying to get property of non-object in ...
1
vote
1answer
16 views

List users with custom fields

Is there way to list all users? I haven't found such method on UserInterface. The few hints I found on internet are for version 7 or using entityManager which is deprecated. Loading custom fields is a ...
0
votes
0answers
19 views

How to force a login on a specific page only?

I would like to create a page (with a specific url) which will always require/force the user to login with their credentials. This would need to work irrespective of whether they were already logged ...
0
votes
0answers
12 views

Is there a way to do a token path redirect without using Rules?

I have tried a number of the popular login redirect modules but I cannot find one which allows for inputting token based paths. Logintoboggan, Login Destination, and Login Redirect all do not allow ...
0
votes
1answer
16 views

Allow users to register using username in drupal commons throw Integrity constraint violation error

I'm using drupal commons and I want to allow user to pick his username on registration. Currently drupal commons does not allow user to choose his own username but generates one automatically. What ...
0
votes
1answer
48 views

How to store Ajax Return value into variable after clicking the Submit button

I have created form with fields of State and City. After selecting the state appropriate city records will be loaded into city field till now working fine but after clicking the submit button I am not ...
0
votes
0answers
9 views

jDrupal - login problem

Does jDrupal fully work with Cordova? I can get nodes, but login doesn't work. jDrupal.connect().then(function() { jDrupal.userLogin('TestUser', '123456').then(function() { var user = ...
0
votes
1answer
28 views

How do I adjust the 'Create New Account' settings?

New registrations are asked to create a password which is, in my opinion, excessively strong. Where do I go to adjust the password strength and other 'new account' settings? When I looked in the ...
0
votes
1answer
23 views

How do I use the geoip_language_redirect module?

I am working on a multilingual website, and I have setup the multilingual concept successfully. Now I want to redirect the users to the corresponding language URL based on the IP address or country. ...
0
votes
1answer
21 views

hook_user_insert not working

I am new to drupal. When user register into my website I need to get the users details and passed to a thirty for server . I am trying the following hook, function ...
0
votes
1answer
11 views

Restricting view to content associated with user profile

On my site some users have the permission to see others' profile. I'm looking to show a view in a block containing a food content type. It will be displayed on the profile page of the users (user/*). ...
0
votes
0answers
15 views

Restrict user role to see only their members profile

I am using Group module and i created a new role: moderator Here's my group: Company A - Moderator role Company A1 - Member role Company A2 - Member role How can I restrict the companies profile ...
0
votes
1answer
39 views

Emails are not sent to outside domains

I deployed a Drupal 8 website, on a hosting service with cPanel, with domain mydomain.com. If I set this email address on the user profile: john.smith@example.com, that is an email address with a ...
2
votes
2answers
37 views

How to track Drupal user login-logout session length and registration activities?

Is there any hook_function/code in Drupal where I can track user activity, like: User core logged in time / or third party login User log out time Login-Logout session length (active time) ...
0
votes
0answers
12 views

login access via Android App using services module

I am currently using services module and I have an android app.Services ModuleIf there a way for me to keep the user logged in until they log out manually?
1
vote
1answer
40 views

Webform draft share link

I would like to create a webform which accepts input from two parties. First party fills out part of a form and share a link with second party to proceed with the rest. I have found 'save draft' ...
0
votes
2answers
59 views

Drupal 8 - Show menu links for anonymous users only

I need to show the user register link as a menu item in the account menu. I am able to add the link in the menu via links.menu.yml. The menu links shows up for anonymous users as well as ...
1
vote
2answers
44 views

Drupal view filtering users by last access never

I have a view in Drupal 7 where I am trying to show all users who have a last access value of never, meaning they have never logged in. The filter however expects a Date value which is no help to me ...
-1
votes
0answers
18 views

Shared users multi site

I want to create a multi drupal site to divide the forum from the site. www.mysite.com (the site with news, comments, basepage...) forum.mysite.com (only the forum) I tested Multisite: Share users ...
0
votes
0answers
18 views

Can a person that doesn't have access to a page, view an unpublished article to review?

Can a person that doesn't have access to the backend of my website view an unpublished page? I.e I want to set up an article but need someone to review before I can publish it. I can't give this ...
1
vote
3answers
26 views

How to send an email to a specific user on new account creation using Rules?

I have an alumni association portal. When a new user creates profile on the portal, that account stays blocked until a specific user from that batch/department approves it. I am trying to make use ...
1
vote
5answers
66 views

How to show a user login form on a completely separate page? [duplicate]

I am developing a application where I want to restrict everything from anonymous users. If anyone tries to access any page from url directly they will be redirected to login page. How to do this? ...
2
votes
0answers
19 views

How do I multisite with share user (and SSO), separate/dedicated users' role and content database on each site [closed]

I like to make Drupal 8 in CentOS 7 with Apache 2.4, mySQL and PHP 5.6 environment with requirements: Multi-site within domain (site0.example.org, site1.example.org, etc.) Shared local user account ...
1
vote
1answer
19 views

An explanation on user_save() works

I was writing on a module for drupal and i had to update some fields in the user-object. I first tried this code: $account = user_load($user->uid); // Loading account $edit = array( ...
0
votes
0answers
9 views

User can't change their own location after registration anymore

i'm using the loaction module for user locations. At the registration form a new user has to enter his oder her location and it will be displayed in his profile. When the user tries to edit his or her ...
1
vote
1answer
11 views

User Folder Access Control

I work at a university that has switched to Drupal. We have several hundred departments making their own "sites" in our system. Most departments need to be able to upload and change ONLY their own pdf ...
1
vote
2answers
27 views

Separate 403 path per role?

On admin/config/system/site-information, one can specify "Error pages" for 403 (No access) and 404 (Page not found). It would make a lot of sense to specify different pages here, depending if you are ...
-1
votes
1answer
47 views

How to create a User search view?

I am trying to create User search view (using Views). But when I create the view, I am not able to see the search option in filter. What I am missing?
2
votes
2answers
29 views

Understanding `file_usage` table

I am trying to understand the Drupal database schema because I need to access the database via MySQL by another system and I do not have access to the original Drupal developer of the site nor do I ...
2
votes
1answer
33 views

How to use current user object in Drupal 8? [duplicate]

The answer to "Is there a function to get the current user object that avoids accessing the global variable?" includes this: In Drupal 8, you simply use the static method \Drupal::currentUser() ...
0
votes
1answer
14 views

Username converted to us-ascii (unix-style)

I want to convert unicode characters in user names to us-ascii. I.e my first name is Søren and my last name is Sjøstrøm. It should be converted to soren.sjostrom (unix style) as the user name. How do ...
0
votes
1answer
15 views

Get created term entity after creating term programatically

I'm writing a custom Drupal Console command to import user data from a text file and create users, and as part of the process, I need to add data to a term reference field. In the case that a term in ...
0
votes
0answers
39 views

Multi-step form using hook_form_alter()

I am building a User registration form. My requirements for multi-step form: STEP 1- Here government/register is unique registration path from Profile2 Registration Path module function ...
0
votes
1answer
12 views

Attach a Webform to user registration form

Is there any way to do this in Drupal 7? I want new users send some documents via Webform on registration. The reason is that I don't want to save these documents as an user profile field.
-1
votes
1answer
28 views

How can I see anonymous visitors in real time Google Analytics? [closed]

I can't see anonymous visitors in real-time in Google Analytics, I can only see registered users. But I need see all visitors in Real-time>Overview , including anonymous visitors. In the Google ...