The new Activity Stream for VB 4.2.0 is very nice but it feels like it is missing something- and what it is missing is a sidebar. Ideally at some point VB will release a custom sidebar built just for the Activity Stream but until then this quick mod will let you use the built in forum sidebar on the Activity Stream.
As of version 2.0 besides just working on the Activity Stream the mod can now add a sidebar to ANY vBulletin page including forums, threads, groups, albums, who's online, forum leaders, and more. In fact you can easily add the sidebar even to custom pages from custom mods.
New Features
Now works on ANY vBulletin Page (except blogs which have their own sidebar)
Option to align sidebar with page content or top of page
Option to Disable Sidebar Collapse Option (By Usergroup in 2.1.0)
Collapsed sidebar state now "remembered" on different pages
Option to enable Sidebar by Usergroup
Option to disable Sidebar by Forum (if enabled for forums/threads)
Option to disable Sidebar in specific styles
Options to disable sidebars if mobile devices detected*
NOTE: To enable mobile device detection options you must install the Mobile Browser Detector mod.
You can enable or disable the Sidebar Anywhere independently of the forum sidebar but they will both display the same content (blocks.)
NEW - If you need to have different blocks on different pages check out this add-on.
You must have at least 1 block setup and active for the sidebar to show.
Unlike most of my other mods this mod is enabled by default upon installation. Be default it is setup to show only on the Activity Stream and register.php pages.
I am aware there is already a mod out there "Everywhere Sidebar" by another coder. This is completely different code and I made this because my "Staff Online Sideblock" mod did not work on Sidebar Everywhere but it does work on this mod.
This mod requires at least VB 4.2.0 to work on the Activity Stream but should work on older VB 4.x.x versions on other pages.
On one of my pages I need to raise the sidebar up a bit. How can I adjust the position up? I tried entering a negative number like *-10 but that didn't work.
Update:
I changed padding-top to margin-top in the plugin process_templates_complete and that worked. Now I can use negative numbers. The padding-top style specification does not allow negative numbers apparently.
Actually it only works if you change the layout content to a fixed with. If you collapse the sidebar it won't expand then.
Argh...
Try fiddling with .fullwidth and .article_preview in the css templates (reference the default css for each from vbulletin-chrome.css then overwrite it via additional.css, if something looks wonky after adding/editing the definitions to additional.css simply remove from additional.css to fix .
... content_container or similar may also need to be looked into, depending how it's displaying.
Try fiddling with .fullwidth and .article_preview in the css templates (reference the default css for each from vbulletin-chrome.css then overwrite it via additional.css, if something looks wonky after adding/editing the definitions to additional.css simply remove from additional.css to fix .
... content_container or similar may also need to be looked into, depending how it's displaying.
Changing .fullwidth from 100% to 98% in vbcms.css did the trick! Nice suggestion, thank you.
Now the question I have is do you have any idea how to do the same for the header?
Changing .fullwidth from 100% to 98% in vbcms.css did the trick! Nice suggestion, thank you.
Now the question I have is do you have any idea how to do the same for the header?
Hmm it's either what I see in the code as:
Code:
<h1 class="header">
Or
Code:
<div class="title">
So perhaps overwriting them in additional.css will do the trick with your 98% width and remember for the header class to use the h1 tag in the definition when defining it else it will mess up the actual main "header" class instead of the H1 version of it .
So perhaps overwriting them in additional.css will do the trick with your 98% width and remember for the header class to use the h1 tag in the definition when defining it else it will mess up the actual main "header" class instead of the H1 version of it .
Would you happen to know how to just disable the header entirely?