Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: cpf on February 13, 2020, 07:01:00 AM

Title: How can I disable Quick Reply
Post by: cpf on February 13, 2020, 07:01:00 AM
I'm having a hard time figuring out where to disable Quick Reply.  Where is this option?
Title: Re: How can I disable Quick Reply
Post by: live627 on February 13, 2020, 02:51:37 PM
That option has been removed, so you'll need to edit code

Find  in ./Themes/default/Display.template.php

Code: [Select]
// Show quickreply
if ($context['can_reply'])
template_quickreply();

To hide it from everyone

Code: [Select]
// Show quickreply
//if ($context['can_reply'])
///template_quickreply();

To hide it from a specific user

Code: [Select]
// Show quickreply
if ($context['can_reply'] && $context['user']['id'] == 1)
template_quickreply();
Title: Re: How can I disable Quick Reply
Post by: 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.
Title: Re: How can I disable Quick Reply
Post by: 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.
Title: Re: How can I disable Quick Reply
Post by: Sir Osis of Liver on February 13, 2020, 04:26:13 PM
Like sidebar menus. :(
Title: Re: How can I disable Quick Reply
Post by: live627 on February 13, 2020, 04:53:09 PM
[clicks like]
Title: Re: How can I disable Quick Reply
Post by: Shambles on February 13, 2020, 06:09:13 PM
Quote from: Illori
a good few options that are in 2.0 were removed ...

You mean "a few good options"
Title: Re: How can I disable Quick Reply
Post by: marcosbr on February 13, 2020, 06:25:50 PM
 "You mean "a few good options"








Title: Re: How can I disable Quick Reply
Post by: landyvlad on February 18, 2020, 08:10:47 PM
Like sidebar menus. :(
TinyPortal is a much better way of doing that anyway, in my opinion.



re Ability to disable quick reply

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
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.
Title: Re: How can I disable Quick Reply
Post by: Illori on February 19, 2020, 04:42:39 AM
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.
Title: Re: How can I disable Quick Reply
Post by: landyvlad on February 20, 2020, 02:05:22 AM
OK mate I'll take your word for it.  :)