2009-06-29, 03:06 AM
I'm working on a plugin, my first for mybb, and was wondering if theres some kind of hook or something that I could use to hide irrelevant settings in the plugin's settings depending on the user's selection.
An example of what I'm talking about is the Board Open/Closed settings, when you select closed the text area appears in order to enter the reason, when you select open, the text area disappears.
The only way I've been able to do this is a source edit to load the peekers, but I'd like to avoid editing the source and do it through the plugin if possible.
Any pointers??
An example of what I'm talking about is the Board Open/Closed settings, when you select closed the text area appears in order to enter the reason, when you select open, the text area disappears.
The only way I've been able to do this is a source edit to load the peekers, but I'd like to avoid editing the source and do it through the plugin if possible.
Any pointers??