inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,783
January 2015
msg
|
Post by Lynx on Nov 5, 2017 12:17:00 GMT -8
I've got this code in my global header:
<!-- Remove Quick Reply box on Game Night Signup boards --> <script> $(document).ready(function() { if (pb.data('route').name == "thread" && (pb.data('board_id') == "127" || pb.data('board_id') == "172" || pb.data('board_id') == "173")) { $('.container.quick-reply').hide(); } }); </script>
This used to hide the Quick Reply on the 3 boards with ID's of: 127, 172 and 173 (our game signup boards).
However, for some reason, this code is no longer hiding the Quick Reply box on any of those boards. We use the Custom Post Template plugin on those boards, so we need to make sure that people are using Reply button to get the template to show - since it doesn't show in the Quick Reply box.
Why would this code stop working all of a sudden, and how can I change it so it works again?
Thanks!
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 5, 2017 12:30:08 GMT -8
Hello LynxJust entered your code in the Global Header (test site) and added three of my board id's and working just fine.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,783
January 2015
msg
|
Post by Lynx on Nov 5, 2017 12:35:35 GMT -8
Thanks for testing, aRMY83! I thought I might be able to see it, but one of my members can also see the QR box - when it should be hidden from everyone. Now it makes it really confusing as to why it's not working on my site. If anyone's interested in looking, it's on my Casual Gamers forum.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 5, 2017 12:47:50 GMT -8
Just went to board id 172 and clicked on Battle for LA. and see no Quick Reply box:
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,783
January 2015
msg
|
Post by Lynx on Nov 5, 2017 15:41:18 GMT -8
Yeah, I just checked and you need to be a member to post there - so it probably won't show for guests. I tried setting it so guests can post, logged out and it didn't show - just like your image. However, when I'm logged in, I can see it. I don't know - it's got me totally baffled, especially since it worked for a long time - and I haven't touched that code in ages. Maybe Brian or Ulises can take a quick look for me. Thanks for checking, aRMY83 - I appreciate it!
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 5, 2017 15:56:52 GMT -8
Lynx Can you try disabling the Monetary System plugin and see if it works?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,783
January 2015
msg
|
Post by Lynx on Nov 5, 2017 15:58:53 GMT -8
Lynx Can you try disabling the Monetary System plugin and see if it works? Good call, Ulises. Disabling that did get it working properly. Any idea why, or should I post in Peter's support thread? EDIT: I just double-checked and Yootil, Monetary System and Monetary Shop are all up-to-date.
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 5, 2017 16:04:10 GMT -8
No idea. Though, I'm not sure if the Monetary System manipulates the quick reply in any way.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,783
January 2015
msg
|
Post by Lynx on Nov 5, 2017 16:05:26 GMT -8
No idea. Though, I'm not sure if the Monetary System manipulates the quick reply in any way. Hmm, there is an option to earn from the Quick Reply - which I had enabled recently. Let me try disabling it again and see what that does. EDIT: Disabling Earning from Quick Reply didn't work. I'll post in Peter's support thread to see if he can figure out a workaround. We need to be able to use the Monetary System for our RP groups. Thanks for taking a look, Ulises!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Nov 10, 2017 11:24:02 GMT -8
No idea. Though, I'm not sure if the Monetary System manipulates the quick reply in any way. Hmm, there is an option to earn from the Quick Reply - which I had enabled recently. Let me try disabling it again and see what that does. EDIT: Disabling Earning from Quick Reply didn't work. I'll post in Peter's support thread to see if he can figure out a workaround. We need to be able to use the Monetary System for our RP groups. Thanks for taking a look, Ulises ! Display none hurts some JavaScript. Can I reccomend setting visibility to hidden and if you need more space set height and width to 0px.
|
|