WCPA My Files – Sidebar Categories Widget

    • # 3 years, 5 months ago

      Hi, I was wondering if there was a way to limit the Categories that are displayed within the sidebar ‘WPCA – Files Categories’ widget to just the categories that a user has files in?

      For example:-

      User 1 is marked as the owner of a file in Category A, Category B and Category C

      User 2 is marked as the owner of a file in Category D, Category E and Category F

      User 3 is marked as the owner of a file in Category G, Category H and Category I

      What I have found is that regardless of who is logged into the system every user sees the exact same categories listed in the sidebar Category A, Category B, Category C, Category D, Category E, Category F, Category G, Category H and Category I. As each user only has a file in three categories there is no reason for them to see the other six.

      Also it would be even more beneficial if the results were based on User Group rather than the User, is there a way to do that too?

      Many thanks.
      Kevin

    • Vincent Mimoun-Prat
      Participant
      # 3 years, 5 months ago

      Hi,

      Have you tried checking the option to restrict to non empty categories in the widget settings?

    • # 3 years, 5 months ago

      Hi Vincent,
      Yes I have already set the option to restrict the non empty categories within the widget, it has had zero impact on what is displayed as all categories are still showing.

      Regards,
      Kevin

    • Vincent Mimoun-Prat
      Participant
      # 3 years, 5 months ago

      Hi

      Then we will have a look. There may be something broken in the widgets after the last update. This may take a couple of weeks as this is summer holiday for us.

      Regards

    • # 3 years, 5 months ago

      Thank you Vincent, hopefully you have made some progress with this and will have an answer for me soon.

      Kind regards,
      Kevin

    • Thomas
      Keymaster
      # 3 years, 5 months ago

      Hi there,

      Vincent is still on holiday.

      Could you please wait till august? I guess he’ll be able to take a look into that as soon as he will get back.

      Thank you for your patience.

      Best regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • # 3 years, 4 months ago

      Hi there, we are well into August now… has there been any progress with this?

      Kind regards,

      Kevin

    • Vincent Mimoun-Prat
      Participant
      # 3 years, 4 months ago

      Currently nothing new as I have not been able to reproduce it myself: all empty categories are hidden.

      Have you tried looking for a conflict with another plugin or with your theme?

    • # 3 years, 3 months ago

      Hi Vincent,
      Yes this is my ‘go-to’ action whenever something does not work the way that it should.

      I uninstalled all of the other plug-ins to make sure that there wasn’t any conflicts and the issue remains for me.

      Regards,
      Kevin

    • Thomas
      Keymaster
      # 3 years, 3 months ago

      Hi,

      We noticed a bug with the widget (see this post), however, it looks like you are describing another issue.
      I’ll make some tests. If I understand correctly, you are trying to hide the categories where the currently logged-in user doesn’t have any content?

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

      • # 3 years, 3 months ago

        Hi Thomas,
        Yes your assessment of the problem is correct.

        FYI the WPCA plug-ins I have installed are ‘Switch users – Professional‘ and ‘Additional owner types – Professional‘.

        I would be willing to provide you with log-on credentials too if that would help?

        Regards,
        Kevin

    • Thomas
      Keymaster
      # 3 years, 3 months ago
      This reply has been marked as private.
    • # 3 years, 3 months ago

      Thomas, I replied to this yesterday but my reply is not showing up. Are you having issues?

    • # 3 years, 3 months ago
      This reply has been marked as private.
    • Vincent Mimoun-Prat
      Participant
      # 3 years, 3 months ago

      Hi,

      I have marked it as private anyway. We probably have a bug in the bbPress forum preventing you from posting private replies :/

    • visureclic
      Participant
      # 3 years, 3 months ago

      Hi,

      sorry if I write in this topic, but I can't understand how I can open a new topic.
      I have registered my account but I don't have the possibility to start a new topic?
      How should I do?
      
      Thanks
      
      Giusy P.
    • Thomas
      Keymaster
      # 3 years, 3 months ago

      Hi @visureclic,

      There is a post topic form on each support forum, at the bottom of the page, right after the topics list. Please, consider creating your own.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • Thomas
      Keymaster
      # 3 years, 3 months ago

      Hi @kevin-gilmour,

      Sorry, I get a DNS_PROBE_FINISHED_NXDOMAIN error when trying to access your site.

      Is it still online?

      Anyway, I’ll try this on my side too and let you know.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • Thomas
      Keymaster
      # 3 years, 3 months ago

      Hi,

      I’ve found where the issues are.

      I’ll release a new version with those fixes as soon as I can.

      If you want to fix that by yourself right now, you can follow those commits (do not hesitate to confirm if it works for you before we release):

      https://gitlab.com/wp-customerarea/plugins/customer-area/-/commit/ded794544f1b68e07f41ec8643ab81b1f6f7bf2b

      https://gitlab.com/wp-customerarea/plugins/customer-area/-/commit/dfeb879711f00ea3b8ce69d03511b9979422343a

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • # 3 years, 3 months ago

      Thanks Thomas, I will give it a try and see how I get on.

      Unbeknownst to me that domain I had set-up had been earmarked for deletion, I’ve set it up again but hopefully I won’t need it.

    • # 3 years, 3 months ago

      Hi Thomas,
      Your fix seems to have done the job.

      Thanks for the help, we got there eventually.

      Kind regards,
      Kevin

    • Thomas
      Keymaster
      # 3 years, 3 months ago

      Hi,

      Thank you for the feedback, and sorry that you had to wait so much to get a fix.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Viewing 20 reply threads

The topic ‘WCPA My Files – Sidebar Categories Widget’ is closed to new replies.