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)
-   -   Add-On Releases - Everywhere Sidebar 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=233871)

Calystos 05-13-2011 03:58 PM

Thanks, but as I said, I followed the instructions to the letter. Doesn't work, something appears to be missing somewhere. Or maybe the person over at the other site did a few more things than he/she remembered. *shrugs* Perhaps vba requires some additional items on its list, will look into it more over the weekend.

EDIT: Oh and if I figure it out I'll let yas know incase anyone else is having issues, :)

Btw, is it at all possible to set the sidebar so its minimized/hidden by default instead?

almannai 05-13-2011 05:06 PM

Quote:

Originally Posted by Calystos (Post 2195146)
Thanks, but as I said, I followed the instructions to the letter. Doesn't work, something appears to be missing somewhere. Or maybe the person over at the other site did a few more things than he/she remembered. *shrugs* Perhaps vba requires some additional items on its list, will look into it more over the weekend.

EDIT: Oh and if I figure it out I'll let yas know incase anyone else is having issues, :)

Btw, is it at all possible to set the sidebar so its minimized/hidden by default instead?

I know you followed the instructions.

The above code is different than qG ThaLiX code

Try it and let me know how it goes

Calystos 05-14-2011 05:12 AM

Soz, didn't check it, lawl.

But have tried, still no go am afraid. Its possible it could be due to that they only used center columns on their vba. Am going to load up a test system on my home machine and see if it works that way and if so it'll give a rough idea on where to check the code and whatnot I hope.

This isn't the first mod I've had that was a bit iffy at first with vba, thankfully from that experience I was able to learn how to fix em, so hopefully this won't be too much of a problem, :)

almannai 05-14-2011 05:30 AM

Quote:

Originally Posted by Calystos (Post 2195476)
Soz, didn't check it, lawl.

But have tried, still no go am afraid. Its possible it could be due to that they only used center columns on their vba. Am going to load up a test system on my home machine and see if it works that way and if so it'll give a rough idea on where to check the code and whatnot I hope.

This isn't the first mod I've had that was a bit iffy at first with vba, thankfully from that experience I was able to learn how to fix em, so hopefully this won't be too much of a problem, :)

Good luck

Get back to us with good news so that others benefit from your test

BTW: use my code i posted to you above and not the code posted by qG ThaLiX .

sross 05-14-2011 05:39 AM

You might want to make a note in the 'about' text to inform people that using this will cause the forum body to load before the sidebar loads, thus causing their sites to jump around the page as it loads up. Could have saved me a lot of troubles. Will happily use once the sidebar loads first and my site doesn't jerk around the page, just too distracting for my members so uninstalling for now.

almannai 05-14-2011 05:56 AM

Quote:

Originally Posted by sross (Post 2195484)
You might want to make a note in the 'about' text to inform people that using this will cause the forum body to load before the sidebar loads, thus causing their sites to jump around the page as it loads up. Could have saved me a lot of troubles. Will happily use once the sidebar loads first and my site doesn't jerk around the page, just too distracting for my members so uninstalling for now.

why you are using 1.4.1 while 1.4.3 is released?

sross 05-14-2011 08:55 AM

Hi Almannai,

I am on 1.4.3 here is a video of the sidebar refreshing. I did two page refreshes on the video. Happens in ff4 and chrome. Are you not seeing this on other forums? If not do you have an example forum I could see? Anyway here is the video: http://min.us/mvpib98

Thanks

almannai 05-14-2011 10:53 AM

Quote:

Originally Posted by sross (Post 2195515)
Hi Almannai,

I am on 1.4.3 here is a video of the sidebar refreshing. I did two page refreshes on the video. Happens in ff4 and chrome. Are you not seeing this on other forums? If not do you have an example forum I could see? Anyway here is the video: http://min.us/mvpib98

Thanks

This normal way of strting sidebar you don't have to worry that much about. I made it to start after 2 seconds after page loads. If you need more help visit my website.

sross 05-14-2011 11:42 AM

Quote:

Originally Posted by almannai (Post 2195533)
This normal way of strting sidebar you don't have to worry that much about. I made it to start after 2 seconds after page loads. If you need more help visit my website.

hmm is it not best to emulate what the default vbulletin sidebar does? If I turn the mod off, the standard sidebar does not seem to refresh or jump the page about, it just stays there. Can I change your 2 second setting to 0 seconds? Can you PM me a quote on a fix for this? thanks

Calystos 05-14-2011 04:15 PM

1 Attachment(s)
Well, I managed to find the info I was after in ref to force-setting the sidebar to collapsed mode by default over at vbulletin.com forums.

However, there is a problem in that with ESB enabled it ignores the script. Mind you I've only just installed the script (which works great incase anyone else was after something like this), and am about to head out so can't debug it til I get home later tonight. But when I get time I'll have a look into it and see about adding the code to work with ESB, and unless someone beats me to it I'll post the mod here incase anyone wants it, :)

1 problem solved, an another bug pops up, lawl. Typical, hehehe.

EDIT: K, quickly had time to fiddle an figured it instantly out. In order to have the sidebar defaulted to collapsed using ESB you have to either edit the product xml file and import that, or you have to edit the sidebarext_temp template. Either way its the same code to add above both lines that are ref'd via "sidebar.js".

Okay to default it to collapsed simply search for the TWO lines (both are identical so just repeat the find):
Code:

        <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
And above both add:
Code:

        <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar-closed.js?v={vb:raw vboptions.simpleversion}"></script>
And of course upload the attached javascript file to the clientscript directory.

Thats it. Course we can go further and make it a full option easy enough I guess.
Oh and to make it easier I've quickly modded the 1.4.3 ESB with the above code for anyone who doesn't wanna fiddle with the templates, hehe. Hope it helps, :)

However I have found a bug in ESB, not sure why it happens and haven't fully tested/checked how many other areas it effects. But on some styles, when ESB is enabled, and you go to the forum home (forum.php) area. Some images get blanked or something. As I said though I've only just noticed this and haven't got the time to debug atm. But thought it best to bring it to attention.

EDIT: Quickly added a before/after image so you can see what I mean about the transparency or hiding bug. ESB_Disabled is of course what it looks like when the product isn't running. And as you'll see when its enabled for some reason the background image for those areas vanishes. Anyways, better rush else will be late, lawl. Will look further into the code when I get home later. :)


All times are GMT. The time now is 06:21 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.02581 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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