#23 closed defect (bug) (no action required)
xprofile_get_avatar Issues
Reported by: | trent | Owned by: | apeatling |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | 1.0 | |
Component: | Keywords: | ||
Cc: |
Description
While it is great that the default avatar system can "override" the existing gravatar system, I noticed that it worked, but didn't pull the correct avatars. Stuck on default "larger" image with the following php warnings:
PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant XPROFILE_AVATAR_V48_W in /var/www/wp-content/mu-plugins/bp-xprofile/bp-xprofile-avatars.php on line 37
I was also wondering if the following functionality could be added on this:
1) Check if the user has an avatar on system, if so serve it (same size as default avatars served now by gravatar)
2) If the user doesn't have an avatar on system, serve the gravatar avatar.
3) If the user doesn't have an gravatar, serve either their default or the system default.
Just thinking this will allow users to get the "best of all worlds". Now that WP 2.5.x trunk has identicons, etc, this will eventually be rolled into WPMU as well.
Just some thoughts!
We'd like to provide the ability to use a gravatar instead, this will come in a later version of the extended profiles component.