3five
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom User Profile Photo] How can subscriber upload profile picture?Hello!
Currently the plugin is restricted to only allow users who are authorized to upload files make this kind of change. If you would like to have a Subscriber role be able to do this on your site, you can add that capability to the Subscriber user role and this should fix that issue.
Here is an example code:
<?php function add_theme_caps() { // gets the subscriber role $role = get_role( 'subscriber' ); // would allow the subscriber role to upload photos for the current theme $role->add_cap( 'upload_files' ); } add_action( 'admin_init', 'add_theme_caps'); ?>This would also give the user access to the Media and Media -> Add New options in the WP admin area so you’ll want to take action to hide this from those users so they cannot upload random images to your site.
Here is how the codex explains it:
http://codex.ww.wp.xz.cn/Roles_and_Capabilities#Capability_vs._Role_TableHope this helps.
Thank You for trying the plugin.
Hello,
Thank you for bringing this to our attention. I’ll look into this issue and get back to you with a resolution ASSP!Thanks for trying the plugin.
Regards,
3fiveForum: Reviews
In reply to: [Custom User Profile Photo] Can't see new user imageHello,
Hopefully I can help you. Can you provide me with a bit more information in terms of where you’re attempting to have this photo show up. Is it on the single.php template where the author is this new person or is it outside of a single template or loop?
Do you have direct access to edit the template files?
Regards,
3fiveForum: Plugins
In reply to: [Custom User Profile Photo] Can't see the avatarYou can paste this code into your tempalte_name.php file(s). For example, place the code into your single.php file and the photo would show up for the author of that singular post.
You might need to modify the code to get the proper author_id. you can find that info here: http://codex.ww.wp.xz.cn/Function_Reference/get_the_author_metaThanks.
Forum: Plugins
In reply to: [Custom User Profile Photo] Ongoing Developement?Hello Lyelle,
Yes, we’re still actively working on the project when we have time. That is a planned feature at the top of the list for a future release. Thanks for your interest.Regards.
Forum: Plugins
In reply to: [Custom User Profile Photo] Can't see the avatarHello all,
Thanks for the response here. Sorry to hear about the trouble you had with the plugin.Could you please elaborate on the code where you are using the get_cupp_meta() function? Is this within the loop or outside of the loop? On an archive, single, or page template? The odd thing is that that is the exact hook (get_the_author_meta) within the function that is being used to get the url so I’m not sure why it wouldn’t work with the plugin’s function.
Sorry for the late response by the way.
Thanks.
Hello iamjoshing,
This should be working without the user posting on your blog. The function is built to retrieve the photo based on a user ID. If you need a specific user’s photo, you can pass their ID number into the get_cupp_meta() function inside or outside the loop.and example would be:
$user_id_without_posts = 14;
$image_url = get_cupp_meta($user_id_without_posts, ‘thumbnail’);I hope this helps.
Forum: Plugins
In reply to: [Custom User Profile Photo] update_usermeta is deprecatedExcellent catch Szyam. I’ll be adding this in the next release.
Cheers.
Forum: Plugins
In reply to: [Custom User Profile Photo] Edit url is incorrectThis should be fixed now in version 0.2.5. Thanks for finding that.
Cheers
Forum: Plugins
In reply to: [Custom User Profile Photo] Is it compatible with WP 4.0?Hello thiagz and ImTheirWebGuy.
Could you give me a bit more information on your WordPress installs (version, other plugins, etc.). Please also check for cached javascript and other items within your browser.
When you click on the upload button, the WordPress media uploader should appear just as it does when you upload media within a post.
Thanks
Forum: Plugins
In reply to: [Custom User Profile Photo] User permissionsHello Magda,
Sorry for the late response. The plugin checks for the user capability upload_files. By default, the minimum user role needed to do this is Author. If you with to add this capability to a lesser role you can follow the documentation here to increase the capabilities of that role. http://codex.ww.wp.xz.cn/Function_Reference/add_capThanks for trying the plugin.
Forum: Reviews
In reply to: [Custom User Profile Photo] Great plugin with one minor issueThanks demonboy,
We appreciate the review and are glad it helped save you time. We agree that an ajax type of feature showing the newly added photo should show up there and it is planned for the next release.
Thanks again for giving it a go!
Forum: Fixing WordPress
In reply to: Menu sidebar in Admin panel is gone – wordpress 3.8Same thing just happened to me on two separate sites using two different themes on 3.8. Both are on the same hosting account.
Tried deactivating all plugins and changing the theme to twenty-fourteen, -thirteen, and -twelve and still no admin menu.
Had to reinstall WP from the admin side(wp-admin/update-core.php) and the problem was fixed.
With the latest update I seem to be having an issue with ACF and WP Ultimate CSV Importer.
I’m using a custom post type and the fields for mapping show up as the field_key not the field_name (ex: field_5238801a2013d instead of test_field_1). After importing, the data does show in the custom fields data section of the custom post, but the values do not show in the ACF fields themselves on that post. I believe this is due to the importer not seeing and attaching the values from the CSV to the field_name.
Any ideas on how to get the field_key changed to the field_name for mapping?
We’re seeing the same issue with this plugin. Is this on the official bug list yet?