The dropdown list of users shows only 2 users instead of the 6 total users that I have accounts for in a Drupal site.
Have I missed something in setting up messenger? All users have their accounts configured to permit the "user contact form".

Comments

he_who_shall_not_be_named’s picture

Verify if this the module you use. Before I requested bug reports for an other messenger module. :)

The dropdown list shows only the active users and the messenger has nothing to do with the contact module.

Anonymous’s picture

Yes, this is the module I'm using and the version is the same.
I didn't think that the contact form had anything to do with it, but I was checking just to be sure.

Is there a detailed information file that I can download - a manual that explains configurations etc.?

Anonymous’s picture

Also, all of my 7 users are "active" but only a few tend to show up.

he_who_shall_not_be_named’s picture

There is nothing to configure, except the user dropdown to 'Autocomplete text field for the users list' (admin/settings/messenger).

Verify if you have caching enabled on blocks. If so, transform this request to a bug report.

Anonymous’s picture

The Block Cache is disabled and is grayed out. Caching is enabled for the site and set to Normal.

he_who_shall_not_be_named’s picture

The page caching could be a problem. A fix will be submitted soon.

he_who_shall_not_be_named’s picture

Category: support » bug

Fixed in 6.x-0.5. See if it works.

Anonymous’s picture

I downloaded and installed the latest version 6.x-0.5 but it made no difference.
The original problem with not all users showing up still exists.
I have a total of 8 users with accounts and only 4 of them appear in the drop-down list for messenger.

All users were off-line at the time, except for the administrator account.

he_who_shall_not_be_named’s picture

I'm investigating the problem. Disable the block caching and see if your users show.

he_who_shall_not_be_named’s picture

The new messenger.(6.x=0.6) install contains an update script. Run the database update and you messenger block must work. tested on one of my production site and worked.

See also http://drupal.org/node/235673

Anonymous’s picture

I've downloaded v6.x-0.6 and installed it.
The update script ran successfully. However, the problem still exists.
I currently have 10 active users in the forum and only 5 show up.
No-one except me (admin) was on-line when I did the test so everyone else was off-line.
The block cache is disabled and grayed out.

The messenger block DOES show correctly - it always has appeared. The dropdown just doesn't contain all the accounts that are active.

he_who_shall_not_be_named’s picture

Please run the following query from phpmyadmin (or something else). What it returns?

SELECT
      uid,
      name
    FROM
      users
    WHERE
      uid != 0
      AND login != 0
Anonymous’s picture

The query displays a total of 6 user accounts, which are the same accounts that the drop-down in messenger is displaying. I have a total of 11 accounts now. Also, 4 of the accounts that are not appearing in the drop-down have never logged in yet.

I suspect that may be part of the problem here. If a user has an account and has never logged in, is the account active?

I changed your SQL slightly so that it searches for login=0 and found the other four accounts that are not displaying.
The strange thing here is that if I review the users listing only 2 accounts are "never" logged in. Two of the accounts that do not display in the messenger drop-down HAVE already logged in. So there's some inconsistency here, but I believe this is the problem.

How do I fix this?

he_who_shall_not_be_named’s picture

Why do you want to fix it? A never logged in user is inactive. They could be spammers (names as apam keywords) or users whom never log in.

Anonymous’s picture

In this case I know the people who registered and haven't logged in yet, so spam isn't the issue - yet.
However, if you reflect back on my previous message you'll notice that 2 of the 4 people who appeared when I did the query HAD logged in. But, for some reason their records didn't appear in the query.

I suppose I can just ask them to log in again and see if this fixes the problem.

Let's leave it for now and if I continue having problems, I'll re-appear.

Thank you for your help.

he_who_shall_not_be_named’s picture

A spam user name could be: 'visit_cool_site_com' :).

Verify user's row in the users table. uid (?) and login.

he_who_shall_not_be_named’s picture

Status: Active » Closed (fixed)

Closed. Open it if you have more questions.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 147003)