Why H5P Content is visible to every user on wordpress website?
Submitted by harpreetmeets on Tue, 07/26/2022 - 14:39
Forums:
Recently I have installed H5P plugin on my wordpress website but to be my surprice it is visible to every user logged in on my website.
Why H5P Content is visible to every user on wordpress website? How can I hide this from non-admin users?
BV52
Tue, 07/26/2022 - 19:02
Permalink
Hi,I'm not sure what you mean
Hi,
I'm not sure what you mean? Wouldn't you want visitors of your site to be able to see the contents? Or are you pertaining to logged in users have the capability of editing/creating contents?
-BV
harpreetmeets
Wed, 07/27/2022 - 06:53
Permalink
Why H5P Content is visible to every user on wordpress website
I have started using H5P on my website where we are teaching. When some user logged into the system, all the H5P content is visible. Suppose I am creating H5P and I want to include that in the course but H5P content listing (from backend) is visible to users. It should be only visible to the administrator, or in other words wp-admin's left panel.
otacke
Wed, 07/27/2022 - 13:31
Permalink
Hi harpreetmeets!You will
Hi harpreetmeets!
You will have to change the user role's capabilities.
H5P supports the user role management system of WordPress that many don't know about, because by default, WordPress doesn't ship with a user role editor. That's probably because of Wordpress' heritage as a blogging platform used by just one person. You will need to install one of the many user role manager plugins (e.g. User Role Editor that I use myself).
With one of these plugins, you can define what a user in what role should be allowed to do. What you're looking for is to deactivate the "view_h5p_contents" and the "view_others_h5p_contents" capability for the role that your users are logged in with.
Best,
Oliver
harpreetmeets
Thu, 07/28/2022 - 06:24
Permalink
Thank you for your assistance @Oliver
Hey Oliver
I have done this and it solved the purpose.
Thank you again.
Cheers
Harpreet
otacke
Thu, 07/28/2022 - 10:38
Permalink
Hi Harpreet!You're welcome
Hi Harpreet!
You're welcome!
Best,
Oliver
moffzar
Mon, 05/29/2023 - 04:59
Permalink
Why H5P Content is not visible on wordpress website?
Recently I have installed H5P plugin on my wordpress website but to be my surprice it is not visible to every user logged in on my website.
Why H5P Content is not visible to every user on wordpress website?