inherit
262621
0
Oct 23, 2024 13:55:55 GMT -8
Halabalu
63
October 2020
rogertxrs01
|
Post by Halabalu on Nov 20, 2023 7:21:02 GMT -8
I'm not sure if this is the right place to put this request but here goes. My board hereMy request is this, is it possible to have the shoutbox show on only the Forum main page? instead of every board as it appears now? It is below every Board, and is annoying me lol. I do hope there's a fix for this.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 20, 2023 9:30:38 GMT -8
I'm not sure if this is the right place to put this request but here goes. My board hereMy request is this, is it possible to have the shoutbox show on only the Forum main page? instead of every board as it appears now? It is below every Board, and is annoying me lol. I do hope there's a fix for this. Yes. You don't need a plugin for this tho, just a template modification (if you have multiple themes, it will need to be done on all themes). Happy to help with that, unless you'd rather push for a plugin?
|
|
inherit
262621
0
Oct 23, 2024 13:55:55 GMT -8
Halabalu
63
October 2020
rogertxrs01
|
Post by Halabalu on Nov 20, 2023 9:45:44 GMT -8
I am happy to have your help with this Kami, please tell me what I need to do.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 20, 2023 10:10:01 GMT -8
I am happy to have your help with this Kami, please tell me what I need to do. If you go to your admin panel, under the "structure" menu there's an option for "layout templates". click that, and on the subsequent scene you'll see a table with different templates (forum wrapper, etc). Click on "forum wrapper" and scroll the text box on the next page all the way to the bottom. Around Line 72 (numbers to the left of the text area) you should see the $[shoutbox] variable. If you modify this to read: {if $[route.name] == "home"} $[shoutbox] {/if}
It should only show up on non-posting / board pages (home page, custom pages, etc).
|
|
inherit
262621
0
Oct 23, 2024 13:55:55 GMT -8
Halabalu
63
October 2020
rogertxrs01
|
Post by Halabalu on Nov 20, 2023 13:56:16 GMT -8
Thank you Kami, you are awesome. Worked like a charm and just the way I like it. 👌😁
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 20, 2023 14:32:07 GMT -8
Thank you Kami, you are awesome. Worked like a charm and just the way I like it. 👌😁 You're welcome! Just a small note that if you have more than one theme, you'll need to repeat it for them all. Should be fairly quick, just wanted to call it out just in case :)
|
|