Marco
Forum Replies Created
-
Hi Bruce,
no I didn’t use that. I really project the hole media library to the frontend. For this I use the plugin Wp Frontend Admin.
Hi Bruce, thanks for your reply. In didn’t realize that you have published a new version of FileBird. After an update to the new version I get the option for auto sorted files. Thank you!
Now I have a further question. In backend the automatic reorder of the files works great, but I display the media library in frontend. And with this combination the automatic reorder didn’t work.Do you habe an idea how I can fix that?
Regards
- This reply was modified 4 years, 7 months ago by Marco.
Hi Bruce,
yes I see that and I tested it too. But I think this function is equivalent to this one:
add_filter( ‘ajax_query_attachments_args’, ‘wpb_show_current_user_attachments’ ); function wpb_show_current_user_attachments( $query ) { $user_id = get_current_user_id(); if ( $user_id && !current_user_can(‘activate_plugins’) && !current_user_can(‘edit_others_posts’) ) { $query[‘author’] = $user_id; } return $query; }But this does not help me. In your first post you wrote that the plugin is designed to work with regular roles. Does this means only the author role?
Hi @ninjateamwp ,
thanks for your advices. You are writing that the user restriction function supports regular WordPress roles. In the free version of FileBird I didn’t found a solution to select a regular role.
Is is included in the PRO-Version?Greetings
Marco