WCPA My Files – Sidebar Categories Widget

    • # il y a 3 mois et 3 semaines

      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
      Maître des clés
      # il y a 3 mois et 2 semaines

      Hi,

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

    • # il y a 3 mois et 2 semaines

      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
      Maître des clés
      # il y a 3 mois et 1 semaine

      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

    • # il y a 3 mois

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

      Kind regards,
      Kevin

    • Thomas
      Maître des clés
      # il y a 3 mois

      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.

    • # il y a 2 mois et 1 semaine

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

      Kind regards,

      Kevin

    • Vincent Mimoun-Prat
      Maître des clés
      # il y a 2 mois

      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?

    • # il y a 1 mois et 2 semaines

      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
      Maître des clés
      # il y a 1 mois et 2 semaines

      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.

      • # il y a 1 mois et 1 semaine

        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
      Maître des clés
      # il y a 1 mois et 1 semaine
      Cette réponse a été marquée comme étant privée.
    • # il y a 1 mois

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

    • # il y a 1 mois
      Cette réponse a été marquée comme étant privée.
    • Vincent Mimoun-Prat
      Maître des clés
      # il y a 1 mois

      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
      # il y a 1 mois

      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
      Maître des clés
      # il y a 1 mois

      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.

    • Thomas
      Maître des clés
      # il y a 1 mois

      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.

    • Thomas
      Maître des clés
      # il y a 1 mois

      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.

    • # il y a 1 mois

      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.

    • # il y a 1 mois

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

      Thanks for the help, we got there eventually.

      Kind regards,
      Kevin

    • Thomas
      Maître des clés
      # il y a 1 mois

      Hi,

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

      Regards.

Vous lisez 20 fils de discussion

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