Validation Code vBulletin 4.2.2 Patch Level 4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SWSUSA
    Member
    • May 2012
    • 85
    • 4.2.x

    [Forum] Validation Code vBulletin 4.2.2 Patch Level 4

    Hi! W3C Validator gives error.
    Привет! W3C Validator выдаёт ошибку.

    Line 231, Column 30: document type does not allow element "ul" here; assuming missing "li" start-tag

    <ul class="floatcontainer">


    Line 296, Column 6: end tag for "li" omitted, but OMITTAG NO was specified

    </ul>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


    Line 231, Column 4: start tag was here

    <ul class="floatcontainer">
    Tell me how to make the code valid? Подскажите, как сделать код валидным?

    HTML Code:
    <ul class="floatcontainer">
    <li id="vbflink_bbmenu"><a href="index.php">Главная страница форума</a></li>
    <li id="vbflink_newposts"><a href="search.php?do=getnew&amp;contenttype=vBForum_Post">Новые сообщения</a></li>
    <li id="vbflink_pms"><a href="private.php">Личные сообщения</a></li>
    <li id="vbflink_faq"><a href="faq.php">Справка</a></li>
    <li id="vbflink_calendar"><a href="calendar.php">Календарь</a></li>
    <li class="popupmenu" id="vbmenu_community">
    <a href="javascript://" class="popupctrl">Сообщество</a>
    <ul class="popupbody popuphover">
    <li id="vbclink_albums"><a href="album.php">Альбомы</a></li>
    <li id="vbclink_contacts"><a href="profile.php?do=buddylist">Друзья и контакты</a></li>
    <li id="vbclink_members"><a href="memberlist.php">Список пользователей</a></li>
    </ul>
    </li>
    <li class="popupmenu" id="vbmenu_actions">
    <a href="javascript://" class="popupctrl">Опции форума</a>
    <ul class="popupbody popuphover">
    <li id="vbalink_mfr"><a href="forumdisplay.php?do=markread&amp;markreadhash=">Все разделы прочитаны</a></li>
    <li id="vbalink_settings"><a href="profile.php?do=editoptions">Основные настройки</a></li>
    <li id="vbalink_profile"><a href="profile.php?do=editprofile">Редактировать свои данные</a></li>
    </ul>
    </li>
    <li class="popupmenu" id="vbmenu_qlinks"><a href="javascript://" class="popupctrl">Навигация</a>
    <ul class="popupbody popuphover">
    <li id="vbqlink_posts"><a href="search.php?do=getdaily&amp;contenttype=vBForum_Post">Сообщения за день</a></li>
    <li id="vbqlink_threads"><a href="subscription.php">Темы с подпиской</a></li>
    <li id="vbqlink_contacts"><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scroll bars=yes,resizable=yes,width=250,height=300'); return false;">Список знакомых</a></li>
    <li id="vbqlink_leaders"><a href="showgroups.php">Руководство сайта</a></li>
    <li id="vbqlink_online"><a href="online.php">Кто на сайте</a></li>
    </ul>
    </li>
    </ul>
    Last edited by SWSUSA; Wed 8 Jul '15, 7:59am.
    Форум бухгалтеров и аудиторов Glbyh.Ru. Do what you can, with what you have, where you are.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74122

    #2
    We do not have a fix at this time. It is an artifact on how the navbar is built using the navigation manager. It shouldn't cause rendering or application issues in any browser.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • SWSUSA
      Member
      • May 2012
      • 85
      • 4.2.x

      #3
      Why then at an accounting forum the validator gives out mistakes? I don't understand.

      Почему тогда на бухгалтерском форуме валидатор выдаёт ошибки? Не понимаю.
      Форум бухгалтеров и аудиторов Glbyh.Ru. Do what you can, with what you have, where you are.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74122

        #4
        100% validation wasn't a goal when developing the software. Considering that vBulletin 4.2.X isn't under active development, I doubt it will be fixed in the future. As validation isn't required for the software to work, it wasn't considered an issue worth worrying about. Browsers are smart enough to render the code properly.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • SWSUSA
          Member
          • May 2012
          • 85
          • 4.2.x

          #5
          The lack of validation lowers SEO indicators site. I will think how to fix it.
          And this is one of the challenges for SEO. And site owners do not want problems.

          Отсутствие валидации понижает SEO показатели сайта. Буду думать как это исправить.
          И это одна из проблем для SEO. А владельцы сайтов не хотят проблем.
          Форум бухгалтеров и аудиторов Glbyh.Ru. Do what you can, with what you have, where you are.

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            We really need a link to the page you're trying to validate, otherwise we can't really figure out whats wrong. The code you gave us is actually valid.

            Comment

            • SWSUSA
              Member
              • May 2012
              • 85
              • 4.2.x

              #7
              Originally posted by Zachery
              We really need a link to the page you're trying to validate, otherwise we can't really figure out whats wrong. The code you gave us is actually valid.

              This is the main forum page (это главная страница форума) http://glbyh.ru.
              Форум бухгалтеров и аудиторов Glbyh.Ru. Do what you can, with what you have, where you are.

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74122

                #8
                Do these cause issues with the rendering of the site? If not, they won't be fixed. If an HTML issue causes a bug in the software it needs to be logged in our tracker here:


                All bugs will be considered for resolution if we do any development on vBulletin 4.2.X in the future.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...