-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select multiple users? #3
Comments
it's not clear if the functionality is working when you save but in case it does and you want to save the selection you can look into something like this solution: |
It will let you select three things, then when you click update on the page it changes all three to the same user. |
I was able to get it working with choosing 3 users and having it save them successful. The only thing left is to have it display it for the users. I am only able to get it to show for the first user. Here is the code for creating the three separate users
And for saving the three users // if invalid $post object or post type is not 'userfile', return
And here is where I am stuck where it creates the file list
'userfile',
'meta_key' => 'upf_user1',
'meta_value' => $current_user->user_login,
'orderby' => 'date',
'order' => DESC );
|
Hello, Awesome plugin! I am using it for a school project where we have to assign pdf docs to 3 specific users. I found the lines in the php code and edited them to show three drop down boxes but it makes all three boxes the same whenever I save. Any tips or ideas??
The text was updated successfully, but these errors were encountered: