I agree the moderation options are useful, and I don't doubt there may be some users who sometimes use one or two of the other options, but in years of using a range of forum apps I have never wanted to use them. I agree with harryk that they are best suited as profile settings (or UCP settings, if you insist on the phpBB dialect). That's what ucp.php?i=179 is for.Make the default tab attachments, problem solved and everyone is happy.
Personally I use the "Do not parse URL's", "Lock post" and "Lock topic".
The moderation options (there are only one or two at any time) can be placed in the same panel as the attachments interface. There is no need for separate panels and tabs. This would simplify the code and the GUI.
------------------------------------------
ETA: Come to think of it, harryk's idea of making the attachments panel the default is easy to implement and IMO better. In posting_editor.html find:
Code:
<div id="tabs" class="tabs sub-panels" data-show-panel="<!-- IF SHOW_PANEL -->{SHOW_PANEL}<!-- ELSE -->options-panel<!-- ENDIF -->" role="tablist">Code:
<div id="tabs" class="tabs sub-panels" data-show-panel="<!-- IF SHOW_PANEL -->{SHOW_PANEL}<!-- ELSEIF S_SHOW_ATTACH_BOX and FILTERS -->attach-panel<!-- ELSE -->options-panel<!-- ENDIF -->" role="tablist">Code:
#options-panel .fields1 {display: flex;flex-direction: column-reverse;}It works. I like it. No, I do not need an extension
To take the idea one step further: you could have the default tab as a UCP board preferences option. The back end then just checks for that, else defaults to whatever is in the template - which, for most users, should be the attachments panel (if permitted).
------------------------------------------
And while I was there it occurred to me that the topic review panel CSS could easily be improved. Just change it from a set height to max-height, and set the max-height in em. That way if there are only one or two one line posts it will shrink to fit the content, and if for a11y someone is using a larger than default font-size in their browser the panel will accommodate that too.
Statistics: Posted by Gumboots — Thu Mar 27, 2025 7:13 pm