Fork me on GitHub

[SOLVED] Avatar 2.1 module - curent avatar remain empty  Bottom

  • When I upload an avatar the module give the ok, but current avatar remain empty.

    Can anyone tell me the name of the table that the Avatar module sould create in the database.
    Or it create only some values in an existing table (maybe pn_user or pn_profile)?
    Where can I find these information?

    I would like to create it by myself because it seems that the module doesn't create it.

    Profile 1.2 is ok but I cant store the image, i select it but remain empty.
    And is not the proble related to the other infrmation, I can change an store my real name, job, msn, etc...

    (maybe avatar module works only with myProfile ? )



    edited by: lordevol, Apr 23, 2009 - 04:58 AM
  • according to the pninit.php file the module doesn't create a table. It just uses a few modvars.
  • Thank you for the answer,
    how can I debug this modvars?

    Does this module insert a field in the Profile&func=viewmembers ?
  • ...when I upload an avatar zikula says: user avatar xxxxx now is: here shows the right image

    but under this, "Current Avatar" remain empty and says "no avatar" :(



    edited by: lordevol, Apr 23, 2009 - 04:48 AM
  • Hi friends.

    Are you using profile module? or are you using myProfile?
    I belive that myProfile dont work with Avatar module, but if you use profile module, you must to do this.
    Entry in the Configuration.
    In the "module to use for users profile admin", you must select "profile".

    Try it now.

    Good look.

    PD: Sorry for my english.
  • Thanks for the answer, I'm using Profile 1.2 (not myProfile), and it's correctly selected in the preferences, it works fine.

    I try to install a fresh copy of zikual 1.1.1 and it works ok (after selecting profile in the settings) :(
    So it's something in my database after all the upgrade?
    I started from postnuke .764 => zikula 1.0 => zikula 1.03 => zikula 1.1.1

    Some error in some upgrade script?

    How can I debug this, I don't know how to proceed :(
  • krator

    Hi friends.

    Are you using profile module? or are you using myProfile?
    I belive that myProfile dont work with Avatar module

    [...]


    I was just looking for an answer to this issue, and then this thread popped in front of my eyes.

    If Avatar 2.1 doesn't work with myProfile, what do you use on myProfile to define a users's Avatar? I even tried "UserPictures" that works with myProfile but so far I haven't been able to store users's avatars icon_frown .

    (I really wish "Avatar" worked with "myProfile" since both are really really nice modules...
  • I solved my problem after one day with my head inside the database.
    I create a new zikula installation, and then I looked for the differences between my database and the "clean" one.
    The problem was that in the table: "pn_user_property" of the fresh install there was "_YOURAVATAR" propriety that wasn't on my dbase!

    I copy that line and everything worked fine :)

    I think that I erased that field long time ago (avatar wasn't on my plain) so it's a bug of the avatar module that does not check for that propriety during initialization (and maybe create it), right?

    Where do have I to create the ticket?

    Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?



    edited by: lordevol, Apr 23, 2009 - 05:50 PM
  • Quote

    I solved my problem after one day with my head inside the database.
    I create a new zikula installation, and then I looked for the differences between my database and the "clean" one.
    The problem was that in the table: "pn_user_property" of the fresh install there was "_YOURAVATAR" propriety that wasn't on my dbase!

    I copy that line and everything worked fine :)


    I am glad you fixed your problem, I am still trying to figure out why myProfile doesn't work with Avatar, but not luck so far icon_frown
  • lordevol

    I solved my problem

    AWESOME! nice work! icon_wink

    lordevol

    Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?

    That's funny because my users asked the same question!
  • lordevol

    Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?

    There's a permission rule that must be set to hide other's avatars and it is:
    All Groups | Avatar:: | pers:.*: | NONE

    It's in the module docs icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Thank you, I'm sorry, sometimes I loose my faith! :)
  • 0 users

This list is based on users active over the last 60 minutes.