go to: Customer Area > Settings > Capabilities
In the Private Files tab under the section Front Office check if you have the View private files checkbox activated for Subscriber
Hi,
As advised, check if you have set the permissions for the roles of your site. By default, only administrators are allowed to use the Customer Area.
Furthermore, you don’t need to manually insert any shortcode anywhere. Everything is automatic. Just set up the plugin like that:
1. Customer Area > Settings > Pages -> Recreate all pages
2. Customer Area > Settings > Frontend -> Synchronize navigation menu
3. Customer Area > Settings > Permissions -> allow the roles you want
That’s it. To create private content (page or file) for a user:
1. Customer Area > New private file
2. Set a title, write a description (optional)
3. Uploade a file
4. Choose the user who will be able to see that private content
5. Hit the publish button
You can then log out of your admin account, and log in with your test user account. Go to the Customer Area page. Then from the menu select Files > My files. You should see the file there.
Thanks Yiorgos and Vincent, I followed your suggestions and the private file can show up on my File overall page (as recent file). I can download the file through the icon. However, when I click into the private file page, I couldn’t see the content I wrote for the user. If I use like 2013 theme, then the page content can be shown correctly. I tried to compare the differences between 2013 and my theme but couldn’t find a solution. Can you tell me why my page couldn’t show the private page? Many thanks for the help!
Here is my page template php:
<?php get_header(); ?>
<div class=”row”>
<div class=”span12″>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; else: ?>
<p><?php _e(‘Sorry, this page does not exist.’); ?></p>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
The template used to show private files is not page.php but either single-cuar_private_file.php or single.php