Disable Use H5P Hub
Submitted by lostinpond on Fri, 08/31/2018 - 02:07
Hi Good day.
I want to disable the use of H5P Hub, but I want the interface of the drop down text box of the editor is still have the same design or looks when you enable the H5P Hub.
I want to do this because I want to control the version of each libraries.
Fri, 08/31/2018 - 05:18
Hi lostinpond,This is not
This is not possible not unless you make changes to the code.
Tue, 09/11/2018 - 02:04
Location of the code
Thank you for replying. I found the css script when it is enable. I just need to find where condition script is, when it is disabled it still should use that css. Do you know where I could find this?
P.S. Late reply because I left this problem and moved on to another problem.
Mon, 09/17/2018 - 10:11
Hi,Which platform are you on;
Which platform are you on; Drupal, WordPress or Moodle?
By changing the permissions you should be able to allow only your own user to control the content type versions and the rest of the users can still use the same interface to select content types.
Wed, 09/26/2018 - 03:20
Thank you for responding icc.
Hi good day,
I'm using Moodle 3.5
What if I want to disable the h5phub and the users can still use the same interface to select content types? Where can I find its code?
Wed, 09/26/2018 - 09:13
Hi lostinpond!If you disable
If you disable the Hub, users will have a simple select field to choose from the content types. All our source code is on github, among them the code for the H5P Hub client.
Wed, 09/26/2018 - 10:10
Hi Sir Oliver, Thank you for
Hi Sir Oliver, Thank you for responding. :)
Yes, it looks simple for the users, they want the beautiful one when you enable the Hub.
I found where the script for that simple select field its under /hvp/editor/scripts/h5peditor-selector-legacy.js, this script is triggered when the Hub is disable. When the hub is enabled it will use /hvp/editor/scripts/h5peditor-selector-hub.js.
Now, is there condition script where when you disable the Hub it will still use the same script as the enabled does? if there is, where is it?
Thu, 09/27/2018 - 08:58
Hi lostinpond!Sorry, I
Sorry, I thought you were looking for the Hub code, not the alternate code for the selector. Unfortunately, there's no such option, but you're welcome to create a feature request.
Mon, 11/05/2018 - 02:25
Thank you for replying sir.Hi
Thank you for replying sir.
Hi the reason why I want to disable the hub is to be able to use it even there is no internet connection, because in some cases if there is no internet connection you can't use some libraries and it requires to update them to be able to use it. How can I do this?
Tue, 11/06/2018 - 01:38
Hi lostinpond,Please see my
Please see my answer here.