Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Automatic Reset of User Preferences for Open/closed status #47

Open
DocDanouBot opened this issue Aug 13, 2024 · 0 comments

Comments

@DocDanouBot
Copy link

Dear James,

Now we have been talking yet again with another partner where we use also your plugin format_multitopic. Besides from the regular functioniality to save the status of opened or closed menues within the user-preferences, they wish for one extension:

Whenever a user newly loggs in, all the Opened/closed status should be "forgotten" and the whole menu should go back to the default hard wired status, meaning: Everything is closed. Whatever happens within / during one session is totally fine the way it is, The partner only wants that everything is closed when the learner is coming back on the next day or so.

We talked in the team about this and our idea is, to build an event-listener on the user_loggedin or the user_loggedout event. Whenever this event is being triggered, we would reset for this Very UserID all the Userpreferences for all the courses that use your format_multitopic. Than the system should automatically fallback to the hardcoded "all closed" status.

Furthermore I would add another setting in the backend (like a checkbox: "Should this feature be enabled") and proberbly would also work with a capability to only allow certain roles to activate / deactive this checkbox. (like managers**+** or such).

Our Proposition

Now, we do solid and reasonable software development, so you could expect, that our code will be quite stable and "sustainable". But my boss said, he doesn't want to fork / clone your plugin, as we do NOT want to have all the extra maintainance work that you'd get, when acquiring the Ownership of code. Now therefore i was asked to ask you / propose to you our idea. And we are wondering if you'd like this feature-addon,... and if we programm it for you, if we could send you a pull request and you would integrate it into your plugin?

The last question is basically the most important question for my boss. (this is why it took me sooo long to explain you all this.) hahaha. or, i wish you the best.

Regards
DocDanou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant