Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

0
votes
3answers
96 views

Give some users (e.g., teachers) access to nodes created by a unique subset of other users (that teacher's students)

My site has roles for administrators, students, and teachers. Students create nodes, and each student has exactly one teacher. Teachers should be able to view all content created by their students, ...
0
votes
1answer
125 views

How can I make a link from content profile node to it's user account page?

I'm trying to find out how to make a direct link from content profile node view/edit page to it's account page. As an admin role when I check somebody's profile node I sometimes also need to check ...
6
votes
2answers
4k views

User activity module

Is there a module that can track and display the user's activities such as posts comments page posts within my Drupal installation? I've found some modules that track the users' activites all ...
5
votes
1answer
465 views

How to allow special character in username?

Is there any way to allow the special character in username like "#" and "~"?
5
votes
2answers
920 views

How Can I Make File Downloads Available Only to Authenticated Users?

This seems like such a simple question that I feel like I must be missing something obvious. My situation: I'm using Drupal 7, and have created a content type which allows files to be attached. I am ...
4
votes
3answers
473 views

How to create a view that searches nodes and users at the same time?

I'm creating a custom search to my site using Views. I want to search both nodes and users at the same time, with exposed filters like this: [ ] events [ ] bands [ ] products [x] users But ...
3
votes
2answers
2k views

User Registration to appear in a block

I want the user registration to appear in a block in some other page than home, let's say a page called "Sign up." What I want to achieve is the following.
3
votes
2answers
794 views

fetching user photo or image URL

i am trying to fetch loged in users photo to make a welcome block. i have applied a code which is not working $userphoto = $user->picture; so what to do to fetching user photo or image URL, any ...
3
votes
2answers
128 views

Set the role of users when you're not the administrator user

Is it possible to do this? I can't see any permission I can grant for roles. I want to let a user create other users, but only of a specific role.
2
votes
2answers
104 views

remove 'publishing options' and other settings from node/add

I have a role which allows users to add nodes, viewing the admin form, but I don't want the user to be able to see Is there a way to remove it?
2
votes
2answers
144 views

How to get notified when a user is blocked?

Is there a way to get notified when a user is blocked ? like a hook in user module or ? or there are another way ?
2
votes
1answer
469 views

how to get password as submitted by the user in hook_user_insert?

I have extended the core using hook_user_insert. but when i print the $edit argument inside the function i get password fields as encrypted. Is there any way i can get the non-encrypted value of ...
2
votes
3answers
115 views

Unable to use user fields from the global variable $user

I have created a module where I am declaring $user as global variable in hook_init(). I can access the values of $user->x_field in page.tpl.php. When I try to use $user->x_field in ...
2
votes
2answers
4k views

Where does Drupal 7 store custom user account fields?

I imported 8500+ external users from an external user table using Feeds module successfully. Now, I am trying to add some more attributes to these users (ie. age, gender, ...). I proceeded to create ...
2
votes
1answer
1k views

Set a page to be only viewed by users who are logged in

I have created a page that I would like to be visible only for logged in users and admin.
2
votes
3answers
2k views

Using user_load() and user_save() to change the status of a logged out user

I'm fairly new to Drupal, and I am currently working on a Drupal user registration mechanism that involves authentication on a different website. The flow is as follows: - A user registers on a Drupal ...
1
vote
2answers
428 views

Loading bootstrap.inc in external PHP file in a subdirectory

I'm trying to check if there is a user logged into drupal in a PHP script that resides within a subdirectory of the drupal root. I know that there can be issues with calling the bootstrap anywhere ...
1
vote
1answer
201 views

Reseed next Drupal User ID (UID)

Is it possible to modify the next User ID when creating new users in a Drupal 7 database? As an example, I have a user at UID 100, I then create and immediately two user accounts (101, 102). When I ...
1
vote
1answer
123 views

Spam users and rules

I'm getting swamped by spam users. Can I use rules to automatically delete users that 1) don't have content/comments, 2) have never activated in a few weeks, and 3) have only activated the same day ...
1
vote
1answer
331 views

User or Content Type for employee directory

I am trying to create an employee directory using drupal 7. I have the following fields for each employee profile: • Name • Department • Job Title • Phone • Email • Optional photo • A ...
1
vote
1answer
157 views

How can I link a text field to a user profile such that I can display nodes on the user profile based on that text field

I'm trying to create a relationship from thin air, at least that's how it feels. I have two account roles. Producers and Instructors. I want to be able to reference nodes (events) created by ...
1
vote
2answers
307 views

Drupal API to check a particular user is logged-in, or not

Is there an Drupal API to check whether a user is currently logged in or not, based on the user ID, such as is_user_login($uid)?
1
vote
2answers
3k views

Export Users with custom fields?

I need to set up a semi-regular export of people who have signed up on our website. We're using Drupal 7. I can do a simple export of the Users table, but that doesn't include the additional custom ...
1
vote
1answer
863 views

Set the reply address for the contact form to user's mail address

I have a Drupal 7 site with only few modifications and I have the /contact form enabled for anonymous and registered users, so that they can contact the admin (i.e. me) easily. What irritates me is ...
0
votes
3answers
27 views

Delete useraccount with rules based on value filled during creation of account

Does someone have a solution/description for my wish to delete (fake) user accounts that almost always fill in the (phone-number) string 12345 or 123456. I already have a rule that sends me an ...
0
votes
2answers
76 views

give node author ability to position the image when uploading content

I have a field of type image "COVER IMAGE" in my blog entry content type. The users should have the power to place it wherever they like...top, down,right or left, if not more and re size it. right ...
0
votes
1answer
75 views

Attribute about not allowed on element article at this point

While i checked the markup of my drupal-7 site in http://validator.w3.org/check it shows me a error: error Details: Attribute about not allowed on element article at this point. I have ...
0
votes
1answer
247 views

need to show user firstname and lastname in search result page

I'm very new in drupal, and I have a custom user module where I need to show the user's first name and last name in the search result page. I used some of my code which is throwing a fatal error. ...
0
votes
2answers
313 views

Can't access to password input on registration form

I have a problem. I can't access through module to password field on registration page. function customization_form_user_register_form_alter(&$form, &$form_state, $form_id) { ...
0
votes
2answers
2k views

How to customize registration process in Drupal 7?

I want to customize default registration process in Drupal 7. The registration process includes 3 steps: Show some account types (in a page or form?). For example "personal", "business", ...
0
votes
2answers
739 views

How to create and display user content submission form?

Drupal 7 Could someone point me to the right direction on how to create a submission form through which users can post content? I have a specific content type that I expect the users to fill in while ...
0
votes
1answer
859 views

Add user to OG based on roles?

I am using drupal 7, I want to add users having role 'R' to a OG group 'G'. Is it possible to do that?
0
votes
1answer
46 views

Is there a module/solution for allowing users to block each other on an SNS site?

Is there a module or solution that allows users to block each other on a social networking site? For example, if a user blocks another they will no longer see that user's profile or any content ...