Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

-1
votes
1answer
10 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 ...
0
votes
2answers
9 views

Looking for the right modules for user group management

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
10 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
8 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
15 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
92 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
8 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
17 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
29 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
20 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
18 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 ...
0
votes
1answer
17 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
63 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 ...
1
vote
2answers
25 views

Redirect to profile page every time after logged in

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
22 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
38 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
16 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
16 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
28 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
26 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 ...
0
votes
0answers
20 views

Persistent login using services

I am currently using services module and I have an android app. I am logging in using the login api, and I can go all the things provided by services. However after a few hours or few days, I can no ...
3
votes
1answer
39 views

Drupal modules to help with user story

Hey my team is planning on moving our current project to Drupal and we're looking for what modules would help with our current functionalities. Here's a user story for more insight: "User 1 has an ...
0
votes
2answers
37 views

Drupal website was hacked? [closed]

What is the hack that can cause my Drual website to be blank, without showing any message error.. Not be able even I enter .../users, -> blank. It was absolutely brilliantly showing fine. If you want ...
0
votes
1answer
28 views

How to display the View according to the logged user?

I'm Creating a view of a specific content type called "requests (Demande)" , Each request is assigned to a specific user (I have two users : "Salaktarus" and "Zaferro") , what I want to know is how to ...
1
vote
0answers
20 views

How can I add a “group member” field to my Organic Group content type?

I want to create a content type called “task” that includes a field that is a select list of all members in the group. The person creating the content should be able to select the group member that ...
1
vote
1answer
21 views

User permissions on a costum content type

I've created a custom content type with fields (it's like a form), I've already added permission to logged users to use my form(content type) but I want to hide some checkboxes on this form only when ...
0
votes
1answer
23 views

Sending emails in user migration

I have some troubles with D7 migrate module and sending emails. I made a migrate class to import users via CSV files. The import works well, all my users are created. But I need to send emails when ...
0
votes
0answers
36 views

Let users use my module

I've just created a module that concerns books (add book, edit books..ect), of course the admin can use it, but i want to permit users that are connected to use it as well(but with condition on uid) : ...
0
votes
0answers
14 views

Show filtered list of links based on user profile?

My end goal is to provide users access to digital files they have purchased. This is for a magazine, so there's 1 per month, with an archive going back for years. I have been able to import user ...
0
votes
0answers
25 views

How to integrate Ajax drupal chat in drupal commons (Only for Trusted Contacts)

I working in drupal Ajax drupal chat in drupal commons and its working fine.But i need to integrate this only between trusted contacts user.How can i achieve this or else need to get any other module ...
1
vote
3answers
35 views

share users or nodes across multiple sites without sharing database

I have one master drupal site that offers basic functionality for users.(it's a shop); and we have some other sites, for example one news site, one marketplace, one job finding service etc. I want ...
0
votes
0answers
19 views

Logged off users still showing as “Online” on views, but fine on Who's Online module

I am using a view to show which users of the website are online or offline. I am using user:online field and global PHP field combination with views PHP. Everything works perfectly. However, when a ...
0
votes
0answers
18 views

Admin user/1 cannot create new users - “Registration Denied”

There's nothing in the log and no additional details provided, it just says "Registration denied." This is user/1, but I checked all permissions and they're all enabled. This is a production site ...
3
votes
3answers
77 views

Massive spam users and spam entries despite triple layer protection

going a little nuts here the entire point of my site resides on the idea of people registering for the site to contribute content. But I get spam accounts created at least once every minute. Im mass ...
1
vote
3answers
29 views

Authenticated users must be able to flag webform submissions

Authenticated users must be able to flag webform submissions. How can I make this work?
0
votes
1answer
13 views

Add user edit fields to pane

I have a pane on a Dashboard page that's supposed to be an accordion. It's supposed to update user information. I still haven't figured out how can I add user fields inside this pane, for example: ...
0
votes
1answer
8 views

How to import user profiles in Drupal commerce?

I have users with their profiles in CVS file, state, street, phone...etc I tried using feeds to import this into commerce, but it does not work. THe profiles are not attached to user nodes. I did 2 ...
0
votes
1answer
32 views

How to associate User data with custom module?

I'm thinking about a custom module where I need to save additional data (like user logs from other software, customer data, etc.) that'd go into a custom module user table. How would I associate that ...
0
votes
2answers
35 views

How to redirect a newly registered user to a custom URL after signing up?

By default after a new user signs up, a redirect to the home page happens. But my requirement is I want to redirect to after login another page like node/35. In this node/35 I then want to display ...
1
vote
1answer
37 views

how to Add new Role employer also display in url like user/employer? [closed]

the default roles anonymous user, authenticated user, administrator and i want to add new role employer i did it people -> permissions -> roles -> add roles. i want to create new sign up web form ...
0
votes
3answers
14 views

How can I prevent user pages being created for users with a specific role?

I have various users on a Drupal site. Internally, I differentiate between users by user role (e.g. 'member', 'non-member'). Is it possible that if a user has a certain user role, that I prevent ...
0
votes
1answer
13 views

How to export user's content via features to new site in Drupal 7

Can anyone tell me how to export contents of users through some contributed modules?? like features,because I have a site which has 100 users,all contents are migrating through features but user's ...
0
votes
0answers
6 views

User click Edit profile, in this time I give a role to user, but when he click save the role get off? What a bug?

This bug have a place in a very every new user. The profile has many fields divided in Horizontal tabs - so they edit own profile many times. In the same time Admin gives role to a new user - role ...
-1
votes
2answers
24 views

How to assign the user login block to header region [duplicate]

I created a user and I logged in as the user by visiting xxx.com/user. I just visited xxx.com/user. I see the user name but I do not see any log out button. I am not sure how I logout. Thanks. D
0
votes
2answers
45 views

How to display user name in header region

I created a new user. When he logs in, he wants to see his user name in the header region. I can create a block for header but I am not sure how to create a block that displays the username of the ...
0
votes
2answers
37 views

Redirect after login for specific role on specific day using Rule

I want to create a rule for specific user to redirect to his profile page on specific day like Monday and Thursday. For this, I used the Rules module, together with the Rules Once per Day module. If ...
0
votes
0answers
13 views

Salesforce module tries to create dummy users, but required fields missing

We have recently enabled Salesforce integration between Users and Salesforce Contacts on our (Drupal 6) site. When cron runs, it seems to fail every time. I'm not sure if this is because of a Drupal ...
0
votes
0answers
15 views

How to render fields from User profile using user reference?

I have content type Team in which user reference is used. Now I need to get the user profile fields based on the user reference in the content type. Example - In team content type i am adding 1 user ...
0
votes
0answers
19 views

how to hidden a taxonomy menu item use hook?

I have built a web site which has a content type call product and product taxonomy product taxonomy has sat a boolin function makes user select to show up for anonymous user or not If the user ...