I'm having a hard time figuring out where to disable Quick Reply. Where is this option?
That option has been removed, so you'll need to edit code
Find in ./Themes/default/Display.template.php
// Show quickreply
if ($context['can_reply'])
template_quickreply();
To hide it from everyone
// Show quickreply
//if ($context['can_reply'])
///template_quickreply();
To hide it from a specific user
// Show quickreply
if ($context['can_reply'] && $context['user']['id'] == 1)
template_quickreply();
Why was it removed? Some of my guys want to show quick reply, some don't. It's a useful option.
a good few options that are in 2.0 were removed in 2.1 to make it easier to support. this was one of them.
Like sidebar menus. :(
[clicks like]
Quote from: Illori
a good few options that are in 2.0 were removed ...
You mean "a few good options"
"You mean "a few good options"
Quote from: Sir Osis of Liver on February 13, 2020, 04:26:13 PM
Like sidebar menus. :(
TinyPortal is a much better way of doing that anyway, in my opinion.
re Ability to disable quick replyQuote from: Sir Osis of Liver on February 13, 2020, 03:58:19 PM
Why was it removed? Some of my guys want to show quick reply, some don't. It's a useful option.
Absolutely I've just found out about this today and it makes no sense.
Nor does
Quote from: Illori on February 13, 2020, 04:03:27 PM
a good few options that are in 2.0 were removed in 2.1 to make it easier to support. this was one of them.
How can the lack of that feature make 2.1 "easier to support". It seems it was able to be supported in 2.0 easily enough.
By that argument they should take another 30 features out of 2.1 to make it even easier to support.
Nope that's a dumb move and dumber reason IMHO.
easier to support by our developers and themers. some of the features that were removed have made it easier to make responsive. also if you want the features back then see if you can get a mod created to put them back.
OK mate I'll take your word for it. :)
I wonder if this page in the manual should indicate the fact that the option is not user-selectable anymore?
https://wiki.simplemachines.org/smf/Quick_reply
We are still working on updating the wiki. Please keep in mind that due to the nature of it being a wiki you are more than welcome to edit it.
Quote from: Illori on September 13, 2022, 09:49:55 AMWe are still working on updating the wiki. Please keep in mind that due to the nature of it being a wiki you are more than welcome to edit it.
Good answer! One I often give to folks critiquing our wiki :) However, I'm sure you don't want ham-handed edits from someone that has less than the full picture of how things are structured and put together.
I did go back and it would seem that the new page would read something like
QuoteThere is no method to turn off "Quick Reply" either from User preferences or Admin panel
Quote from: live627 on February 13, 2020, 02:51:37 PM// Show quickreply
//if ($context['can_reply'])
///template_quickreply();
Why in this line:
///template_quickreply();
three slashes?
Three slashes just makes it easier to find the edit if you have to get back to it.
Quote from: live627 on February 13, 2020, 02:51:37 PMThat option has been removed, so you'll need to edit code
Find in ./Themes/default/Display.template.php
// Show quickreply
if ($context['can_reply'])
template_quickreply();
To hide it from everyone
// Show quickreply
//if ($context['can_reply'])
///template_quickreply();
To hide it from a specific user
// Show quickreply
if ($context['can_reply'] && $context['user']['id'] == 1)
template_quickreply();
I'm obligated to do some necromancy on this topic.
This edit will break various things in the javascript because it loads some essential things in the quick_reply() function.
I came across this issue here (https://www.simplemachines.org/community/index.php?topic=588323.0)
Diego Andrés, does this mod work correctly or does it also break something?
https://custom.simplemachines.org/index.php?mod=4351
It works fine afaik.