Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

0
votes
0answers
10 views

Give permission to dealer_user_role to create users and profile2 fields

I have situation as follows: I have three types/roles of users. AdminRole Dealer Role CustomerRole I have given permission to "Dealer Role" to create/add "Customer Role" user. That works fine ...
0
votes
3answers
40 views

How to get into a Drupal 7 site using only Drush without touching code or anything else?

I'm working on a acquia site and right now the dev environment is replicated from the prod. I want to be able to get in as admin on the dev site, but every time i hit the /user path it redirects me ...
0
votes
0answers
11 views

Can a secret Facebook group be automatically synced with a Drupal site?

I have a Facebook secret group, and a Drupal membership site. Members on the Drupal site (distinguished by a specific role) are added (and removed) manually from the “secret” Facebook group. What ...
0
votes
0answers
9 views

Automatically import the information fields when creating new content

When working with drupal I have a problem but do not know how handle. I created a content type and then assign rights for anonymous users are allowed to create that content. In the type of content I ...
1
vote
1answer
22 views

How can we assign points to users in the site?

I want to give points to users in the site, like if a user creates an account then he should be awarded some points even if I want to award points for the activities like if user visits a page, if a ...
1
vote
1answer
17 views

User email verification link

Is there a way to store/save the user verification email link in the database after a new user creates an account?
0
votes
0answers
1 view

User in Drupal Commons Group including location (State)

I need to create a MySQL query that will allow me to view the users in a specific Drupal Commons group and include their USA State location. I would like to be able to export this to a CSV file. Any ...
1
vote
2answers
56 views

How to email all group members after a new node is added when using the Group module?

I have created one group using the Group module. In that group I have 1 node type and 3 members. I want to send a confirmation email to group members whenever I add new nodes of that node type. How ...
0
votes
0answers
11 views

Unable to get user language when using entity translation

I've only Entity Translation enabled for the following settings(in the two pics). But when I load the a user using user_load I find the $user->language as empty. How do I get the default user ...
0
votes
1answer
16 views

Access denied at password reset page when logging in

I run a D7 site that for some reason is not allowing users to reset their passwords, but only on the server. The email with the one-time login link is sent just fine, but when the user clicks on the ...
0
votes
0answers
13 views

Anyone point me to create user review solution? [duplicate]

I've done research but found nothing available for D7. AFAIC nor user and profile entity have integrated comments.
0
votes
0answers
13 views

Update view based on hierarchical select

When a student goes to register they select their state and then their school (the state and school are stored as taxonomies). What I have not been able to figure out is, then the possible teachers ...
0
votes
1answer
26 views

How to store user location

I use Smart IP module to track user location with option IPInfoDB.com. But as I understand Smart IP does not store by default user location in database. Is there any option to configure this or I need ...
1
vote
1answer
19 views

insert read-only multilingual text to user registration form

I've added a 'Term of use' read-only description into the Drupal user registration form, but I would like to make it multilingual. The corresponding code is in the begin of template.php (responsive is ...
0
votes
0answers
9 views

How to show users from current domain only using Domain Access?

I have a role Domain Admin and this role have permission to administer users, also this role is assigned only to one domain. I need to allow this user to see/edit/delete users assigned to his domain, ...
0
votes
0answers
24 views

Show user info in DIV based on link click

I'm currently trying to make a 'biography' block with Drupal profile pictures and when you click on them more information (user fields that has been filled in by the Drupal user) will dynamically ...
1
vote
2answers
24 views

How to hide Profile2 entity fron user view?

I have a few profile2 types. Profile2 entity is always rendered on standard user view page. How can I hide this entity? I know I can hide all fields in Manage Display tab, but I wondering if there ...
1
vote
1answer
14 views

Achieve single node field edit to have different values for each user?

I am trying to create lets say and activity node which allow each user to insert a different value without having to create a node. for example: I created activity1 node, and then I will allow user a ...
0
votes
2answers
39 views

User picture not removed when deleting user in Drupal 7

After creating users with a picture programmatically, and deleting them afterwards, I found out that the pictures (files) were not removed. I started digging into this problem and found out that this ...
1
vote
1answer
31 views

Array of items as contextual filter in Views

I need to create a View which displays content of users that their username should be passed as contextual filter. The number of parameters (usernames) are not specified but the View must include ...
1
vote
1answer
64 views

How to implement a D7 alternative for the Privatemsg Bulkmail module from D6?

I'm using the modules Private Message, Invite and Organic Groups in Drupal Commons. I get listed with trusted content using Views and need to set private Message button for bulk operation just like ...
1
vote
2answers
27 views

How to overwrite /modules/user/user.module text?

I am trying to override the text outputted on the user login block: "A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will ...
2
votes
3answers
318 views

How to implement a Dropbox-like functionality for authenticated users to upload files?

I want to give my users some sort of upload functionality - kind of like a Dropbox. The Dropbox client module seems to have many bugs and the patches aren't fixing them for me. So basically I am ...
0
votes
1answer
23 views

how to provide security to user Profile?

I want to provide security to user profile, so that purpose am adding two check boxes Account Settings List item Make my profile only visible to members of my website members only. Make my profile ...
1
vote
0answers
25 views

How to create a user in supporting database?

I have created custom user with the help of the user_data() function. I'm using two databases: DB1(master) and DB2(supporting) on the same server. I want to create a user in the DB2 database but by ...
0
votes
1answer
34 views

Quiz results/score are over 100 points [closed]

I have a quiz with 5 questions of 10 points each one. When I score them, some exams save the result of the quiz with more than 100 points. As you can see, I have an exam with 112 but if I open: ...
0
votes
0answers
11 views

Book module save issues

I am currently using book module to make a 'wiki' type document. Each time I try to save the document it reloops to a blank form again and no changes are saved. Continuing to try to save the ...
1
vote
1answer
21 views

Set image format of field_view_field image field

I'm using a function to place an image from a user field into nodes that the user creates. The display is set to thumbnail in default, user account and tokens, but it shows up as original in the node. ...
0
votes
0answers
24 views

Drupal 7 Forbidden access and save issues

I am working on a Drupal 7 website. I am not a coder! I have been using the book module recently and since using it I have begun to get errors while saving. When I go to create a new child page, ...
-1
votes
2answers
20 views

Error message - Trying to get property of non-object

i'm getting a notice Error message - Trying to get property of non-object here's my function: <?php function func() { $node = menu_get_object(); global $user; if ...
1
vote
2answers
17 views

Looking for the right modules for user group management [closed]

I am creating a site that works similarly to Groupon with D7, and I am having trouble finding the right modules to deliver the functionality. I need to create different user groups: buyer and ...
0
votes
1answer
17 views

Getting the field of a user based on uid or name

I'm trying to display some custom user fields of an author, of a content type's nodes. The only fields in $node that relate to the author seem to be $node->name and $node->uid. I tried this in ...
0
votes
1answer
14 views

How to use field_attach_update for users

I have read this post fast saving single field value about how to use field_attach_update to save nodes without the overhead of node_save(). I would like to use this for users (which it should work ...
2
votes
2answers
21 views

does backup and migrate include the users and login info

I'm migrating from the test environment to the live environment, both of which have a separate set of users/logins/privileges. How do I not overwrite this information when migrating from one site to ...
1
vote
5answers
119 views

How to get the $form_state in hook form submit?

I need to create a node when a comment is submitted in nodes. There are two content types image and memory and I need to get node ID of the node that a user is inserting comment in it. Here is my ...
0
votes
0answers
12 views

Drupal Rules “User has been removed from group” [Organic Group], Action “Remove User Role” , resubscribes user to group

I am currently trying to figure out why the rule "User has been removed from group" in Organic groups , followed by the action "Remove User Role" from my site resubscribes as though they just ...
0
votes
2answers
25 views

Views question with user reference

I have a content type courses with course name, instructor, coordinator and ta fields. Instructor and coordinator are of type user_reference. My data looks like below course instructor ...
0
votes
2answers
37 views

How to get the user ID from the last profile page?

So, I have a user's profile page where there is a Message button. When I click the message button it should redirect me to a custom page with a form in it. How can I get the user ID from the profile ...
0
votes
2answers
33 views

Create view block on user account page which lists nodes with same taxonomy term as that of one on the users account [duplicate]

So I have an event content type which has a type of game, wow, starcraft, counter strike, etc. When this event is created they tick which type of game it is for. When a user registers they tick which ...
0
votes
2answers
20 views

Tag users in a content field to create user-specific content listings

I'm newish to drupal and it seems like this should be somewhat straightforward or at least possible with views and/or taxonomy. I have an embedded video content type. I want to tag multiple users in ...
1
vote
1answer
45 views

Is there a way to check user permissions in javascript?

Is there a way to check user permissions in javascript? I have a segment of code that I only want visible if the user has the proper permissions, and I think it would be easiest way to check the ...
1
vote
4answers
71 views

How to block an unwanted user from registering accounts?

I am using Drupal 7 and use the User verification module for blocking (prohibiting) unwanted users in our site. But user is creating in every second. How can I stop that from happening? Is it ...
3
votes
2answers
52 views

How to login-redirect users to their profile page on specific days only?

By using Rules Once per Day module, logged in user would be redirected to profile page on specific day. My issue is, every time when user logged in to the site, the user is redirected to profile page. ...
0
votes
1answer
26 views

User module functions undefined in custom module

I am attempting to use the user_password() and user_save() functions from user.module in my custom module file, but I only receive the following: Fatal error: Call to undefined function ...
0
votes
1answer
48 views

Notice: Undefined offset: 14 in user_node_load() (line 3682 of modules/user/user.module)

I'm getting the following error: Notice: Undefined offset: 14 in user_node_load() (line 3682 of modules/user/user.module). What fields in the db do I need to alter to fix this? I've tried "users" ...
0
votes
1answer
19 views

Update field data added in user form using a hook?

I've added three fields in user form. User code User name User ID. I want to add this field data into the database. My question is, in which hook, i should write the logic of manipulating and ...
0
votes
1answer
17 views

Get User ID from a Profile Page to use in a View

I'm creating Views blocks on profile pages such as drupalsite.com/users/testuser. I need to display blocks such as "Test User's Posts" and "Test User's comments." What is the best way to get the User ...
1
vote
4answers
30 views

Rule iteration check

I am currently making a site that will implement a system of volume licenses and I am using a system of checking user registration info to check for certain rules. My rule works like this i. On the ...
0
votes
2answers
31 views

Hide hybridauth tab from user page

I want to hide hybridauth tab in user page. I have used $items['user/%user/hybridauth']['access callback'] = FALSE; in hook_menu_alter() which gives the result, but hides for all user. In my case I ...
1
vote
1answer
14 views

Adding a field with an automatic link in a content type from entity registration module

I'm using Drupal to create a website which allows an "employer_role" user to create a "Post Job" content type that has a field type of registration from entity registration module and inside that ...