Former Member
inherit
guest@proboards.com
253222
0
Nov 22, 2024 16:16:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 19, 2019 6:18:20 GMT -8
Hi. Is there an easy way to have the quick reply thing in only one theme? Like, without having to manually edit each theme to not have it?
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Dec 19, 2019 8:31:03 GMT -8
Not that I know of. Quick reply is handled through a combination of this variable in the Thread layout template: $[quick_reply] And this setting in Forum Settings, under "Boards & Threads": On any theme that you don't want quick reply to appear, you'll have to remove or comment out the variable from the layout template. --- I guess you could also have a plugin that removes quick reply, and have it inactive on the theme where you want quick reply to appear. $(function() { (function removeQuickReply() { $('.container.quick-reply').remove(); })(); });
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Dec 19, 2019 11:00:53 GMT -8
I guess you could also have a plugin that removes quick reply, and have it inactive on the theme where you want quick reply to appear. $(function() { (function removeQuickReply() { $('.container.quick-reply').remove(); })(); }); I like this. It's elegant. By enabling the Quick Reply in the forum settings and selecting which themes on which it's being hidden, the control is in a single location.
A brute-force method would be to enable the Quick Reply then place this in the Global Header or Global Footer: <style> /* Hide Quick Reply on all themes */ .container.quick-reply{display:none;} </style> Then add this to the bottom of the Style Sheet for the theme(s) where the Quick Reply is desired. /* Force display of Quick Reply on this theme only */ .container.quick-reply{display:block!important;} This takes an additional move but it would accomplish the task.
|
|
Former Member
inherit
guest@proboards.com
253222
0
Nov 22, 2024 16:16:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 19, 2019 13:38:49 GMT -8
I guess you could also have a plugin that removes quick reply, and have it inactive on the theme where you want quick reply to appear. $(function() { (function removeQuickReply() { $('.container.quick-reply').remove(); })(); }); I like this. It's elegant. By enabling the Quick Reply in the forum settings and selecting which themes on which it's being hidden, the control is in a single location.
A brute-force method would be to enable the Quick Reply then place this in the Global Header or Global Footer: <style> /* Hide Quick Reply on all themes */ .container.quick-reply{display:none;} </style> Then add this to the bottom of the Style Sheet for the theme(s) where the Quick Reply is desired. /* Force display of Quick Reply on this theme only */ .container.quick-reply{display:block!important;} This takes an additional move but it would accomplish the task. Ah thanks. I didn't think about that.
|
|