For Discussion:
I was thinking of adding a few options to a plugin I created that would allow the user to change the settings to their own preference, rather than site wide settings.
It occurred to me that this might be better done as a stand alone "User Settings" plugin - ie an options toolbar button that allows the user to access various settings. Preferences could be saved in a cookie and potentially saved to the host server via an ajax post if desired.
Obvious settings would be toolbar selection - basic / advanced for example. If done correctly the "User Settings" plugin could then provide functionality to other plugins and so on - e.g. I was looking to allow saving of enable / disable and the timeout for an auto save feature. Rather than build the save function into that plugin, it could be done through a "User Settings" plugin if installed. Various features could share the same code and keep the project size down.
Does any of this exist already? Is this a good / bad idea?
cheers, mike
I was thinking of adding a few options to a plugin I created that would allow the user to change the settings to their own preference, rather than site wide settings.
It occurred to me that this might be better done as a stand alone "User Settings" plugin - ie an options toolbar button that allows the user to access various settings. Preferences could be saved in a cookie and potentially saved to the host server via an ajax post if desired.
Obvious settings would be toolbar selection - basic / advanced for example. If done correctly the "User Settings" plugin could then provide functionality to other plugins and so on - e.g. I was looking to allow saving of enable / disable and the timeout for an auto save feature. Rather than build the save function into that plugin, it could be done through a "User Settings" plugin if installed. Various features could share the same code and keep the project size down.
Does any of this exist already? Is this a good / bad idea?
cheers, mike
RE: plugin idea - User Settings
That's one of the ideas behind the local storage plugin: https://sourceforge.net/tracker/index.p ... tid=737639
I've used it to make the user decision in the Spellcheck plugin for Firefox 2 work across sessions, but it could be used to store any other value.
Some time ago some company wanted to sponsor the development of a plugin to implement a mechanism to customize the editor for each user, but they did disappear so I moved to other things, but if now anyone wants to sponsor those developments then you can contact me.