Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 32094

One of the most important entities Drupal uses is the user entity.

0
votes
Use drush upwd to reset your password drush upwd --password="givememypasswordback" "admin" If you don't have drush installed do it via MySQL. Here is a related article.
answered Aug 20 '16 by mchar
2
votes
you will be able to find all users that have assigned with a role or more, and possibly an answer to your question. I would kindly suggest you, since those roles are appeared again and again, to search any by chance or forgotten user_save implementation within your code. Hope this help! …
answered Mar 15 '16 by mchar
1
vote
I propose you to have a look at this: hook_user_login, it fires exact on user log-in. A sample code is provided on its documentation page ready to be configured and used.
answered Mar 14 '16 by mchar
0
votes
You have to utilize that reference field of yours. I'll try to give you a rough idea: /** * Implements hook_user_view(). */ function my_module_user_view($account, $view_mode, $langcode) { $my_f …
answered Feb 25 '16 by mchar
0
votes
related post: How to logout all active users? suggestes to empty the sessions table, well while you only want for one selected user, do a join if needed and specify the $uid …
answered Nov 2 '16 by mchar
1
vote
You can equally use either user_save() or field_attach_update(). // Load the user's account. global $user; $account = user_load($user->uid); $edit = $account->field_my_custom_field[LANGUAGE_NONE][0] …
answered Aug 18 '16 by mchar
0
votes
You may implement this: hook_privatemsg_message_presave_alter. Change the message before it is stored. The $message variable contains the message's body (as well as much more parameters) ready t …
answered Jan 30 '16 by mchar
0
votes
You can hide the administrator role (and its users) for users with not sufficient permissions by doing this: 1) I would suggest you to install the admin views module, in case you haven't done … = 'uid'; $join->left_table = 'users'; $join->left_field = 'uid'; $join->type = 'INNER'; $join->adjusted = TRUE; $query->add_relationship('users_roles', $join, 'uid'); // Hide …
answered Jun 6 '16 by mchar