PDA

View Full Version : Validation Code vBulletin 4.2.2 Patch Level 4


SWSUSA
07-08-2015, 02:06 PM
Hi! W3C Validator gives error.
Привет! W3C Validator выдаёт ошибку.

Error Line 231, Column 30: document type does not allow element "ul" here; assuming missing "li" start-tag
<ul class="floatcontainer">

Error 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 ">".

Info Line 231, Column 4: start tag was here
<ul class="floatcontainer">


Tell me how to make the code valid? Подскажите, как сделать код валидным?

<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','statu sbar=no,menubar=no,toolbar=no,scrollbars=yes,resiz able=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>

Emad ELsayed
08-01-2015, 02:56 PM
I have the same error

ForceHSS
08-01-2015, 03:37 PM
What template did you edit

squidsk
08-04-2015, 02:23 PM
You'd need to include the surrounding code, or better yet a link to the page that generates the validation error in order to be able to fix it. There are a couple of invalidly generated code sections in stock vbulletin and you may be hitting some of those.

SWSUSA
08-04-2015, 08:19 PM
Here are comments on the site vBulletin (вот комментарии на сайте vBulletin): http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4324509-validation-code-vbulletin-4-2-2-patch-level-4

Zachery
08-05-2015, 03:49 PM
<a href="http://pastebin.com/DeCQZ6ey" target="_blank">http://pastebin.com/DeCQZ6ey</a>

Save it as an html file, your code validates fine. The problem is likely some where else on your page with a customization/addon.