vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=283307

Sidebar Anywhere (Formerly Sidebar for Activity Stream) by BOP5
by BirdOPrey5
22 May 2012 14:51

4 Attachment(s)
Brought to you by BirdOPrey5
www.Qapla.com


Version 2.2.0

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.

Live Demo: Qapla.com Activity Stream

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.

Full view of admin cp options: http://www.qapla.com/mods/ss/sidebar...tings_full.jpg.

The old version Zip file Sidebar for Activity Stream by BOP5 v11.zip works only on the Activity Stream.

PLEASE READ THE INSTRUCTIONS INCLUDED WITH THIS MOD- THEY ANSWER MOST OF THE QUESTIONS ABOUT HOW TO USE IT.

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 22 May 2012 14:52

Reserved.

BlueCheri 22 May 2012 14:53

Good idea, will use after updating.

G!

Trangalleiro 22 May 2012 18:03

Thanks Joe, awesome as always

BirdOPrey5 22 May 2012 19:57

Thanks all.

I noticed the forum blocks templates weren't being cached on the AS so I updated this to version 1.1 to force the caching.

Gemma 22 May 2012 20:17

I got all excited when I read the thread title, I thought you had converted the activity stream into a sideblock!

However, this is a pretty cool wee add-on in its own right. Thanks for releasing it :)

kylek 22 May 2012 22:27

I did too, hopefully someone comes up with one. But this works great also!

Dr.osamA 22 May 2012 23:39

nice worke as always bro

working in VB 4.1.12 ???

Hippy 22 May 2012 23:42

thanks neighbor

Much needed improvement

BirdOPrey5 23 May 2012 00:03

Quote:

Originally Posted by Dr.osamA (Post 2331701)
nice worke as always bro

working in VB 4.1.12 ???

No, 4.2.0+ as it says in the title. There is no activity stream in 4.1.12.

Dr.osamA 23 May 2012 00:24

Quote:

Originally Posted by BirdOPrey5 (Post 2331716)
No, 4.2.0+ as it says in the title. There is no activity stream in 4.1.12.

thank you bro

but i see this in sorce


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for that i asked

Hippy 23 May 2012 00:30

Quote:

Originally Posted by Trangalleiro (Post 2331603)
Thanks Joe, awesome as always

Off topic .....house is da man that avatar rules. ..

Back on topic. I been following this B2B beta and this a must have that again BOP5

BirdOPrey5 23 May 2012 01:32

Quote:

Originally Posted by Dr.osamA (Post 2331720)
thank you bro

but i see this in sorce


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for that i asked


"minversion" means "Minimum Version" so it says 4.2.0 Alpha is the Minimum version.

4.2.0 is greater than 4.1.12 because 2 is greater than 1. The 12 doesn't matter in this case.

Hippy 23 May 2012 02:38

@ BirdOPrey5
cosmetically the sidebar is a tad high compared to the forum home
works perfect tho..
thanks

gremrock 23 May 2012 09:01

Thanks checked the code works fine! Good idea too considering this is relatively new!


All times are GMT. The time now is 07:11.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.