zingaburga / XThreads-MyBB-Plugin

A powerful MyBB plugin which provides a flexible environment for administrators to perform various modifications.
http://mybbhacks.zingaburga.com/showthread.php?tid=288
24 stars 6 forks source link

New option - thread field 'Not applicable forums' #7

Open avril-gh opened 11 years ago

avril-gh commented 11 years ago

I would like to suggest new option which i found seriously missing.

It would be nice if you can add one more multiselect box under 'Applicable forums', to be able chose not only applicable forums for custom field but also 'Not applicable forums' as well.

Because, for example, if we have 2 fields defined. field 1 - applicable only to - special forum X field 2 - applicable to - all forums (except forum X). then we can ofcourse in field 2 chose everything except forum X.

however if we have more administrators and they add new forums they should as well fix settings of field 2 else this field will not appear in new forum. Not mention that if users may create forums in front end (eg. profile blogs) then they may not even adjust current settings of which custom field are allowed here, and they will automaticaly get included in his forums all fields that was set to 'applicable to all'.

(this last example shows serious weaknes of custom field configuration without mentioned option)

If there would 'Applicable forums' and 'Not applicable forums' i could set field 1 - applicable - only X, not applicable - nothing selected, field 2 - applicable - nothing selected, not applicable - X. And this way they could add new forums and xthreads settings would still be valid without need of touching it.

Conclusion - To improve configurability of custom fields there should be 2 multiselect's in custom field with following logic Applicable forums multiselect box with forums list if not set then applicable to all forums, if set then applicable to chosed ones, (it is currently implemented) Not applicable forums multiselect box with forums list If not set - then nothing happen, if set then not applicable to chosed forums. (it is missing option that should be implemented)

Not Applicable should have higher priority over Applicable. because for eg. if X forum is chosed in Not Applicable, then its not applicable even tho, nothing is chosed in Applicable which should normaly meant its applicable to all.

zingaburga commented 11 years ago

I see your point - thanks for the request.

As it is ultimately user error though, it's not going to be a high priority thing. I'll also have to consider whether the added complexity in logic is really worth it, though for now, it sounds fine.

avril-gh commented 11 years ago

Thanks for reply.