Well, I managed to find the info I was after in ref to force-setting the sidebar to collapsed mode by default over at
vbulletin.com forums.
However, there is a problem in that with ESB enabled it ignores the script. Mind you I've only just installed the script (which works great incase anyone else was after something like this), and am about to head out so can't debug it til I get home later tonight. But when I get time I'll have a look into it and see about adding the code to work with ESB, and unless someone beats me to it I'll post the mod here incase anyone wants it,
1 problem solved, an another bug pops up, lawl. Typical, hehehe.
EDIT: K, quickly had time to fiddle an figured it instantly out. In order to have the sidebar defaulted to collapsed using ESB you have to either edit the product xml file and import that, or you have to edit the sidebarext_temp template. Either way its the same code to add above both lines that are ref'd via "sidebar.js".
Okay to default it to collapsed simply search for the TWO lines (both are identical so just repeat the find):
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
And above both add:
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar-closed.js?v={vb:raw vboptions.simpleversion}"></script>
And of course upload the attached javascript file to the clientscript directory.
Thats it. Course we can go further and make it a full option easy enough I guess.
Oh and to make it easier I've quickly modded the 1.4.3 ESB with the above code for anyone who doesn't wanna fiddle with the templates, hehe. Hope it helps,
However I have found a bug in ESB, not sure why it happens and haven't fully tested/checked how many other areas it effects. But on some styles, when ESB is enabled, and you go to the forum home (forum.php) area. Some images get blanked or something. As I said though I've only just noticed this and haven't got the time to debug atm. But thought it best to bring it to attention.
EDIT: Quickly added a before/after image so you can see what I mean about the transparency or hiding bug. ESB_Disabled is of course what it looks like when the product isn't running. And as you'll see when its enabled for some reason the background image for those areas vanishes. Anyways, better rush else will be late, lawl. Will look further into the code when I get home later.