• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

How To List Players Created By Other Users

[Solved]

Foliovision › Forums › FV Player › How to … › How To List Players Created By Other Users

  • Stephen Neander 2 years, 4 months ago

    I create a player as a user with the administrator role.
    It shows correctly on the list of players (/wp-admin/admin.php?page=fv_player) for this user.
    When I log in as another user that is not an administrator it does not show in the list.
    How do I make all players show for all users regardless of who created it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Stephen Neander 2 years ago

    Here are some screen shots

    screenshot-from-2023-01-09-20-32-16-2
    Screenshot-from-2023-01-09-20-32-16-1
    screenshot-from-2023-01-09-20-31-47-2
    Screenshot-from-2023-01-09-20-31-47-1
    Mária Stašová 2 years ago
    Avatar photo

    Hello Stephen,

    Thank you for reaching out to us!

    What user role is the user assigned? It should work just fine for authors and editors.

    Is it a contributor? This seems to happen with contributor users. I’ll check with our programmer Martin on allowing this for contributors as well.

    Do you only need to list them or be able to edit them as well?

    Thanks,
    Maria

    Stephen Neander 2 years ago

    Thanks for responding so quickly Maria.

    My use case is that I have users with a role of either administrator, lms_manager, instructor or instructors_assistant creating, viewing and editing players in the back end. I am not using the contributor role.

    Players created by the role instructors_assistant can be seen by the administrator role but not the other way around. ( I changed the id of the author field in wp_fv_player_players to test this.)

    It would seem to me that having access to players in the back end based on capability rather than role may be more flexible as the capability can then be assigned to any role.

    For now, is there a work around?

    FYI: I’m using LifterLMS for creating courses and Advanced Access Manager for managing roles and capabilities.

    Stephen Neander 2 years ago

    I’ve found that another role I have lms_manager can list and edit FV Players created by the administrator role. This indicates to me that the distincton might be based on assigned capabilities rather than on roles. Can you please advise if providing view and edit access to an FV Player on the backend is based on a specific capability and what that is? Many thanks.

    Martin 2 years ago

    Hello Stephen,

    we check for the edit_others_posts capability. This capability is normally only assigned for Administrator and Editor user role.

    The reason here is simple – user should not be able to edit players belonging to other users if he’s not allowed to edit posts belonging to these other users.

    The user roles like Contributor or Author are allowed to edit their own posts, but not posts of the other users. I guess that’s the case with your instructor and instructors_assistant user roles.

    Please let us know if this is making sense to you.

    I know there are plugins to let you add edit_others_posts capability to different user roles too, but a code snippet like this one seems to be a much lighter solution: https://developer.wordpress.org/reference/classes/wp_role/add_cap/#comment-578

    Thanks,
    Martin

    Stephen Neander 2 years ago

    Than you. Assigning the edit_others_posts capability worked.

Viewing 6 replies - 1 through 6 (of 6 total)
Reply To: How To List Players Created By Other Users



Please Sign in or Register to upload files.

Related Posts

  1. Too many draft players being created

    Too many draft players being created

  2. Using FV player javascript API with multiple players on the page

    Using FV player javascript API with multiple players on the page

  3. Can't add a video to posts as a non admin user

    Can't add a video to posts as a non admin user

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!