vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Sidebar Anywhere (Formerly Sidebar for Activity Stream) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=283307)

moonfox 07-15-2012 02:30 PM

Looks very nice!

I tried it but on my custom style I have sidebar width var set to 300px (because of ads I have that are that width). It works on forum home but on all other pages shows as the default 270px. Let me know if I am missing something.

I reverted to using everywhere sidebar. It has an option within the mod cp to set sidebar width.

moonfox 07-15-2012 03:01 PM

I am also getting the vertical collapse button in my custom style with your mod. I don't get this in ESB although I don't remember if I had to change anything to achieve this, and there is no setting in ESB mentioning it.

djbaxter 07-15-2012 03:58 PM

Quote:

Originally Posted by moonfox (Post 2348336)
I am also getting the vertical collapse button in my custom style with your mod. I don't get this in ESB although I don't remember if I had to change anything to achieve this, and there is no setting in ESB mentioning it.


Add the following to additionalcss.css

Code:

#sidebar_button_link {
display:none !important;
}

#sidebar_container a.collapse {
display: none !important;
}


karlm 07-15-2012 11:44 PM

Option in ACP for width would be good to implement in future release..cough cough :)

djbaxter 07-15-2012 11:59 PM

True. But that's not gonna help that cough of yours...

In the meantime:

AdminCP -> Style Manager -> Style Variable Editor -> Sidebar -> forum_sidebar_width

and repeat for cms and blog if you have the suite and use those elements.

BirdOPrey5 07-16-2012 09:58 AM

OK width will be picked up off the stylevar in the next version- will look into implemented a disable for vertical collapse as well.

tpearl5 07-16-2012 03:07 PM

BOP, would consider adding the ability to specify different blocks based on "THIS SCRIPT ="?

BirdOPrey5 07-16-2012 09:50 PM

Not likely to happen, no idea how that code works.

tpearl5 07-17-2012 06:53 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2348790)
Not likely to happen, no idea how that code works.

It's just the code that identifies what pages are what. For example, showthread, index, etc.

BirdOPrey5 07-17-2012 07:53 PM

My bad- I understand how "THIS_SCRIPT" works- that is in most of my mods. I meant in my programming of this mod I didn't come across anything that would let me choose which forum-blocks load per page. I know everywhere sidebar has that option but at this moment I don't know how I would begin to implement such an option- truth be told this is a fairly simple mod all things considered- I was not planning on complicating it by allowing per-script options.


All times are GMT. The time now is 12:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01389 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete