I faced a problem where the sympton was the avatars didn't show up in the profile's users. After investigating and thx to other bug I reliazed that the piece of code

db_result(db_query("SELECT count(*) FROM {avatar_selection} avs LEFT JOIN {users} u ON u.picture = concat('%s/', avs.avatar) LEFT JOIN {avatar_selection_roles} avsr ON avs.aid = avsr.aid WHERE u.picture IS NULL AND avsr.rid IS NULL OR avsr.rid IN (". db_placeholders($user_roles) .") ", $dir, $user_roles));

And more specifically
IN (". db_placeholders($user_roles) .")

is replaced by the value 1, as the code number for the authentified users.

But the Role users for Authentified users is number 2.

I tested my theory just allowing the avatars be used by all roles (anonymous and authentified) and now works

In other words, in my Drupal 6.4 + Postgresql and avatar_selection 1.5 , with only roles per default (anonymous and authetified) , if I set the avatars to be seen only by authentified users, they don't appear neither for users nor for the admin user despite any config.

Comments

stella’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry for the delay in responding. I've just tested this against the latest dev version and I can't reproduce the issue. Is it still happening for you?

stella’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Marking as won't fix as no more information forthcoming. Please feel free to reopen if it's still an issue with the latest dev version.

cheers,
Stella