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

Foliovision

  • 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 3 years, 1 month 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 3 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á 3 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 3 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 3 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 3 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 3 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

How to …

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬