This is normal behaviour for mDocs as well as WordPress. Using direct download should give a generic message about logging in. Other than that it is working as aspected.
bhaldie,
Only I don’t get that login page. This post (https://www.ceb-solutions.com/pt-pt/mdocs-posts/bee2energy-initial-assessment-survey/) exists and I can access it if logged in. But if you try to access it you will get http://prntscr.com/k8dz8n, right? I was hopping for something like: http://prntscr.com/k8dzqf
Can you comment?
Thanks
to get the message you want you have to point to the file itself not the post. If your posts are private the normal WordPress result is a 404 error.
ok, only it will very difficult to explain the diference to registered users trying to share private files and having both options available.
An alternative would be if post sharing does not exist if the file is private. What do you think?
My opinion would be to make the post pubic and the files private. Then use the post link this will give you the desired message of please log in to download.
How can I achieve that, “post pubic and the files private”?
simple change the mdocs post from private to public, and change the file from public to private. thats it.
bhaldie,
Can you be more specific? From the Memphis Docs settings I can’t find the options to apply different status for post and file within the post.
Would it be from the file options? Like this: http://prntscr.com/kazkuy?
Thanks
Open the Manage File modal from the file drop down.
File Status: Public
Post Status: Published
Downloadable By Non Members: unchecked
The result will be non members will see the file and post but will get the message “Please log in to see download this file”
You can also set a global setting if you goto Options > Settings > File Options > Hide All Files: (Non Members) : checked
-
This reply was modified 7 years, 10 months ago by
bhaldie.
I will try the combinations to implement what I would like, which is a mix:
– files, posts and downloads accessible to logged in members with particular role;
– files, posts and downloads open to public
The all three accesses (file, post, download) goes always together.
Questions:
1. Because I have the mix I can’t set it from the global settings. I assume the file settings have priority over global settings, correct?
2. And if it is the case I then have to set the global settings to all public, correct?
Thanks
You are correct file setting have priority over global settings.
Yes set global to public.