Anonymous user can't access interactive content
Submitted by hoangbien on Thu, 04/07/2016 - 04:36
Forums:
Dear everyone,
I used H5P to create interactive content on drupal7. So, I can't access content as anonymous user.
How to config for anonymous user can access interactive content?
Please help me!
Thank you so much,
roman
Mon, 04/11/2016 - 16:01
Permalink
Hello, there are several
Hello, there are several things that can keep your users from seeing the content. One thing is how you are displaying the content. If you are embedding your H5P content into pages or content types that anonymous users do not have access to, then it will not show up.
If they are in content types that anonymous users have access to, I would check your permissions for the anonymous roles.
What I have done in the past is create a specific content type for H5P interactives and granted anonymous users that access.
If you are having a mix of content types that you don't want users to see but want the H5P be accessible, you can take a look at the Content Access module https://www.drupal.org/project/content_access it is in "Beta" but has proven to work very well for us.
Hope that helps
hoangbien
Tue, 04/12/2016 - 04:13
Permalink
Thank you roman
I used content_access and set interactive content for anonymous user, however it not working. Anonymous user can access interactive content by take, but they can't access directly to interactive content. When i open table node_access and modify interactive content node with gid = 1 to gid =0 and realm = quiz_question to realm = all. So, Anonymous user can access directly to interactive content.
1. I want set gid = 0 and realm = all when create new interactive content, but i can't do it. How to do that?
2. I created a role as editor. Editor can create, edit and delete any content. It work well. However, when I try edit interactive content with editor, the title of interactive conent was loss. I don't know why? So, i modified with admin the title didn't loss.
How to solve this problem.
Thank you so much,
Bien
falcon
Tue, 04/12/2016 - 08:44
Permalink
Seems your problem is related
akilah
Mon, 05/02/2016 - 18:00
Permalink
Same thing over here
I have a few interactive content items in Drupal 7, some of which I wanted to use as quiz questions and others I want anonymous users to access as tutorials without entering a quiz (as standalone content).
I'm using Quiz_h5P integration for Drupal 7 as well as the H5PEDITOR and H5P modules for drupal 7.
What seems to happen is that unless I expose the interactive content as a question, anonymous users can't access it. We want interactive content both inside a quiz and outside of a quiz.
Please advise on how to make this work permanently and automatically for new nodes based on the interactive content type.
falcon
Tue, 05/03/2016 - 09:51
Permalink
Right now I think there is a
akilah
Sun, 06/05/2016 - 17:53
Permalink
Thank you
This fixed the issue .