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
  #422  
Old 12-21-2018, 02:10 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gnrx View Post
After type this question, yes, I think, the problem isn't in the mod, problem is in the style...

Actually, I use a Christmas style <snipped>
Ok, let's try it a different way...

go to admincp> forums & moderators> Forum Blocks Manager

look at the blocks you have set for those particular forums, click edit block for each one that displays and see if the width is specified in those blocks.

This can be in the "block content" field OR in the "block template to use" field



To look in the template itself you'd look and see what the template is called (in the example picture it's block_html_google ), then go to your style and find that template & look for width settings.

If you cannot locate the issue, here is a final solution that may help you:


Go to admincp> Settings> Options> general settings>Add Template Name in HTML Comments> set to YES.

Then open your site in google chrome, go to the page that isn't displaying properly and right click on the sidebar, choose inspect.

It will display the code and allow you to see which template needs to be adjusted, here is an example from my page to show you what it should look like:



once you find the template that isn't displaying the way you'd like, you can go to styles & templates> the style you're trying to fix> find the offending template and edit it directly.

Have a lovely weekend
Reply With Quote
  #423  
Old 02-10-2019, 09:46 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

budget101...Not only has a weekend gone by, but more than a month has passed ...
They came Christmas ... then I did server migration to a self managed ... and as Christmas passed that "little problem" with that template did not have it ...
But after "re-adjusting" the new server and some other thing that was pending on the server I put with this ...
And ... ohh! Surprise!!!
In the new server (perhaps by chance) this problem has disappeared !!!
But I owe you a few thanks for more than a month
Reply With Quote
  #424  
Old 11-22-2019, 09:09 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
Since a some time I want made some modification in this mod but I don't know how made...
I wat explain well

In forum/index page, appears sidebar with some blocks, ok.
When enter in some forum/subforum, appears sidebar but with others blocks (really with less blocks) not the sames blocks that in index forum.

I read the txt I view instructions for ad sidebar in custom pages, but list of forums/subforums, aren't custom pages.

Is this possible?

Thanks in advance!
Reply With Quote
  #425  
Old 04-10-2020, 07:58 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello all. Just installed this mod on vBulletin 4.2.5...and for the most part...all seems to be running fine so far. Thanks much Bird of Prey!

One question. One area that I would like to add Sidebar Anywhere to is the "New Posts" page. My site just like vBulletin.org has a "New Posts" link...and I believe my site uses the same code for the New Posts page as vBulletin.org.

In the "Custom Scripts & Templates" section of Sidebar Anywhere...what would the script look like that I need to add for Sidebar Anywhere to appear on the New Posts page?

Here's the Sidebar Anywhere on how to do it...and what the syntax should be (please see attachment).

Thanks
Attached Images
File Type: png Sidebar Anywhere.png (53.1 KB, 0 views)
Reply With Quote
  #426  
Old 04-11-2020, 09:31 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.

New Posts I believe is just a search.php page IIRC so the script name would be: search

I'm not sure the template but you probably can't limit it to just new posts, it would need to be all search results or none.

Look in your template manager to see what the various Search templates are, probably something like "search_results" or the like. Unfortunately I have no installed VB4.x to look at anymore.
Reply With Quote
  #427  
Old 04-22-2020, 02:22 PM
carmine3838's Avatar
carmine3838 carmine3838 is offline
 
Join Date: May 2009
Location: napoli
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello I installed the product and it works lla great now since that in my site is installed ipbroarcade I wanted to create a block in the sidebar by recalling a php file of ipbroarcade example xxxx.arcade.php and make it become sliding. I try with all the php codes but I can't. Can you give me a script example?
Reply With Quote
  #428  
Old 06-03-2020, 12:28 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know what the newest PHP version Sidebar Anywhere works with?

I'm running PHP 5.6...and was wondering if Sidebar Anywhere works with PHP 7.0 or newer.

Thanks

p.s. I looked thru about last 10 pages of this thread...and didn't see anything mentioned newer than PHP 5.5.
Reply With Quote
  #429  
Old 06-03-2020, 12:48 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine for me on vB 4.2.5 with PHP 7.1.33
Reply With Quote
  #430  
Old 06-03-2020, 05:18 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
Working fine for me on vB 4.2.5 with PHP 7.1.33
Awesome. Thanks very much!

I'm planning on a PHP upgrade for my site very soon...and I'm in the process of reviewing all the site plugins for PHP compatibility.
Reply With Quote
  #431  
Old 03-29-2023, 01:16 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 4.2.5. thanks
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 04:12 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.07459 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
  • (2)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
  • (3)pagenav_pagelink
  • (1)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
  • (11)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