User tours defaults

User tours defaults

ved Edgardo Palazzo -
Antal besvarelser: 5
Billede af Plugin developers

Is it possible to set "disabled" by default to user tours when installing moodle? If not, is there any way to do this unattended?

I could do it by running a selenium script but I would like not to depend on this.

Gennemsnitsbedømmelse: -
I svar til Edgardo Palazzo

Re: User tours defaults

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
If I understand you (I'm not sure I do)..

Site administration > Appearance > User tours

Disable the ones you don't want.
I svar til Edgardo Palazzo

Re: User tours defaults

ved Ken Task -
Billede af Particularly helpful Moodlers

Have looked at php cfg.php for variable related to tours ... doesn't appear there is one setting that would allow to turn them off during install or right after.

However DB wise:

mysql> select id,name,enabled from mdl_tool_usertours_tours;

One could set all of them to enabled=0.

Comment: if users are moving from a 3 to a 4 ... they might need tours!!!   Am still playing 'who moved my cheese' as an Admin level user with 4.x trist

'SoS', Ken


I svar til Ken Task

Re: User tours defaults

ved Edgardo Palazzo -
Billede af Plugin developers
Thanks for the advice 😁

I'm testing things and I got tired of seeing the tours each time I reset the site (I'm using the docker images for testing). Also, there should be a way to enable/disable/add tours using a set up script for unattended installs, that's what I'm looking for.


I svar til Edgardo Palazzo

Re: User tours defaults

ved Ken Task -
Billede af Particularly helpful Moodlers

Yes, I get it.  Should there be a way?   Well, if ... IF ... moodle was to be consistent with past ability ... php cfg.php > allsettings.txt;cat allsettings.txt |more would show something one could add to config.php to turn off tours ... but ... there isn't.   Only way ... DB manipulation.

Maybe it's because 4.0 and up is no longer the 'old moodle' and UX/UI advisors/programmers 'know better' .... uhhhh, but for whom?

Anyhoo ... think, in this case, it is what it is! smiler

You could submit an improvement suggestion in tracker and then ask for folks to vote for it.

'SoS', Ken


I svar til Ken Task

Re: User tours defaults

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
It's a fairly trivial local plugin that could be written just to do that on installation. Local plugins are guaranteed to load last.

As you say, it kind of makes sense to have an option in 'Advanced features' or even just a $CFG in config.php somewhere.

There doesn't appear to be a 'view tours' role capability, either. That's really remiss IMO