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)

BirdOPrey5 01-12-2013 01:56 PM

Quote:

Originally Posted by LiveXenon (Post 2394320)
@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.

LiveXenon 01-12-2013 04:41 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2396446)
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...

Mickie D 01-13-2013 05:38 PM

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

dannycutts 01-18-2013 11:42 AM

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

BirdOPrey5 01-31-2013 08:46 PM

1 Attachment(s)
Quote:

Originally Posted by LiveXenon (Post 2396468)
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 (Post 2396633)
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)
https://vborg.vbsupport.ru/attachmen...1&d=1359668720

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 (Post 2397697)
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.

Guest20210129 02-01-2013 06:45 PM

Quote:

Originally Posted by Vidaelectronica (Post 2396409)
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

https://vborg.vbsupport.ru/external/2013/02/59.png

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? :confused:

Thanks!

hugh_ 02-15-2013 08:49 PM

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!

BirdOPrey5 03-03-2013 11:22 AM

Quote:

Originally Posted by hugh_ (Post 2404508)
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

BirdOPrey5 03-03-2013 11:29 AM

Quote:

Originally Posted by Vidaelectronica (Post 2401143)
No idea of this? :confused:

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.

malmazan 03-05-2013 07:32 PM

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.


All times are GMT. The time now is 06:28 PM.

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.01380 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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