Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sidebar Anywhere (Formerly Sidebar for Activity Stream) by BOP5 Details »»
Sidebar Anywhere (Formerly Sidebar for Activity Stream) by BOP5
Version: 2.2.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 05-21-2012 Last Update: 12-05-2012 Installs: 370
Uses Plugins Auto-Templates
Translations  
No support by the author.

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!

Download Now

File Type: zip Sidebar for Activity Stream by BOP5 v11alt.zip (6.0 KB, 784 views)
File Type: zip Sidebar Anywhere by BOP5 v220.zip (9.2 KB, 1841 views)

Screenshots

File Type: jpg sidebar_anywhere_activity.jpg (148.5 KB, 0 views)
File Type: jpg sidebar_anywhere_forumdisplay.jpg (126.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 01-12-2013, 01:56 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LiveXenon View Post
@BirdOPrey5


Hey, I have installed your product and it's very useful, I love it!

I need your help, please: I want to put sliding sidebar in Forumdisplay... How can I do it?

Thank you so much!
Make sure you downloaded: Sidebar Anywhere by BOP5 v220.zip

Forumdisplay will be a yes/no option in settings. Just choose YES.
Reply With Quote
  #193  
Old 01-12-2013, 04:41 PM
LiveXenon LiveXenon is offline
 
Join Date: Jan 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Make sure you downloaded: Sidebar Anywhere by BOP5 v220.zip

Forumdisplay will be a yes/no option in settings. Just choose YES.
I mean sliding sidebar with the scroll of the page...
Reply With Quote
  #194  
Old 01-13-2013, 05:38 PM
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problem with the width when changing it in the style vars?

It works on the forumhome, but it does not work the width on any other page???

It stays at 250px, I would like to make it 200px on all pages not just the forumhome page?

EDIT

Additional problem:
It seems that turning off mobile devices is not functioning, members are reporting its still on using iphones, ipads, and androids?

Thank you for any help.
Mick
Reply With Quote
  #195  
Old 01-18-2013, 11:42 AM
dannycutts dannycutts is offline
 
Join Date: Oct 2010
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can the sidebar be displayed on the left side of the site instead of the right hand side?

Also.....

Can I easily adjust the width of teh sidebar?

Cheers

Danny
Reply With Quote
  #196  
Old 01-31-2013, 08:46 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LiveXenon View Post
I mean sliding sidebar with the scroll of the page...
If it doesn't happen with the default sidebar it won't happen with this one.

Quote:
Originally Posted by Mickie D View Post
Having a problem with the width when changing it in the style vars?

It works on the forumhome, but it does not work the width on any other page???

It stays at 250px, I would like to make it 200px on all pages not just the forumhome page?

EDIT

Additional problem:
It seems that turning off mobile devices is not functioning, members are reporting its still on using iphones, ipads, and androids?



Thank you for any help.
Mick
For the mobile issue- did you install the mobile detection product? Here: https://vborg.vbsupport.ru/showthread.php?t=292704

For the sidebar width it works on my forum (Here I set the width to a narrow 150 for an example on the activity stream)


So not sure why it wouldn't work on yours- possibly a custom style? Can you see if it works on the default style?

Quote:
Originally Posted by dannycutts View Post
Can the sidebar be displayed on the left side of the site instead of the right hand side?

Also.....

Can I easily adjust the width of teh sidebar?

Cheers

Danny
In Admin CP -> Settings -> Options -> Forum Sidebar and Block Options you can choose Left or Right. Note this only works for the newer version of this mod- "Sidebar Anywhere" not Sidebar for Activity Stream.

The width should obey the stylevar forum_sidebar_width.
Attached Images
File Type: jpg sidebar-width.jpg (51.1 KB, 0 views)
Reply With Quote
  #197  
Old 02-01-2013, 06:45 PM
Guest20210129
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Vidaelectronica View Post
Hello everyone. I have a little problem:

It seems that the style of the tag cloud (bigger font if the tag is more used) is lost when the sidebar is shown in other place different from forum.php



Do anyone have experienced this and have solved it?

You can also spot the difference

here: http://www.tmas.es/foro/forum.php

and here: http://www.tmas.es/foro/otros-centro...13-cefaal.html

Thanks!
No idea of this?

Thanks!
Reply With Quote
  #198  
Old 02-15-2013, 08:49 PM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this mod working perfectly with all the pages I want except one. For some reason attachmentgallery|attachmentgallery isn't working with the following:

the scriptname: attachmentgallery

error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'attachmentgallery');
$phrasegroups = array('posting','attachment_image','album');
$specialtemplates = array();
$globaltemplates = array(
'attachmentgallery',
'ag_shell',
'ag_bit',
'attachmentgallery_advopt',

https://vborg.vbsupport.ru/showthread.php?t=264966

Any idea why?

Thank you!
Reply With Quote
  #199  
Old 03-03-2013, 11:22 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hugh_ View Post
I have this mod working perfectly with all the pages I want except one. For some reason attachmentgallery|attachmentgallery isn't working with the following:

the scriptname: attachmentgallery

error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'attachmentgallery');
$phrasegroups = array('posting','attachment_image','album');
$specialtemplates = array();
$globaltemplates = array(
'attachmentgallery',
'ag_shell',
'ag_bit',
'attachmentgallery_advopt',

https://vborg.vbsupport.ru/showthread.php?t=264966

Any idea why?

Thank you!
The main template name for that mod is: ag_shell not attachmentgallery.

So try:

attachmentgallery|ag_shell
Reply With Quote
  #200  
Old 03-03-2013, 11:29 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vidaelectronica View Post
No idea of this?

Thanks!
Looks like I left out a special CSS template if the tagcloud is used.

For now you can fix by going to Admin CP -> Products & Plugins -> Plugin Manager

Edit the template Sidebar Anywhere CSS

Erase everything in the plugin and replace it with this code:

Code:
global $vbulletin, $sb_temps;

if ($sb_temps)
{

  if ($vbulletin->options['storecssasfile'])
  {
    $template_hook[custom_css_links] .= '<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style' . str_pad($style['styleid'], 5, '0', STR_PAD_LEFT) . $vbulletin->stylevars['textdirection']['string'][0] . '/sidebar.css" />';

    $template_hook[custom_css_links] .= '<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style' . str_pad($style['styleid'], 5, '0', STR_PAD_LEFT) . $vbulletin->stylevars['textdirection']['string'][0] . '/widgets.css" />';

    $template_hook[custom_css_links] .= '<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style' . str_pad($style['styleid'], 5, '0', STR_PAD_LEFT) . $vbulletin->stylevars['textdirection']['string'][0] . '/forumhome.css" />';

    $template_hook[custom_css_links] .= '<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style' . str_pad($style['styleid'], 5, '0', STR_PAD_LEFT) . $vbulletin->stylevars['textdirection']['string'][0] . '/tagcloud.css" />';
  }
  else
  {
    $template_hook[custom_css_list] .= 'sidebar.css,widgets.css,forumhome.css,tagcloud.css';
  }

}
The tags should now be correct sizes on all pages.

I will make sure this fix is in the next update.
Reply With Quote
  #201  
Old 03-05-2013, 07:32 PM
malmazan malmazan is offline
 
Join Date: Feb 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm wondering how to make it work on tags.php, which gets lots of hits. The problem is that there seems to be no template associated with that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05650 seconds
  • Memory Usage 2,384KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (15)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete