C?t?lin Dogaru
Forum Replies Created
-
Forum: Plugins
In reply to: [Avatar Manager] Multisite unique avatar networkwideHello Doug,
This is how it works, user profiles are shared across the network. Updating your profile photo on one site will reflect the changes on all network sites you belong to. Please let me know if there’s anything more I can do to help.
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] Avatar Manager needs your support too!I also like Arabian cuisine, a lot.
Forum: Plugins
In reply to: [Avatar Manager] Avatar the same thing as photo image?Hey ronchicago,
Avatars can be at any size, the plugin manages uploaded files to make them available at the requested size. So yes, you can use images 400x400px larger. Please let me know if there’s anything more that I can do to help.
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] I've translated plugin to Spanish Mexican Language.Added in v1.6.1.
Forum: Plugins
In reply to: [Avatar Manager] Uploaded Avatars keep disappearing…Fixed in v1.6.1.
Forum: Plugins
In reply to: [Avatar Manager] Choose Image button issueFixed in v1.6.1.
Forum: Plugins
In reply to: [Avatar Manager] Choose Image from Media Library button not workingFixed in v1.6.1.
Forum: Plugins
In reply to: [Avatar Manager] Choose Image from Media Library button not workingHey,
Spot on, rblythe! It seems I forgot to update the minified script when I bundled the release. Going to fix it as soon as possible. Thanks for getting involved!
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] Choose Image from Media Library button not workingHey commmgr,
I’ll look into it next week, hopefully. It was already reported several times. Thanks for getting involved!
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] MultiSite Settings to Restrict Uploads?Hi dplum,
Avatar Manager uses the WordPress pre-defined roles and capabilities. Any user with the
upload_files
capability (allows access to add new media) is able to upload an avatar image (which is stored as a media item). To allow/restrict a role to upload files (including avatars) you can add/remove theupload_files
capability from that role. The Anyone can upload option simply bypasses this verification allowing users like subscribers and contributors to upload an avatar image (roles which doesn’t have theupload_files
capability by default). You can manage roles and capabilities programmatically or you can use a plugin like User Role Editor. Please let me know if this helps.Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] Trying to get the avatar urlHey Droapd,
On it, sorry for delay. I would like to update the code on the dev branch. I’ll let you know when I have something.
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] Trying to get the avatar urlCan you provide a link or a code sample? If you need an
img
element with the avatar, theget_avatar()
function should be what you are looking for. If you only need the avatar url, please wait for the next release when the plugin will also supportget_avatar_url()
.Forum: Plugins
In reply to: [Avatar Manager] Trying to get the avatar urlHey,
You can retrieve the avatar for a user who provided a user ID or email address by using the WordPress built-in
get_avatar()
function.<?php echo get_avatar( $id_or_email, $size, $default, $alt, $args ); ?>
You can also retrieve the avatar URL by calling the
get_avatar_url()
function. However, this was added in WordPress 4.2.0 and it’s not yet handled by Avatar Manager, returning only the Gravatar (this will change with the next release).Please let me know if this helps (providing the right parameters,
get_avatar()
should return animg
element for the user’s avatar orfalse
on failure).Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] Alternative Image LocationHi brough,
Avatar Manager relies on WordPress to handle file uploads. Changing upload image location should be possible through
upload_dir
filter. I’ll look into it for the next release (maintaing backward compatibility is also a concern).As mentioned by some unexpected guests some plugins already provide this feature, but they are handling file uploads themselves which is a different case.
Jared, what’s this?? Please Beee gone :))
Best,
C?t?linForum: Plugins
In reply to: [Avatar Manager] The php code does not work in header.php fileHi klmnweb,
This is how
get_the_author_meta
works. If used within The Loop, the user ID doesn’t need to be specified, it defaults to the current post author. A user ID must be specified if used outside The Loop (which is obviously your case). Please let me know if this helps.Best,
C?t?lin