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)

sticky 10-09-2012 01:18 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2371236)
I'm not having that issue on my site with Chrome. What browser are you using?

And you are talking about editing posts on showthread, correct?

Yes. Also using Chrome.

Only happens when I have the mod enabled....

sticky 10-10-2012 03:18 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2371448)
! = exclamation point, you need to add it to the code... Before the $.

Just seeing if you would like to see it in use on my forum so you understand what I mean. I was planning on purchasing some of your products anyway so let me know if you have time that way we could also install.

sticky 10-11-2012 08:09 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2371236)
I'm not having that issue on my site with Chrome. What browser are you using?

And you are talking about editing posts on showthread, correct?

I think I found the problem: https://vborg.vbsupport.ru/showpost....1&postcount=47

sticky 10-12-2012 03:26 AM

Quote:

Originally Posted by sticky (Post 2372247)

Yep, that was it. Compatibility issue.

sticky 10-12-2012 05:48 AM

Any way to make it to the sidebar is disabled for iphones and ipad's? Basically all mobile devices?

BirdOPrey5 10-16-2012 06:21 PM

There isn't any such feature.

Asok 10-18-2012 01:03 AM

What am I doing wrong. I have installed this and it will not show up. Only the activity stream is. I am using VB 4.2.0.

Jamie G 10-19-2012 10:37 PM

Is there a way to use this instead of the blog sidebar?

Thanks,
J

sticky 10-20-2012 08:48 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2373522)
There isn't any such feature.

Could it be programmed? Users are complaining the sidebar causes problems when browsing from a mobile device like an Iphone.

BirdOPrey5 10-21-2012 09:57 PM

Quote:

Originally Posted by Asok (Post 2373896)
What am I doing wrong. I have installed this and it will not show up. Only the activity stream is. I am using VB 4.2.0.

Did you download the right version? You need to download Sidebar Anywhere by BOP5v210.zip

Then once installed you have to go to the mod settings and enable it on specific pages- by default it is only enabled in the Activity Stream.

Quote:

Originally Posted by Jamie G (Post 2374385)
Is there a way to use this instead of the blog sidebar?

Thanks,
J

Instead of? I'm not sure how you would disable the blog sidebar, maybe via css display:none. You can add blog as a custom page, it works, I've tested it.

Quote:

Originally Posted by sticky (Post 2374619)
Could it be programmed? Users are complaining the sidebar causes problems when browsing from a mobile device like an Iphone.

Realistically not anytime soon. I'm working on upgrading my 3.x site to VB 4 so after that I may go back and add some useful features to this mod.

piratarg 11-03-2012 12:31 PM

Hi, Is possible to exclude blocks of pages by their ID?

example: "blockid=1" not show in forumdisplay

Good mod, very thanks for this!

sticky 12-02-2012 10:11 PM

1 Attachment(s)
Any idea why having the sidebar everywhere causes formatting issues with non-desktop browsers like on phones and tablets?

BirdOPrey5 12-04-2012 10:50 PM

My guess is because the mobile browsers do something to fake their widths, which works well most of the time.

I recently got a tablet (finally) I will be playing with it and see if there is anything I can do.

sticky 12-04-2012 11:42 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2388510)
My guess is because the mobile browsers do something to fake their widths, which works well most of the time.

I recently got a tablet (finally) I will be playing with it and see if there is anything I can do.

Thanks. Ya it's only tablets and phones.

BirdOPrey5 12-06-2012 01:10 AM

Updated to Version 2.2.0

New Features:
  • Option to disable Sidebar Anywhere if mobile device detected
  • Option to disable built-in Sidebar if mobile device detected

NOTE: Both options require installation of this Mobile Browser Detector mod.

fishmaster 12-06-2012 08:39 AM

I reverted some template in the activity stream template when I was doing changes to colors, etc. after doing so, it removed your modification. Tried removing and reinstalling several time, but can never get it to display. Any tips on forcing it to work again?

Thanks!

sticky 12-06-2012 10:24 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2388809)
Updated to Version 2.2.0

New Features:
  • Option to disable Sidebar Anywhere if mobile device detected
  • Option to disable built-in Sidebar if mobile device detected

NOTE: Both options require installation of this Mobile Browser Detector mod.

Awesome features! Just what I wanted :)

BTW, that formatting issue I posted only happens when the sidebar is not on the forum index. So, essentially anywhere else.

sticky 12-06-2012 10:29 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2388809)
Updated to Version 2.2.0

New Features:
  • Option to disable Sidebar Anywhere if mobile device detected
  • Option to disable built-in Sidebar if mobile device detected

NOTE: Both options require installation of this Mobile Browser Detector mod.

Just tested and on my cell phone (Galaxy Note II) the sidebar still shows even with disable sidebar anywhere if mobile device detected set to yes.

BirdOPrey5 12-06-2012 11:53 AM

Quote:

Originally Posted by fishmaster (Post 2388859)
I reverted some template in the activity stream template when I was doing changes to colors, etc. after doing so, it removed your modification. Tried removing and reinstalling several time, but can never get it to display. Any tips on forcing it to work again?

Thanks!

Can you see if it is working on the default style? Are you sure you re-enabled the mod in all places after uninstalling and re-installing?

Quote:

Originally Posted by sticky (Post 2388871)
Just tested and on my cell phone (Galaxy Note II) the sidebar still shows even with disable sidebar anywhere if mobile device detected set to yes.

Link to your site so I can check on my tablet?

Confirming you did install the mobile detect mod?
Is your mobile browser set to display desktop versions of sites?

fishmaster 12-06-2012 07:09 PM

Using the default style as my template. Ensured proper user-groups selected and enabled on activity stream and a few other locations.

Mod is not showing up.

Sure the root cause is based on me reverting some templates.

BirdOPrey5 12-06-2012 07:16 PM

Did you try uninstalling / reinstalling the mod again?

If it doesn't work on the default style after the mod is reinstalled it can't be a template issue- the mod is made to work with the default templates so reverting them should never break it.

fishmaster 12-06-2012 08:04 PM

I have done it twice, but will try again.

Did notice, after a re-install, it remembered all my old settings.

Am running xcache if that means anything?

AusPhotography 12-07-2012 01:22 AM

Upgrade on vB4.2.0 -- all good

Kym

fishmaster 12-07-2012 01:34 AM

No love. Can PM log-in credentials if you would give it an inspection.

BirdOPrey5 12-07-2012 02:11 AM

Quote:

Originally Posted by fishmaster (Post 2388975)
I have done it twice, but will try again.

Did notice, after a re-install, it remembered all my old settings.

Am running xcache if that means anything?

I don't know how xcache could effect it but if it "remembered" the settings it was never truly uninstalled.

You can PM me login info, I will take a look, and try to remove the product completely.

sticky 12-07-2012 06:21 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2388881)
Confirming you did install the mobile detect mod?
Is your mobile browser set to display desktop versions of sites?

That was my mistake, works perfectly now.

Btw, thank you for implementing my suggestion you didn't seem to like the idea at first. But... this solves all issues :)

LiveXenon 01-02-2013 07:55 PM

@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!

SPVB 01-10-2013 11:15 PM

Installed and it was so simple! Love this mod :)

SPVB 01-10-2013 11:16 PM

Installed and it was so simple! Love this mod :)

Guest20210129 01-12-2013 10:06 AM

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!

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 03:25 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.02830 seconds
  • Memory Usage 1,851KB
  • 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
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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