![]() |
1 Attachment(s)
Quote:
Quote:
|
1 Attachment(s)
Quote:
2) The vertical collapse is attached. It is probably a global setting somewhere - it is the same collapse button as the forums. I just need to find out where it is and turn it off. |
Ahhh... those are collapses for each individual forum block. In my tests it is remembering individual collapsed blocks between pages which is good.
But I've never seen an option to disable them- do you have them disabled on the Forum Index sidebar somehow? Looking at the various block_* templates... This one for example: Code:
<li> [s]You would need to edit each block_ template and remove the code in red.[/s] EDIT- Better solution in post #85 |
Quote:
Did it change after you installed this mod? |
Quote:
Code:
#sidebar_container a.collapse { |
Quote:
|
Quote:
Edit your FORUHOME template. Find the line: Code:
<div id="content_container" class="{vb:raw $sidebar_class} <vb:if condition="$show['sidebarposition'] == 'left'">contentright</vb:if>"> Code:
<div id="content_container" class="{vb:raw $sidebar_class} <vb:if condition="$show['sidebarposition'] == 'left'">contentright</vb:if>" style="margin-top: -40px;"> |
^^^ Thank you.
|
Quote:
Correction: It DOES work but only if you add this to the TOP of additionalcss.css What I added was this: Code:
#sidebar_button_link { |
weird. You can use !important to force it to work anywhere-
Code:
display: none !important; |
Looks very nice!
I tried it but on my custom style I have sidebar width var set to 300px (because of ads I have that are that width). It works on forum home but on all other pages shows as the default 270px. Let me know if I am missing something. I reverted to using everywhere sidebar. It has an option within the mod cp to set sidebar width. |
I am also getting the vertical collapse button in my custom style with your mod. I don't get this in ESB although I don't remember if I had to change anything to achieve this, and there is no setting in ESB mentioning it.
|
Quote:
Add the following to additionalcss.css Code:
#sidebar_button_link { |
Option in ACP for width would be good to implement in future release..cough cough :)
|
True. But that's not gonna help that cough of yours...
In the meantime: AdminCP -> Style Manager -> Style Variable Editor -> Sidebar -> forum_sidebar_width and repeat for cms and blog if you have the suite and use those elements. |
OK width will be picked up off the stylevar in the next version- will look into implemented a disable for vertical collapse as well.
|
BOP, would consider adding the ability to specify different blocks based on "THIS SCRIPT ="?
|
Not likely to happen, no idea how that code works.
|
Quote:
|
My bad- I understand how "THIS_SCRIPT" works- that is in most of my mods. I meant in my programming of this mod I didn't come across anything that would let me choose which forum-blocks load per page. I know everywhere sidebar has that option but at this moment I don't know how I would begin to implement such an option- truth be told this is a fairly simple mod all things considered- I was not planning on complicating it by allowing per-script options.
|
I have tried to add the sidebar on custom pages (or at least a page associated with another product)
In this case it is DownloadsII, which has a THIS_SCRIPT name defined as below define('THIS_SCRIPT', 'downloads2'); So for the "custom" page I have the following in the config register|register*30 <-- this was here originally downloads2|smoothred Now this is being ignored. So I assume it is because of the incorrect template name, which is actually Smooth Red. I have tried enclosing in quotes but this doesn't work either. Is this a problem with the specified template name, or is the problem likely somewhere else? Thanks |
Quote:
|
Quote:
|
Quote:
index|forumhome now luck also tried FORUMHOME |
Quote:
To find out the template name go to Admin CP -> Settings -> Options -> General Settings -> Add Template Name in HTML Comments -> Yes Now open the Downloads II page, and view the source in your web browser. The first or second line will be something like: Code:
<!-- BEGIN TEMPLATE: iframer_bop5_vb4 --> Quote:
Quote:
|
A quick request: Would it be possible to show / hide the sidebar collapse button based on group membership?
|
Quote:
|
Quote:
Yes, I had templates and styles confused |
Quote:
|
Quote:
|
For fear of asking another silly question, but why would my sidebar be on the right of the CMS section, but on the left in the activity and forum modules?
Looks to me like a vBulletin issue and not specifically one of this mod, but not sure.. EDIT, ok I understand the CMS doesn't use the LHS/RHS sidebar configuration at all and this is rather embedded in the grid structure... more work for me to do :) |
After further investigation it seems setting the width via the stylevar forum_sidebar_width does indeed work to re-size the sidebar width on all pages.
If that is not working for you please link me to an example page. |
Quote:
I currently use the other coder's mod and so would be interested to see if yours provides any performance increase etc |
this works great ty
|
Quote:
|
@Bird: My suggestion for this mod: https://vborg.vbsupport.ru/showthrea...47#post2353847
|
Quote:
|
Quote:
Quote:
|
Updated to version 2.1.0
Added option to prevent collapsing of sidebar by usergroup (including FORUMHOME sidebar) If upgrading be sure to go back to the settings to set which usergroups have permission to collapse the sidebar. By default all the built in usergroups (besides banned) have permission. |
Thanks for the update :)
|
All times are GMT. The time now is 07:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|