Announcement

Collapse
No announcement yet.

Huge white space

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Huge white space

    Can anyone tell me where to get rid of this huge white space between my menu bar and forums list? Help appreciated!

  • #2
    A link to your site would help

    Comment


    • #3
      http://www.jouster.com/forums, thank you!

      Comment


      • #4
        White space like that is most commonly caused by improperly closed HTML tags. Would need to see the site on and functioning to look at the generated HTML.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          Turning it on now. I could also use any ideas on suppressing or fixing the errors.

          Comment


          • #6
            To make the error reporting revert to the bugged support of earlier versions add the following line to your config.php under the <?php line:
            Code:
            define('SKIP_ALL_ERRORS', true);
            Ideally, you would have display_errors turned off in a production environment. Your hosting provider would have to do that. Having them on is a minor security risk.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #7
              I am not seeing a large white space or gap on your site using Google Chrome. What Browser does this occur in?
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.

              Comment


              • #8
                It's present in both Internet Explorer and Firefox though Firefox is showing what looks like a broken image, though I cannot identify the image or see what is calling it.

                Comment


                • #9
                  I had implemented define('SKIP_ALL_ERRORS', true); but in the wrong place. Many thanks! Now, if we can track down where this unknown image is coming from, we will be good to go.

                  Comment


                  • #10
                    In firefox it shows as an image if you right click it and if you view the source code this seems to be the offending code. from line 317 to line 342

                    Code:
                     
                     var theImages = new Array()  theImages[0] = ''  theImages[1] = '' var j = 0 var p = theImages.length; var preBuffer = new Array()  for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1));  function showImage(){ if(whichImage==0){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); } else if(whichImage==1){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); }  }  </script>

                    Comment


                    • #11
                      I found it, but am not certain how to fix it. It's in ad_global_below_navbar. How can I fix it without crashing something else?

                      <div id="ad_global_below_navbar"><center>
                      <SCRIPT LANGUAGE="JavaScript">
                      var theImages = new Array()

                      theImages[0] = ''

                      theImages[1] = ''
                      var j = 0
                      var p = theImages.length;
                      var preBuffer = new Array()

                      for (i = 0; i < p; i++){
                      preBuffer[i] = new Image()
                      preBuffer[i].src = theImages[i]
                      }
                      var whichImage = Math.round(Math.random()*(p-1));

                      function showImage(){
                      if(whichImage==0){
                      document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
                      }
                      else if(whichImage==1){
                      document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
                      }

                      }

                      </script>

                      <script>
                      showImage();
                      </script>

                      </center><vb:if condition="$adsshown[] = 4"></vb:if></div>

                      Comment


                      • #12
                        Talking to myself, I know. I changed the size to 5 instead of 450 and it looks fine, might not be right though. Is this a suitable fix?

                        Comment


                        • #13
                          I take it you added that code? What is it meant to be for?

                          Comment


                          • #14
                            It suspect it is leftovers from years ago when I implemented rbs, which actually, I plan to do again. It never made a huge square like that before, but this was an upgrade from version 4.0.8.

                            Comment


                            • #15
                              Code:
                              theImages[0] = ''
                              
                              theImages[1] = ''
                              The above should have the paths to your image advertising in them. That would then show in the "Blank spot". There may be a better way to achieve what you're trying to do though. If you could explain it a bit more, we can help out .
                              Translations provided by Google.

                              Wayne Luke
                              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                              vBulletin 5 Documentation - Updated every Friday. Report issues here.
                              vBulletin 5 API - Full / Mobile
                              I am not currently available for vB Messenger Chats.

                              Comment

                              Loading...
                              Working...
                              X