Skip to content

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

Description

@DocDanouBot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions