• Resolved brianhsu2013

    (@brianhsu2013)


    hi,

    I just installed Customer Area but had difficulty to implement it. I want to upload private files for each user, ex: FileA for UserA, FileB for UserB etc… (like online banking each user can see their specific statement).

    Here is my steps:
    1. Installed Customer Area and activated it.
    2. In the Status page, Create customer page and synchronize menu.
    3. Create private file page and upload the file. Insert [customer-area-private-files /] in the content.

    However, I couldn’t see the custom page shown up. Is it possible to do this using Customer Area? I had been stuck in this problem for hours. Please help! Thanks.

    https://wordpress.org/plugins/customer-area/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter brianhsu2013

    (@brianhsu2013)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Private file for different users’ is closed to new replies.