Forum Replies Created
-
AuthorPosts
-
SupportMember
Hello,
For making any field editable only for certain roles, you need to use UMP filter. Here is a quick example:add_filter( ‘user_meta_field_config’, ‘user_meta_field_config_function’, 10, 3 );
function user_meta_field_config_function( $field, $fieldID, $formName ){
global $userMeta, $user_ID;if( $fieldID != ‘Adjust field ID here’ )
return $field;$role = $userMeta->getUserRole( $user_ID );
$allowedRoles = array( ‘administrator’ );$field[‘read_only’] = true;
if( in_array( $role, $allowedRoles ) )
unset( $field[‘read_only’] );return $field;
}Thanks.
SupportMemberHello,
You can access user id by $userdata->ID if you have passed $userdata as filter function argument.Thanks.
SupportMemberRename user-meta directory by ftp. This will disable the plugin and then you can login by http://example.com/wp-login.php
Thanks.SupportMemberThis issue is solved by version 1.1.3rc3
SupportMemberHave a try with latest release 1.1.3rc3
Here is the changelog: http://user-meta.com/changelog/
Thanks.SupportMemberOh you have already updated WP core. Thats great.
SupportMemberHello,
username field is being automatically readonly for all user once user registered.
Thanks.SupportMemberHello,
method WP_User::exists() introduce from WP-3.4.0
Please update your WP version to latest one.
Thanks.SupportMemberSupportMemberHello,
Please have a look on http://user-meta.com/forums/topic/how-to-set-certain-field-to-be-able-to-be-editted-by-certain-role/
Above hook is supported from version 1.1.3rc2
Thanks.
SupportMemberHello,
Is other type (e.g.: type=”profile”) with form assigned is working well?Sometime there might be some plugin conflict, Jus temporarily disable all other plugin to make sure this is not a plugin conflict. And please contact with your page url to “Contact Us” section.
Thanks.
SupportMemberHello,
Please upgrade to latest release. We have some fixes with new release then 1.1.2. Make sure you have completely remove existing version while update to new release. And after update, clean your browser cache so that your browser can render new/modified js/css files.
Thanks.
March 5, 2013 at 2:33 am in reply to: new roles can't save changed information on other profiles #3209SupportMemberHello,
Please try new release 1.1.3rc3. With new release, you don’t need to hack the plugin, just give “add_users” capability to your custom role.Please completely remove existing UMP version while update to new version.
Thanks.
SupportMemberHello, With version 1.1.3rc3 (just released) there is a shortcode generator in page/post section. You can generate shortcode directly from your page/post editor (There is a UMP logo icon near “Add Media” button).
Have a try with new release. Here is changelog: http://user-meta.com/changelog/
Let us know if the issue still exists.
Thanks.
-
AuthorPosts