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)

sross 05-03-2011 11:00 PM

I have an issue where my forum body loads 100% width, then the sidebar appears. It is very distracting and I'm not sure why it's doing it. Anyone ever seen this? Every time the page is refeshed it jumps around because of this. Thanks!

almannai 05-04-2011 05:48 PM

Quote:

Originally Posted by sross (Post 2191510)
I have an issue where my forum body loads 100% width, then the sidebar appears. It is very distracting and I'm not sure why it's doing it. Anyone ever seen this? Every time the page is refeshed it jumps around because of this. Thanks!

Can you pls post a screenshoot?

LifesGreatestGift 05-04-2011 05:55 PM

Here is a screenshot of the code.

https://vborg.vbsupport.ru/external/2011/05/40.png

The reason is because the "sidebar_container" div is loading after the "content_container" div. So content_container loads 100% at 100% width, then the sidebar_container div loads and forces itself to the left of content_container causing it to resize to allow itself in.

I believe sidebar_container should load itself before content_container to fix this issue.

Meestor_X 05-05-2011 06:21 PM

I see a similar problem on my forum. When the sidebar is hidden (by clicking the arrows beside it), if you go to another page or refresh, the sidebar appears, then disappears. It should not appear at all if it's hidden.

sross 05-06-2011 01:20 AM

Quote:

Originally Posted by almannai (Post 2191792)
Can you pls post a screenshoot?

I'm not sure how to screenshoot it.. basically imagine the forum loading as normal, then the sidebar appear after that. I disabled the mod and checked my sidebar and it worked properly, no issue with refresh. I enable mod and sidebar reloads everytime after forum loads. Maybe it is a 4.1.3 bug?

Hummie 05-06-2011 02:31 PM

How do I put the "what's going on" from the forumhome template in a sidebar block?

dilbert 05-06-2011 03:27 PM

Quote:

Originally Posted by dilbert (Post 2187494)
almannai,

Any chance you could help with this? I'd be willing to make a small contribution if it's something you'd need to modify.

Thanks!

[high]* dilbert gives the post a gentle bump ...[/high]

J34329DCC23C 05-06-2011 07:45 PM

hi
the sidebars appear in the bottom of the page on all pages except the home page
here is the link
http://www.2knowmyself.com/personal_development_forum
can you please help with this?

almannai 05-08-2011 06:27 AM

Quote:

Originally Posted by TheWindows7Site (Post 2191797)
Here is a screenshot of the code.

https://vborg.vbsupport.ru/external/2011/05/40.png

The reason is because the "sidebar_container" div is loading after the "content_container" div. So content_container loads 100% at 100% width, then the sidebar_container div loads and forces itself to the left of content_container causing it to resize to allow itself in.

I believe sidebar_container should load itself before content_container to fix this issue.

No that will not do it. remember sidebar can be on left or right side. see below..

Quote:

Originally Posted by Meestor_X (Post 2192382)
I see a similar problem on my forum. When the sidebar is hidden (by clicking the arrows beside it), if you go to another page or refresh, the sidebar appears, then disappears. It should not appear at all if it's hidden.

This how it is made by vbulletin. see below
Quote:

Originally Posted by sross (Post 2192519)
I'm not sure how to screenshoot it.. basically imagine the forum loading as normal, then the sidebar appear after that. I disabled the mod and checked my sidebar and it worked properly, no issue with refresh. I enable mod and sidebar reloads everytime after forum loads. Maybe it is a 4.1.3 bug?

No it is not a bug in 4.1.3 this behavear in all versions. The *problem* (if you see it a problem) is that sidebar setting is loaded from css settings then it is closed by javascript. I can fix that but this may cost a bit.

Quote:

Originally Posted by Hummie (Post 2192678)
How do I put the "what's going on" from the forumhome template in a sidebar block?

Off topic search vulleting.org

Quote:

Originally Posted by dilbert (Post 2192691)
Originally Posted by dilbert
almannai,

Any chance you could help with this? I'd be willing to make a small contribution if it's something you'd need to modify.

Thanks!

[high]* dilbert gives the post a gentle bump ...[/high]

check my website if you are intersted
http://vbfixer.com

almannai 05-08-2011 06:30 AM

Quote:

Originally Posted by TheWindows7Site (Post 2191797)
Here is a screenshot of the code.

https://vborg.vbsupport.ru/external/2011/05/40.png

The reason is because the "sidebar_container" div is loading after the "content_container" div. So content_container loads 100% at 100% width, then the sidebar_container div loads and forces itself to the left of content_container causing it to resize to allow itself in.

I believe sidebar_container should load itself before content_container to fix this issue.

No that will not do it. remember sidebar can be on left or right side. see below..

Quote:

Originally Posted by Meestor_X (Post 2192382)
I see a similar problem on my forum. When the sidebar is hidden (by clicking the arrows beside it), if you go to another page or refresh, the sidebar appears, then disappears. It should not appear at all if it's hidden.

This how it is made by vbulletin. see below
Quote:

Originally Posted by sross (Post 2192519)
I'm not sure how to screenshoot it.. basically imagine the forum loading as normal, then the sidebar appear after that. I disabled the mod and checked my sidebar and it worked properly, no issue with refresh. I enable mod and sidebar reloads everytime after forum loads. Maybe it is a 4.1.3 bug?

No it is not a bug in 4.1.3 this behavior in all versions. The *problem* (if you see it a problem) is that sidebar setting is loaded from css settings then it is closed by javascript. I can fix that but it may cost a bit.

Quote:

Originally Posted by Hummie (Post 2192678)
How do I put the "what's going on" from the forumhome template in a sidebar block?

Off topic search vulleting.org

Quote:

Originally Posted by dilbert (Post 2192691)
Originally Posted by dilbert
almannai,

Any chance you could help with this? I'd be willing to make a small contribution if it's something you'd need to modify.

Thanks!

[high]* dilbert gives the post a gentle bump ...[/high]

check my website if you are intersted
http://vbfixer.com

sross 05-08-2011 09:38 PM

I see what you are saying but it does not make sense to me that by default the vbulletin sidebar does not load after forum loads, yet when the everywhere sidebar mod is enabled it then takes on this behavior. How can this be a vbulletin 'as designed' issue when it appears only after the mod is enabled? The mod is actually overkill for me anyways, all I really wanted was sidebar to show on forum display and showthread. There doesn't seem to be a mod for this though.

almannai 05-09-2011 09:51 PM

Quote:

Originally Posted by VBUsers (Post 2187978)
If I wanted to make it thinner and move it more to the right so it gave the forum more space , where would I change that and how?

(Thank you for the great mod by the way)

Search this thread it has been answered before

Quote:

Originally Posted by GaryT (Post 2186237)
A little confused as to which file above is the current release, which is it?

last version 1.4.1pl1

Quote:

Originally Posted by setjo1980ya (Post 2185835)
I am using Version 4.1.2
After installing Everywhere side bar plugin as per instructions my logo and header image becomes invisble
Please help me out

weird!!
why you don't upgrade vb to 4.1.3 and see if fix it

Quote:

Originally Posted by PSB (Post 2185240)
Can someone help me understand what is going wrong with our implementation, I presume it is something to do with our templates however its not my strong point.

We have had Everywhere Sidebar installed and working for a while now however I am seeing a 404 for the following;

/clientscript/vbulletin_css/style00010l/sidebar-ie.css
and
/clientscript/vbulletin_css/style00010l/forumbits-ie.css

exist, however it looks like the http request is coming though in a weird fashion where both files are in the same request, I presume this is not normal ?

error.log
[error] [client x.x.x.] File does not exist: /x/x/forum/clientscript/vbulletin_css/style00010l/forumbits-ie.css,sidebar-ie.css, referer: http://www.perthstreetbikes.com/forum/f89/

Any pointers where to start looking ?

What is the last thing you made? have you installed any other mods or did you changed any of the plugins manually

Quote:

Originally Posted by J34329DCC23C (Post 2192766)
hi
the sidebars appear in the bottom of the page on all pages except the home page
here is the link
http://www.2knowmyself.com/personal_development_forum
can you please help with this?

Search this thread it has been answered before.

If you want a direct help check my site. http://vbfixer.com/

|Jordan| 05-11-2011 05:47 PM

1 Attachment(s)
When i have this enabled, my forum pages are totally messed up (see attached screenshot). I know its this plugin causing it because when i disable it, it goes away. It does even does this in the default style.

How do i fix it?

VBUsers 05-13-2011 01:54 AM

1 Attachment(s)
here is my issue. I've looked for it but not sure where its been posted. i'll check again

|Jordan| 05-13-2011 02:53 AM

Quote:

Originally Posted by VBUsers (Post 2194993)
here is my issue. I've looked for it but not sure where its been posted. i'll check again

Try the default vb style. If it doesnt do it, then its your style that's breaking it in some way (contact the designer to fix it).

almannai 05-13-2011 03:58 AM

Quote:

Originally Posted by VBUsers (Post 2194993)
here is my issue. I've looked for it but not sure where its been posted. i'll check again

adjust the padding in your style

VBUsers 05-13-2011 04:40 AM

Quote:

Originally Posted by |Jordan| (Post 2195000)
Try the default vb style. If it doesnt do it, then its your style that's breaking it in some way (contact the designer to fix it).

the default style has the same exact issue. If any one can help I would really appreciate it.

VBUsers 05-13-2011 04:53 AM

Quote:

Originally Posted by almannai (Post 2195010)
adjust the padding in your style

Can you please point me in the direction of where?

Calystos 05-13-2011 08:33 AM

Did anyone manage to get this working in vbadvanced cmps? I tried via the instructions on the other site but nothing appears.

Anyone have any ideas?

Cheers.

almannai 05-13-2011 01:55 PM

Quote:

Originally Posted by Calystos (Post 2195046)
Did anyone manage to get this working in vbadvanced cmps? I tried via the instructions on the other site but nothing appears.

Anyone have any ideas?

Cheers.

I don't have vbadvanced cmps, but in the code posted by qG ThaLiX use the following code instead

PHP Code:

require_once(DIR '/includes/class_block.php');
$show['sidebar'] = false;
    
$blockmanager vB_BlockManager::create($vbulletin);
    
$sidebar $blockmanager->getSidebarHTML();
    if (
$sidebar)
    {
        
$show['sidebar'] = true;

$templater vB_Template::create('sidebarext_temp'); 
$templater->register('sidebar'$sidebar);$templater->register('show_sidebar'$show_sidebar);$templater->register('button_top_sidebar'intval($vbulletin->options['esidebar_button_top']));$templater->register('width_sidebar'intval($vbulletin->options['esidebar_width']));$templater->register('margin_sidebar'intval($vbulletin->options['esidebar_width'])+20);
$template_hook['sidebarext_temp']=$templater->render();
$sidebarext_add "' . \$template_hook['sidebarext_temp'] . '";        
$sidebarext_search '/\' \. \$footer \. \'/'
$sidebarext_replace =  $sidebarext_add "' . \$footer . '";               
$vbasidebar preg_replace($sidebarext_search$sidebarext_replace$vbulletin->templatecache['adv_portal']);
$sidebarext_search '<div id="vbasidebarclass">'
$sidebarext_add ='<div id="content_container"><div id="content">';        
if(
$vbulletin->options['sidebarposition']==0)$sidebarext_add ='<div id="content_container" class="contentright"><div id="content">';  
$sidebarext_replace =  $sidebarext_add $sidebarext_search;               
$vbasidebar str_replace($sidebarext_search$sidebarext_replace$vbasidebar);
$vbulletin->templatecache['adv_portal'] = $vbasidebar;
    } 


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. :)

sross 05-15-2011 01:33 AM

I'm getting this showing up in my footer, any ideas?

Code:

$ttmp=explode(',', $vboptions['esidebar_no_hide_exclude']);

almannai 05-15-2011 06:00 AM

Quote:

Originally Posted by sross (Post 2195841)
I'm getting this showing up in my footer, any ideas?

Code:

$ttmp=explode(',', $vboptions['esidebar_no_hide_exclude']);

That should not happen maybe you change the code manually. pls cosider uninstalling the product and installing it again.

sHORTYWZ 05-15-2011 12:05 PM

Quote:

Originally Posted by sross (Post 2195841)
I'm getting this showing up in my footer, any ideas?

Code:

$ttmp=explode(',', $vboptions['esidebar_no_hide_exclude']);

This happened to me too - you at some point probably manually modified your sidebar template to remove the expand/unexpand button. You can either revert your sidebar template or set the "Don't hide ESB switch" to off in the ESB config.

almannai 05-15-2011 02:55 PM

Quote:

Originally Posted by sross (Post 2195841)
I'm getting this showing up in my footer, any ideas?

Code:

$ttmp=explode(',', $vboptions['esidebar_no_hide_exclude']);

Quote:

Originally Posted by sHORTYWZ (Post 2195957)
This happened to me too - you at some point probably manually modified your sidebar template to remove the expand/unexpand button. You can either revert your sidebar template or set the "Don't hide ESB switch" to off in the ESB config.

Sorry you are right

I've fix it in the new update 1.4.3.1

Regards

DefenceTalk 05-15-2011 07:26 PM

Quote:

Originally Posted by DefenceTalk (Post 2139430)
Thanks for the plugin!

Two questions:

How do I include php code or php file in the sidebar?

And can I use conditionals?

I upgraded one of my forums to 4.1 and looking for a solution to those two issues.

Thank you.

Thanks for the update but are the issues quoted above fixed? :confused:

almannai 05-16-2011 02:16 PM

Quote:

Originally Posted by DefenceTalk (Post 2196073)
Thanks for the update but are the issues quoted above fixed? :confused:

see my website in this thread
http://vbfixer.com/viewtopic.php?f=4&t=749&p=733#p733

look for "How To Add Adsense To Sidebar:"

It describes how to add adsense code in sidebar but am sure you will get the idea.

DefenceTalk 05-16-2011 04:30 PM

Quote:

Originally Posted by almannai (Post 2196352)
see my website in this thread
http://vbfixer.com/viewtopic.php?f=4&t=749&p=733#p733

look for "How To Add Adsense To Sidebar:"

It describes how to add adsense code in sidebar but am sure you will get the idea.

Thanks but my issue isn't adding adsense. I don't care about adsense.

I am more concerned about using php includes and vb conditionals in sidebar.

Regards

almannai 05-16-2011 05:03 PM

Quote:

Originally Posted by DefenceTalk (Post 2196395)
Thanks but my issue isn't adding adsense. I don't care about adsense.

I am more concerned about using php includes and vb conditionals in sidebar.

Regards

:)
Did you try to follow the instructions there. If you did in one of the steps you select html instead you can select php and add your php code

sHORTYWZ 05-16-2011 08:33 PM

Almannai - would it be possible to modify the pop-out time of the sidebar as was discussed a few pages back in this thread? My users aren't very happy about the two second delay and I can't seem to find an obvious way of changing this behaviour.

Thanks.

webjogi73 05-17-2011 06:55 AM

I just downloaded and installed this mod. Thanks for makingthis possible. Anyway, ist therer an option to make the sidebar visible just at the CMS ? I do not want to use the sidebar in the forum or somewhere else, I just want to show in the CMS ?

The reason for this is a plugin Calles "Budesliga-Tippspiel" I am using, where I can show the ranking of the teams in the forum-sidebar as a block but not in a cms-widget. That is why I want to use the Forum-sidebar but not for the forum :-)

As I found multiple options to show the sidebar but not valid for the CMS I still hope to get help here. Many thanks in advance.


All times are GMT. The time now is 12:20 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.05645 seconds
  • Memory Usage 1,904KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (36)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
  • (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