Daniel Tara
Forum Replies Created
-
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Problem with ACF FrontendIt seems to me like you are not saving the settings after you change the value. You have to click on the “Save Settings” button. The page will refresh automatically and the value will persist as long as you don’t hit the save button again.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Problem with ACF FrontendThis is caused by a bug in the ACF Frontend plugin. In order to allow other avatar plugins, the database value of the “Avatar Field” setting when “- None -” is selected is expected to be
'none'
while it is actually an empty string (''
). Thus, other avatar plugins are never allowed.Fortunately, there is an easy fix for this. Right click on the dropdown select box below “Avatar Field” and select “Inspect Element”. In the element inspector, expand the
<select>
element and for the first<option>
element change the value attribute from empty string to “none”. You can do that by double clicking on the attribute and appending="none"
to it.When first selected it should look like this:
<option value>
After changing it, it should look like this:
<option value="none">
After you’ve done this change, click on “Save Settings”. If you navigate to a user profile page, you should now be able to edit avatars.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Submit form from Media Uploader@loxx927 I’m afraid your email didn’t go through. I checked all the folders. Can you send it again please? Alternatively you can message me on Facebook.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxSorry, I just realized I had a typo in my above answer. The paramerter needs to be added to the
[avatar]
shortcode and not the[avatar_upload]
one, like so:[avatar user="current"]
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Submit form from Media UploaderYou can send me a private message here. Please also reply to this topic once you do because messages through that contact form sometimes land in the spam folder. Thanks
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Submit form from Media UploaderThe page should reload when the form is submitted. If it doesn’t it’s because another plugin or the theme is interfering with its behavior. Is there a link I can look at?
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxAn update for fellow readers: the issue was resolved by adding the
user="current"
parameter to the[avatar_upload]
shortcode.Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Submit form from Media UploaderI’m assuming this is for the
[avatar_upload]
shortcode and not for the admin user profile. This snippet should do it:wp.media.wpUserAvatar.frame().state('library').on('select', function() { jQuery('.wpua-edit input[type="submit"]').click(); });
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxYou can reach me here.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxIt’s hard to tell since you’ve used custom code. I’m happy to take a closer look at your website if you’d give me private access.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxWhat avatar do you see when logged in with a different user? I have a suspicion that you might be seeing the currently logged in user’s avatar and not necessarily the admin avatar. In that case it means that the viewed user’s ID is not properly passed.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxI have already tested Elementor’s author with the plugin box and found no issues. What happens if you deactivate all other plugins?
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxThis may be a case of another plugin interfering with the avatar upload process. Go to Avatars -> Settings and check “Always use the browser file uploader to upload avatars”.
Also please confirm that the avatars are being uploaded and assigned to the right users by going to Users where the avatars should be previewed. I’m trying to figure out if it’s an upload issue or a display issue. Thanks.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Meta Field for Import?The meta field is supposed to store the image ID and not the URL. Avatars are just like any other attachment images, so try importing your attachments first. The plugin would expect them to have the same IDs so doing this on a fresh install would be ideal.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxI’m guessing you are referring to the [avatar_upload] shortcode. If so, try adding the ‘user’ parmeter to it, like so:
echo do_shortcode( sprintf( '[avatar_upload user="%s"]', get_current_user_id() ) );