Discussion for FogBugz Plugin developers
I'm trying to add a new user option, so a particular user can choose whether or not he wants to use some plugin functionality.
I plan to store each user's selection in the custom table using IPluginDatabase interface. Since the whole user configuration piece is going to be just a simple checkbox, I want to add this checkbox to user options page, rather than create a new blank page with a single checkbox on it.
So is there any way I can modify 'User options' page (pgPrefs)?
IPluginPersonDisplay is the interface you want. Take a look at this wiki page:
I'd also recommend taking a look at IPluginPersonJoin, as it abstracts away some of the logic of adding a field to Person. This wiki page has a full example using IPluginPersonDisplay and IPluginPersonJoin to add a new user option:
This topic is archived. No further replies will be accepted.Other recent topics