Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where are the avatars ?

  • Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Where are the avatars stored in database ?

    The full image and the small image of my avatar are not the same pictures and i did not find any reference to them in the DB.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    They are not stored in the DB, BuddyPress will look in the avatars folder under the user’s ID in blogs.dir.

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    OK, in my case i have folder 1 in witch are several files for past avatars and more recent.

    Actually i got 2 different pictures (since update to 1.1) who are complety different. It’s impossible to delete them in blog.dir directly and i can’t also delete them when i am on the change avatar page.

    Is there a way to reorder the file names or something like this ?

    Avatar of wpmubp.org
    wpmubp
    Participant

    @takuya

    DO NOT make duplicated posts.

    http://buddypress.org/forums/topic/where-are-the-avatars-1

    If you have mistakenly made two topics, make a note to ask other members not to respond and direct them to right place.

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    socialpreneur i know forum rules… ;-)

    but it’s very difficult to explain clearly a problem in foreign language.

    I’m french, désolé !

    Dont duplicate…

    Dont bump…

    What else as reformulating a question ?

    Blogs.dir is created with the same user/group permissions as that which is running the web server. If it is not your server, you need to talk to your host and ask them do delete blogs.dir (or whatever you want to do).

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    I’m afraid that this would be the only solution DJPaul :-)

    Even if this did not answer my question about 2 different avatars…

    Avatar of zageek
    zageek
    Participant

    @zageek

    Where in the database does BP retrieve the link for the avatar?

    Am I correct to assume that the url to the avatar is somehow stored in the DB as part of the users profile. What is the name of that field?

    Here is my understanding (after looking a the BP code) :

    The avatar link is not in the DB. It’s just a path + the user ID as last directory.

    On my installation it’s /www/wp-content/blogs.dir/3/files/avatars/[ID of the user]

    My personnal issue is that when the user sign-in, the directory is not created at the right place, so user cannot see their avatar then.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.