• Resolved afjsystem

    (@afjsystem)


    hi, i interested with front end avatar upload. And i try to combine with userregistration plugins.

    This statement of yours :

    Avatar Manager is now compatible with themes and plugins that allows front-end profile customizations.

    My Q are :
    Which user meta that Avatar Manager created if the user uploaded their Avatar ?
    So far, i see avatar_manager_avatar_type and avatar_manager_custom_avatar. Only two of these ?

    So if my user upload a file, which user meta that i should connect the file ? My guess is avatar_manager_custom_avatar.

    Please advise..

    http://wordpress.org/plugins/avatar-manager/

Viewing 1 replies (of 1 total)
  • Hi afjsystem,

    Uploading an avatar image generates the avatar_manager_avatar_type and avatar_manager_custom_avatar user meta.

    The avatar_manager_avatar_type user meta contains the type of the avatar being used (custom or gravatar).

    The avatar_manager_custom_avatar user meta stores the attachment id of the uploaded image. The _avatar_manager_custom_avatar, _avatar_manager_custom_avatar_rating and _avatar_manager_is_custom_avatar attachment meta is also created.

    The _avatar_manager_custom_avatar attachment meta stores an array. Each key of the array is an integer representing the available sizes of the avatar image (e.g. 96 for a 96×96 image). A value is a boolean and it’s value is true if the image wasn’t created by the plugin (i.e. an image with the same name and size already exists) and false otherwise.

    The _avatar_manager_custom_avatar_rating attachment meta contains the rating of the custom avatar (G, PG, R or X).

    The _avatar_manager_is_custom_avatar attachment meta stores a boolean value which is true if the attachment is used as an avatar image.

    Best regards,
    Cătălin

Viewing 1 replies (of 1 total)
  • The topic ‘which user meta created by avatar manager’ is closed to new replies.