Disable Use H5P Hub
Submitted by lostinpond on Fri, 08/31/2018 - 02:07
Forums:
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.
BV52
Fri, 08/31/2018 - 05:18
Permalink
Hi lostinpond,This is not
Hi lostinpond,
This is not possible not unless you make changes to the code.
-Bv52
lostinpond
Tue, 09/11/2018 - 02:04
Permalink
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.
icc
Mon, 09/17/2018 - 10:11
Permalink
Hi,Which platform are you on;
Hi,
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.
lostinpond
Wed, 09/26/2018 - 03:20
Permalink
Platform
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?
Thank you.
otacke
Wed, 09/26/2018 - 09:13
Permalink
Hi lostinpond!If you disable
Hi lostinpond!
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.
Best,
Oliver
lostinpond
Wed, 09/26/2018 - 10:10
Permalink
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?
otacke
Thu, 09/27/2018 - 08:58
Permalink
Hi lostinpond!Sorry, I
Hi lostinpond!
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.
Best,
Oliver
lostinpond
Mon, 11/05/2018 - 02:25
Permalink
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?
BV52
Tue, 11/06/2018 - 01:38
Permalink
Hi lostinpond,Please see my
Hi lostinpond,
Please see my answer here.
-BV52