Plugin Developer DiscussionDiscussion 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)? Thanks, Michael
IPluginPersonDisplay is the interface you want. Take a look at this wiki page:
https://developers.fogbugz.com/default.asp?W7 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: https://developers.fogbugz.com/default.asp?W31 |
Powered by FogBugz