SMF Support > SMF 2.0.x Support
Locked topic - no reply
AlenNS:
When I lock some topic and check on test account there is quick reply box with warning that topic is locked and only admins and mods can answer ( No.1 on picture ) and text box ( No.2 on piture ).
I want to remove that box when topic is locked and leave only warning that topic is locked.
Bulakbol:
Disable quick reply. :) Or edit your Display.template.php and look for
--- Code: ---if ($context['can_reply'] && !empty($options['display_quick_reply']))
--- End code ---
--- Code: (replace) ---if (($context['can_reply'] && !empty($options['display_quick_reply'])) && !$context['is_locked'])
--- End code ---
AlenNS:
Didn't helped. :(
greyknight17:
Did you edit the Display.template.php file for your own custom theme (it probably has one)?
AlenNS:
I didn't changed both of these lines.
--- Code: ---if ($context['can_reply'] && !empty($options['display_quick_reply']))
--- End code ---
When I changed, the quick reply box disappeared but there is no warning that topic is locked.
I'm using Babylon theme.
Navigation
[0] Message Index
[#] Next page
Go to full version