Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2015, 02:06 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Validation Code vBulletin 4.2.2 Patch Level 4

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? Подскажите, как сделать код валидным?

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,scrollbars=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>
Reply With Quote
  #2  
Old 08-01-2015, 02:56 PM
Emad ELsayed's Avatar
Emad ELsayed Emad ELsayed is offline
 
Join Date: Feb 2013
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same error
Reply With Quote
  #3  
Old 08-01-2015, 03:37 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What template did you edit
Reply With Quote
  #4  
Old 08-04-2015, 02:23 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 08-04-2015, 08:19 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are comments on the site vBulletin (вот комментарии на сайте vBulletin): http://www.vbulletin.com/forum/forum...-patch-level-4
Reply With Quote
  #6  
Old 08-05-2015, 03:49 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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.
Reply With Quote
Благодарность от:
TheLastSuperman
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03674 seconds
  • Memory Usage 2,228KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete