MyBB Community Forums
[Enhancement] 'null' setting type - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: Suggestions and Feedback (https://community.mybb.com/forum-199.html)
+--- Thread: [Enhancement] 'null' setting type (/thread-227080.html)



'null' setting type - Crazycat - 2020-03-30

Hi there,

I think it could be interesting to have a new setting optionscode: 'null' which allow to add just a separator in plugin settings, with a title and an optional description.

It could be usefull for plugins with a lot of settings, to create categories, or to add an explanation block when several settings work together.


RE: 'null' setting type - Euan T - 2020-04-01

Sounds like the intention is to have sub-groups within setting groups basically? If so, I can certainly see that being useful but not sure if a "null" options code would be the best way to go about it.


RE: 'null' setting type - Crazycat - 2020-04-01

(2020-04-01, 07:28 PM)Euan T Wrote: Sounds like the intention is to have sub-groups within setting groups basically? If so, I can certainly see that being useful but not sure if a "null" options code would be the best way to go about it.
Yes, separator might be better Smile But all developments need a null somewhere Smile