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
  #292  
Old 11-08-2013, 12:01 PM
dimmicosacerchi dimmicosacerchi is offline
 
Join Date: Jun 2009
Location: Italy
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I would like to add siderbar to the page tag. Can you help me with the call to insert? I can not make it appear on this page.
Thank you.
The page example:
dimmicosacerchi.it/forum/tags/31.12.2013.html

Thanks you very much!
Reply With Quote
  #293  
Old 12-01-2013, 01:05 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rebecca217 View Post
- The activity stream block works perfectly on the forum home and activity stream pages

- On all other pages, the thumbnail and time show up in the activity stream block, but the topic title and link don't show up.

My forum looks exactly like the screen shot Rumas posted.

Any ideas how to correct this?
Same here, too...
I'm running 4.2.1
Reply With Quote
  #294  
Old 12-25-2013, 10:36 AM
Guest20210129
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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.
It works. Thanks!
Reply With Quote
  #295  
Old 01-01-2014, 02:53 AM
PAPPACLART PAPPACLART is offline
 
Join Date: Apr 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks, but how can I change the width of the side bar, as when I change the width via the styles and templates it only changes the width on the forum home and not in other place where the sidebar is displayed?

Thanks
Reply With Quote
  #296  
Old 01-01-2014, 10:59 AM
theroles theroles is offline
 
Join Date: Jul 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello, for version 4.2.2 can ?
Reply With Quote
  #297  
Old 01-11-2014, 06:25 AM
hellboundblogge hellboundblogge is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Please check, Sidebar is not coming.

URL: http://www.thetechism.com/forum/forum.php

Thanks!
Reply With Quote
  #298  
Old 01-18-2014, 03:59 AM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have discovered that if this mod is enable on usercp.php & profile.php you are unable to accept friend requests as it hangs upon clicking saved.
I have confirmed this both by disabling the mod completely and by simply disabling the option in the ACP.
Reply With Quote
  #299  
Old 01-18-2014, 03:53 PM
eh69 eh69 is offline
 
Join Date: Feb 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rebecca217 View Post
I'm having this exact same issue, running 4.2.2. All the blocks work correctly throughout the forum, except for the activity stream block. Here's what happens:

- The activity stream block works perfectly on the forum home and activity stream pages

- On all other pages, the thumbnail and time show up in the activity stream block, but the topic title and link don't show up.

My forum looks exactly like the screen shot Rumas posted.

I checked, and there are no phrases that need updating.

Any ideas how to correct this?
I have this problem too.
Reply With Quote
  #300  
Old 01-24-2014, 01:39 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great but I have one problem. The collapse button does not work at all on the CMS page in FireFox or Chrome. Works fine with IE. Works fine on all other pages even with Fire Fox. The problem is limited to the CMS page.

So to collapse the sidebar on the CMS page I have to go to another page and collapse it. Then when I return to the CMS page it is collapsed.

I'm sure it's something I screwed up in my custom style. Any idea what could be going on here?

I'm using 4.2.0 PL2

Thanks

Update:

It's working now. I think something in the browser was not clearing out properly but after I signed off and back on a few times it started working.

Great mod. Marked as installed
Reply With Quote
  #301  
Old 01-24-2014, 07:53 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 4.2.1 and was easy to install. I love the options to disable for specific themes, forums and usergroups. However, my themes are fixed and it just makes things look so cramped. The members didn't like it so I'll have to work on a fluid theme and see how it goes with that sometime.

Tagged though
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 05:21 PM.


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.05398 seconds
  • Memory Usage 2,365KB
  • 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
  • (3)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
  • (4)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