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 - hidden lock variable, xthreads interface in ACP visible to uID's #9

Closed avril-gh closed 11 years ago

avril-gh commented 11 years ago

It is common situation where one person setup site for another less knowledgeable person. When we use xthreads we dont really like to see they mess with xthreads settings and broke everything.

It would be nice if there would be an option to hide all xthreads interfaces in ACP. for non-technical administrators by 'hidden' option editable only in config.php file.

It could be similar to original mybb $config['super_admins'] = 'X,X'; variable. If we put to mybb config.php $config['xthreads_admins'] = '1,2'; then xthreads interfaces in ACP would be only visible to user ids 1 and 2 and no one else. If there would be no such setting inserted to config.php (empty variable) then xthreads interface would be visible to everyone in ACP.

zingaburga commented 11 years ago

I ultimately think this is either more of a MyBB issue, or believing that admins need a certain level of competency to administrate the forum.

The Custom Thread Fields section should be hide-able through MyBB's ACP permission system. This leaves:

For forum settings, there isn't really much one could do to irreversibly mess things up (unless you don't have some backup or memory of the correct settings). I think it's fair to ask admins not to change these settings. MyBB's ACP isn't really set up to allow arbitrary people access - you need to have a certain level of trust in your admins.

avril-gh commented 11 years ago

No, no, Im talking only about xthreads settings which are in forum's settings panel. xthreads is brilliant irreplaceable development tool used to create awesome stuff, but development and designing is work for tech admins.

When normal admins who have no clue about variables, PHP, templating and how things really works, want to change some simple forum setting they get headache from mass of complex technical switches.

Its required to show it on design stage but would be good to have oportunity to hide it when site design is finished, to simplify forums options view for normal admins who just want to setup forum name, description or user privilages, without being exposed to wall of advanced technical switches where half of them say 'caution - dont touch' (lol)

Without it its kinda like leaving wires, and all the electronic parts, visible throught front panel of TV case. ;P

But if you say so, ill close this thread then. Thanks for reply :)

avril-gh commented 11 years ago

Oh just got another idea. Not a bad idea would be for example add collapse button to xthreads window in forums settings, which should always be collapsed and if someone would need to change any settings there, he should everytime manualy expand it. And this collapsed window title should have red text like (advanced technical options - use caution) ..then maybe non technical administrators eyes would more focus on options they really want to change, than make them confused and think that 'omg, changing forum title will be more complex than i thought'... huhu...