inherit
87736
0
Apr 7, 2020 23:18:08 GMT -8
Adrian
625
August 2006
piper05
|
Post by Adrian on Feb 8, 2019 14:54:17 GMT -8
Hey there guys for my forum, wwhefedv2.proboards.comI'm currently working on a new layout and was wondering with the sidebars if there's a way to move them further out without forcing me to change the width of the forum itself. The HTML structure of the sidebars doesn't really allow for them to be relocated in that manner. Sorry. Adjusting your forum width is the only thing you can really do to change how close to the sides of the browser the sidebars are. Edit: also is there a way to make it start with the categories because it's starting at the top with the tabbed table I'm making. Your plugins should appear on the page in the same order that they're listed in Plugins > Manage, so placing the tabbed table plugin before Sidebar Redux should keep it outside of the sidebars. If this is not the case, try reordering your plugins in Plugins > Manage and see if it makes a difference. If that doesn't work I recommend posting in the Support Board. Hey Brian, I tried posting in the support board but they moved it to the modding section but no one's helped out soooo what to do? lol.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 11, 2019 9:46:01 GMT -8
Hey Brian, I tried posting in the support board but they moved it to the modding section but no one's helped out soooo what to do? lol. You phrased your question wrong in your thread so it got moved because it sounds like a template question. You should be asking them why the elements produced by your plugins aren't appearing on the page in the same order they're listed in Plugins > Manage.
|
|
inherit
87736
0
Apr 7, 2020 23:18:08 GMT -8
Adrian
625
August 2006
piper05
|
Post by Adrian on Feb 11, 2019 18:21:04 GMT -8
ok gotcha.
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 5, 2019 10:23:43 GMT -8
Also, I have scrolling enabled and it doesn't scroll.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 5, 2019 10:36:43 GMT -8
Also, I have scrolling enabled and it doesn't scroll. "Also"? Was there a first part to this? The sidebar doesn't scroll with the page until you turn on the Fixed Positioning option in the settings tab for the respective sidebar. Assuming I'm looking at the correct forum based on your posting history you don't currently have that setting turned on.
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 5, 2019 11:17:03 GMT -8
Also, I have scrolling enabled and it doesn't scroll. "Also"? Was there a first part to this? The sidebar doesn't scroll with the page until you turn on the Fixed Positioning option in the settings tab for the respective sidebar. Assuming I'm looking at the correct forum based on your posting history you don't currently have that setting turned on. Oh, sorry.
I've been posting on other boards about this. I'm trying to get the Sidebar to appear on only one board, and also make it even with the board name. Right now it appears on all the boards and is uneven as you can see here:
I want it be only on 'Sydney's Place' board here: link and to appear there and in the topics there.
Can this be done?
Thank you.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 5, 2019 14:35:14 GMT -8
I'm trying to get the Sidebar to appear on only one board You can use the code in the spoiler at the very end of the first post of this thread to achieve this. You'd just need to replace this line: With this, substituting the number in red with the board's numerical ID found after /board/ in its URL in the address bar when viewing the board: and also make it even with the board name. The title bar with the board name isn't guaranteed to be in the same position vertically at any given time, so there's unfortunately no CSS rule that can be used to place it in the perfect spot every time.
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 5, 2019 15:05:06 GMT -8
I'm trying to get the Sidebar to appear on only one board You can use the code in the spoiler at the very end of the first post of this thread to achieve this. You'd just need to replace this line: With this, substituting the number in blue with the board's numerical ID found after /board/ in its URL in the address bar when viewing the board: and also make it even with the board name. The title bar with the board name isn't guaranteed to be in the same position vertically at any given time, so there's unfortunately no CSS rule that can be used to place it in the perfect spot every time. You mean this code? This is the code in the spoiler:
<script type="text/javascript"> // Homepage-only Sidebar Redux \\ if(pb.data('route').name != "home") { $('head').append('<style type="text/css">.sidebarr-left-td, .sidebarr-right-td { display: none; } .sidebarr-center-td { padding: 0 !important; }</style>'); // Safari Browser Fix \\ proboards.plugin.get('sidebar_redux').settings.left_enabled = 0; proboards.plugin.get('sidebar_redux').settings.right_enabled = 0; } </script>
And you mean the numbers in red?
And where do I put it? In the layout template?
Thank you.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 5, 2019 15:16:55 GMT -8
You mean this code? This is the code in the spoiler: Yes, that one. And you mean the numbers in red? Yes. Dunno why I typed blue there. And where do I put it? In the layout template? You put it where the post said to put it.
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 5, 2019 15:30:33 GMT -8
You mean this code? This is the code in the spoiler: Yes, that one. And you mean the numbers in red? Yes. Dunno why I typed blue there. And where do I put it? In the layout template? You put it where the post said to put it. It says to put it in the Global header. I tried that, plus I tried it in the board's header, then both headers, and nothing changed.
This is the code I used:
<script type="text/javascript"> // Homepage-only Sidebar Redux \\ if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) { $('head').append('<style type="text/css">.sidebarr-left-td, .sidebarr-right-td { display: none; } .sidebarr-center-td { padding: 0 !important; }</style>'); // Safari Browser Fix \\ proboards.plugin.get('sidebar_redux').settings.left_enabled = 0; proboards.plugin.get('sidebar_redux').settings.right_enabled = 0; } </script>
The code had 'homepage-only', and I want it on a certain board only, not on the homepage.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 6, 2019 9:16:13 GMT -8
if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) { This line isn't typed the same way it was in my post so it's causing the JavaScript to error out. There should be two closing parenthesis before the opening curly brace at the end of the line. The code had 'homepage-only', and I want it on a certain board only, not on the homepage. Except you're substituting the line that made the code homepage-only so the comment on the code saying it's homepage-only is now irrelevant.
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 6, 2019 9:44:35 GMT -8
if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) { This line isn't typed the same way it was in my post so it's causing the JavaScript to error out. There should be two closing parenthesis before the opening curly brace at the end of the line. The code had 'homepage-only', and I want it on a certain board only, not on the homepage. Except you're substituting the line that made the code homepage-only so the comment on the code saying it's homepage-only is now irrelevant. Yeah, so this is what I pasted on the Global header:
<script type="text/javascript"> // Homepage-only Sidebar Redux \\ if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) {{ $('head').append('<style type="text/css">.sidebarr-left-td, .sidebarr-right-td { display: none; } .sidebarr-center-td { padding: 0 !important; }</style>'); // Safari Browser Fix \\ proboards.plugin.get('sidebar_redux').settings.left_enabled = 0; proboards.plugin.get('sidebar_redux').settings.right_enabled = 0; } </script>
It's still showing on the homepage and all the other boards.
I also tried it this way:
<script type="text/javascript"> // Homepage-only Sidebar Redux \\ if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) { $('head').append('<style type="text/css">.sidebarr-left-td, .sidebarr-right-td { display: none; } .sidebarr-center-td { padding: 0 !important; }</style>'); // Safari Browser Fix \\ proboards.plugin.get('sidebar_redux').settings.left_enabled = 0; proboards.plugin.get('sidebar_redux').settings.right_enabled = 0; }} </script>
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 6, 2019 10:09:55 GMT -8
if(!pb.data('page').board || (pb.data('page').board && pb.data('page').board.id != 151) {{ You doubled the curly braces instead of the parenthesis. It's supposed to look like this:
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jun 6, 2019 11:28:54 GMT -8
That worked. Thank you!
|
|
inherit
258839
0
Jun 28, 2019 13:57:30 GMT -8
ddinblue
1
June 2019
ddinblue
|
Post by ddinblue on Jun 28, 2019 11:45:51 GMT -8
Good day, I was wondering if it is possible to make the sidebar visible only for the registered users. And thank you for the plugin
|
|