Topics related to users, their user profiles, etc.

learn more… | top users | synonyms (1)

1
vote
1answer
165 views

How to force user to change password?

I am using Force password change module to give a facility to user to reset the password after their first login. So far, I have installed the module and after creating the user, when I click on edit ...
1
vote
2answers
341 views

Users Report Module?

We want to know how many users registered to our website as a report. I'm looking for a module (or a solution in D7) that allows me to give me a report of how many user have register to my website. ...
1
vote
3answers
62 views

Redirect users with specified roles to specified term pages

I want to redirect users to one term according their role; for example, if users have the worker role, redirect them to term/8. How can I do this?
1
vote
1answer
49 views

Multiple registration phases

I'm having trouble figuring out how to have a registration in different phases. This is what I would like to do: A user registers with a name and an email or register with facebook. He will receive ...
1
vote
1answer
590 views

Display content with Taxonomy on User and Content matching

I've got a specific content type. One field is a term reference field called "blog subject" in which a content author tags the node. Ok. Moving on to the end user. I added the same term reference ...
1
vote
1answer
658 views

200 OK on every page after updating the content

i have uploaded my localhost site to online, my site was working ok at localhost, but after uploading online whenever im upadating any content it shows me this error message on every page.Please ...
1
vote
1answer
598 views

Assign field permission to individual users?

Here the idea is to avoid defining dozens of roles to account for delicate permission requirements of users. Say, on a certain node that has 100 fields, a webmaster may eventually need to define ...
1
vote
1answer
266 views

Redirect anonymous users to the register page

Is it possible to redirect anonymous user to user/register page? How can I do that?
1
vote
3answers
1k views

Limit account applicants with certain email addresses

Hi I am working on a website for a student organization of my college. In order to prevent spams, I have been looking for ways to limit account applicants only with email addresses from the college ...
0
votes
2answers
31 views

How to update custom user field on form submit

I want to create a basic page that has only one of my custom user account fields listed, and available to edit. For example, I have a custom user account field: field_companyname Rather then ...
0
votes
1answer
224 views

Password Gets Reset when executing user_save

I have a function that sets a user to confirmed after they login to my site for the first time. However, whenever I run this function and I log out and try to log back in the password doesn't work ...
0
votes
2answers
191 views

How can we edit www.example.com/user page?

The user page doesn't look good. I want to edit it, but (If I am right) that is a default page. I am not able to find where to edit it. How can I edit the user page?
0
votes
2answers
133 views

Assign text formats per user roles

I tried to program the logic where friends_html text format would apply to nodes saved by users with the new 'friends' role, while friends_somik_my_html text format would apply to nodes saved by all ...
0
votes
1answer
359 views

How to create a user object of a custom form and add a user in drupal 7?

i am new to drupal ,basically wanted to create a user object for my custom form and add a user. This is my custom form function registerme_newform($form, &$form_state) { $form = array(); ...
2
votes
4answers
3k views

when mouseover on username display popup views

How to display popup ajax information of user when user mouseover on username or picture of users with views. i want fetch information from profile user with ajax no hidden. such as Facebook or ...
23
votes
3answers
13k views

Is there a function to get the current user object that avoids accessing the global variable?

I've always gone with this global $user;. However, I seem to remember seeing something in a contributed module that returned the current user object without using the global $user. Does such a ...
4
votes
2answers
2k views

How can I quickly re-save all users on my site?

Very similar to this question except I need to save users, not nodes. Use case: I added a field (single boolean) to a feature so that the field is added to user profiles. I then pushed the feature ...
5
votes
2answers
1k views

Why do I have to enter a recipient after selecting users in the VBO send emails operation?

I'm using VBO module in D7. I created a table view listing users by some filter criteria. I want to send a mass mail to selected users. I'm using the VBO field bulk operations: user and selected the ...
2
votes
3answers
3k views

How to modify user messages without hacking core user module?

When "themeing" modules, especially core modules, as far as I know it is a good idea to take the module specific tpl.php files, duplicate the ones you need, and modify them once they're in the ...
8
votes
2answers
1k views

How to allow special character in username?

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

Is it possible to allow duplicate usernames ?

I'm working on a Community Website and 99% of the time a new user has an unique username. But for my requirement, it is required to allow duplicate usernames. Is there a way to change drupal default ...
5
votes
1answer
973 views

Display the user edit-picture form in custom block in Drupal 7

I am trying to customize the user edit page in Drupal7 using Panels for user-edit page. How can i display the user edit-picture form in any specific region in Drupal 7. In my panels, i added a custom ...
5
votes
2answers
2k views

How can I disallow spaces in usernames?

Drupal allows spaces in usernames, is there an easy way to stop this? Also, where is the documentation on the username specs? What are the min/max lengths and which characters are allowed?
3
votes
4answers
574 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 ...
3
votes
5answers
1k views

How can I assign users different profile pictures upon registration based on gender?

My setup: I am on Drupal 7 but not using the default user profile pictures; instead, I have a custom image field, profile_picture, which is attached to the user profile. When users register, they ...
3
votes
2answers
357 views

How to allow a role to add users without giving them a password?

I have a situation where I would like a specific user role be able to add users without assigning them a password but I can't seem to find a way to do this. Has anyone done this before? I feel like ...
3
votes
4answers
3k views

User picture and name in user menu

I would like to achieve what Acquia did on https://dev.twitter.com/. When you sign in, you can see the user picture and the user name in the right end of the menu bar and that is what I need. I made ...
3
votes
3answers
241 views

How to approve comments from a user with previously approved comments

WordPress has a useful option for comment moderation in its Discussion Settings panel called "Before a comment appears: Comment author must have a previously approved comment". How can one ...
3
votes
3answers
2k views

Multiple registration forms

I have multiple user role and different registration forms for each role. It means that for each registration form, there are different fields. I when a user select her role, the registration form ...
2
votes
2answers
1k views

Force drupal 7 to place “www” in front of urls

there is a problem when a use logs in after typing "domain.com", clicks on a internal link that leads to "www.domain.com/somthing" and they are no longer logged in until they navigate to "domain.com" ...
2
votes
1answer
1k views

How to set Drush sql-sync not to clone users between @dev and @staging?

As I wrote in my previous question, I am using the following drush commands to synchronize development and staging environments. drush rsync @dev @staging drush sql-sync @dev @staging How to set ...
1
vote
3answers
57 views

Show step-by-step dialogs for helping user with using the site

I built an app with Drupal, and I would like to add step-by-step dialogs to help users learn how to use the app. I found some boostrap plugins, but I would like to know if there is already a Drupal ...
0
votes
0answers
18 views

Is there a way to test or spoof different user access? [duplicate]

Possible Duplicate: Multi-user/role testing, best practices My current style in testing different user access is opening a different browser or opening a private session and logging into a ...
0
votes
1answer
464 views

Can't show custom user field on nodes

This is a follow up question to: How do I show user attributes on articles? I still can't get the "Twitter URL" field to show up on articles, and got tired of reading through the Fields API docs; I ...
6
votes
4answers
184 views

How do I limit the number of nodes posted by a user to an entity referenced node?

I have created a content-type with the name "Reviews". I am referencing another content-type "Books" using the Entity Reference module. How do limited the number of reviews posted per book to 1 per ...
4
votes
4answers
1k views

Why am I getting a JSON dump when saving a node?

I've read about this issue elsewhere and the primary culprit has been Views and the jQuery Update module...particularly having jQuery set to anything but v1.5. I'm getting the JSON dump when saving a ...
4
votes
5answers
10k views

How to delete 'blocked' users in bulk?

There are a spammer(s) out there constantly creating accounts on my site. The accounts are 'blocked' by default so they do not pose a problem, nor does the spammer gain anything from them. Still, I ...
4
votes
3answers
3k views

How to programmatically list users with a certain role?

What is the preferred way of programmatically generating a list of users with a certain role? (I know how to do it with a database query, but surely there's a higher-level method.)
4
votes
3answers
3k views

User logout when browser closes

Is there a way to automatically log out users when they close a browser? I've tried to set (settings.php) ini_set('session.gc_maxlifetime', 0); ini_set('session.cookie_lifetime', 0); but this ...
4
votes
2answers
4k views

How to change the size of the avatar in Drupal 7?

When i visualize user avatar in Drupal 7 using this code: $account = user_load(2); print theme('user_picture', array('account' => $account)); The following image is generated: <a ...
3
votes
4answers
49 views

How to only allow a user to edit his/her own users? [on hold]

For instance, my site contains two roles: employer. company. Every company has to be able to add, edit and delete there own employees. As you may understand, companies should not be able to edit ...
3
votes
3answers
68 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 ...
3
votes
3answers
2k views

Restrict forum access based on user (user list)

I need to restrict access to forums so that only selected users can access an individual forum. (The users should apply for a forum and a moderator should decide if the user should be allowed to ...
3
votes
2answers
485 views

Should Drupal 6 be considered insecure?

After reading the post about linkedin on IT security and this issue I would think that having a default Drupal 6 installation without, for example, the phpass module should be considered quite ...
2
votes
3answers
226 views

How to export users with passwords?

How to export users with passwords? The Users export module cannot help, it export without passwords.
2
votes
1answer
189 views

Reset Password Form does not let user enter their new password

An regular registered user reset a password An email with one-time link will sent to the user Clicking the link will lead the user to the change password form Now, the drupal site warn the user the ...
2
votes
2answers
198 views

create a custom form based on user fields

I created new menu item witch I want to insert a custom form to edit some user fields : $items['user/%user/edit-custom'] = array( 'title' => 'Knowladge', 'page callback' => ...
2
votes
1answer
140 views

Programmatically create user in another Drupal site

How can I programmatically create user in another Drupal site? The setup: multisite installation, userbase should be partially shared. Both websites have DB credentials setup in the settings.php file ...
2
votes
2answers
7k 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
4answers
1k views

Allow users to edit the list of CCK allowed values for “select list”

I have a CCK field ("City") that is a select list, and has manually entered cities in the allowed values list. I added these cities (as the administrator of the website) but I would like to hand ...