I haven’t actually tried it with custom posts. However it is reasonable what you ask. I need to check and let you know.
Best Regards
Nickolas
Hi,
I created a custom post type and some custom posts. As you said, these custom posts do not appear in the drop-down of post instances. However, this is not much of a problem.
You can go to the editor of the custom post and add manually inside the contents the [wordpress_file_upload] shortcode. This should work for all users.
Have you tried that?
Nickolas
Hi, Nick!
We did try that (as stated on my original post):
We tried using the code without using instances, but in this case, only admins can upload anything. We even set up the upload permissions to “all” but students are not able to upload anything.
😛
This is the code we are using for these posts:
[wordpress_file_upload singlebutton="true" uploadpath="studentuploads/entrepreneurshipi/module_2/%username%" uploadrole="all" uploadpatterns="*.doc,*.docx,*.pdf,*.xlsx,*.xls,*.txt" maxsize="2" createpath="true" dublicatespolicy="maintain both" uniquepattern="datetimestamp" adminmessages="true" forceclassic="true" debugmode="true" placements="filename+selectbutton+uploadbutton/progressbar/message" uploadtitle=" waitmessage="File %filename% is being uploaded." medialink="false"]
Is something wrong with our code? All this does for non-admin users is open the popup window to select the file, but when the file is selected, nothing happens. The admins can upload with no issue, from the same post the students just tried and can’t.
Ok let me check with your shortcode
Hi sorry for the late answer, I was involved in something that kept me away for some days,
do you still need assistance?
Nickolas
We are going with another plugin, but it would be cool if at some point this could work for custom posts. This is a great plugin!
Ok I have added this option in the todo list of plugin features. I will do more tests and come up with a version that supports custom posts, but it will be after the next version (which is under development now).
Thanks, Nickolas