Announcement

Collapse
No announcement yet.

"ul" which is not finished

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

  • Kahraman_5222
    replied
    Thank you...

    Leave a comment:


  • tarzan22
    replied
    Please

    can someone tell me what's wrong here?

    <li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
    <div class="forumrow table">
    <div class="foruminfo td">
    <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
    <div class="forumdata">
    <div class="datacontainer">
    <div class="titleline">
    <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
    <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
    </div>
    <vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>


    <vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
    <div class="moderators">
    <h4>{vb:rawphrase moderators}:</h4>
    <ol class="commalist">
    {vb:raw forum.moderators}
    </ol>
    </div>
    </vb:if>


    <vb:if condition="$show['subforums']">
    <div class="subforums">
    <h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
    <ol class="subforumlist commalist">
    {vb:raw forum.subforums}
    </ol>
    </div>
    </vb:if>


    <vb:if condition="$show['forumsubscription']">
    <p class="unsubscribe">
    <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
    </p>
    </vb:if>
    </div>
    </div>
    </div>
    <vb:if condition="$forum['statusicon'] != 'link'">
    <h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
    <vb:if condition="$vboptions['externalrss'] OR $show['member']">
    <ul class="forumactionlinks td">
    <vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])">
    <ul class="forumactionlinks td">
    <vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
    <vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
    </ul>
    <vb:else />
    <div class="forumactionlinks"></div>
    </vb:if>
    <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
    <ul class="forumstats td">
    <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
    <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
    </ul>
    <div class="forumlastpost td">
    <h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
    <div>
    {vb:raw forum.lastpostinfo}
    </div>
    </div>
    </vb:if>
    </div>
    <vb:if condition="$childforumbits">
    <ul class="childsubforum">
    {vb:raw childforumbits}


    </ul>
    </vb:if>
    </li>

    Leave a comment:


  • tarzan22
    replied
    Unfortunately he would not know, my knowledge is very basic

    Greetings

    Leave a comment:


  • Lynne
    replied
    Did you fix this in ALL the templates that have that code?

    Leave a comment:


  • tarzan22
    replied
    I think now is fine but errors remain


    HTML Code:
    <li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
    	<div class="forumrow table">
    		<div class="foruminfo td">
    			<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
    			<div class="forumdata">
    				<div class="datacontainer">
    					<div class="titleline">
    						<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
    						<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
    					</div>
    					<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
    
    					<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
    						<div class="moderators">
    							<h4>{vb:rawphrase moderators}:</h4>
    							<ol class="commalist">
    								{vb:raw forum.moderators}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['subforums']">
    						<div class="subforums">
    							<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
    							<ol class="subforumlist commalist">
    								{vb:raw forum.subforums}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['forumsubscription']">
    						<p class="unsubscribe">
    							<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
    						</p>
    					</vb:if>
    				</div>
    			</div>
    		</div>
            <vb:if condition="$forum['statusicon'] != 'link'">
    		<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
            	<vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])">
             <ul class="forumactionlinks td">
                 <vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
                 <vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
             </ul>
    		<vb:else />
    		<div class="forumactionlinks"></div>
    		</vb:if>
            <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
    		<ul class="forumstats td">
    			<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
    			<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
    		</ul>
    		<div class="forumlastpost td">
    			<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
    			<div>
    				{vb:raw forum.lastpostinfo}
    			</div>
    		</div>
            </vb:if>
    	</div>
    	<vb:if condition="$childforumbits">
    		<ul class="childsubforum">
    			{vb:raw childforumbits}
    
    		</ul>
    	</vb:if>
    </li>

    Greetings

    Leave a comment:


  • Lynne
    replied
    But you aren't doing what the but report says.
    HTML Code:
    <vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])">
             <ul class="forumactionlinks td">
                 <vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
                 <vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
             </ul>

    Leave a comment:


  • tarzan22
    replied
    so?

    HTML Code:
    <li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
    	<div class="forumrow table">
    		<div class="foruminfo td">
    			<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
    			<div class="forumdata">
    				<div class="datacontainer">
    					<div class="titleline">
    						<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
    						<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
    					</div>
    					<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
    
    					<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
    						<div class="moderators">
    							<h4>{vb:rawphrase moderators}:</h4>
    							<ol class="commalist">
    								{vb:raw forum.moderators}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['subforums']">
    						<div class="subforums">
    							<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
    							<ol class="subforumlist commalist">
    								{vb:raw forum.subforums}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['forumsubscription']">
    						<p class="unsubscribe">
    							<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
    						</p>
    					</vb:if>
    				</div>
    			</div>
    		</div>
            <vb:if condition="$forum['statusicon'] != 'link'">
    		<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
            
    		<vb:if condition="$vboptions['externalrss'] OR $show['member']">
    		<ul class="forumactionlinks td">
    			<vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
    		</ul>
    		<vb:else />
    		<div class="forumactionlinks"></div>
    		</vb:if>
            <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
    		<ul class="forumstats td">
    			<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
    			<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
    		</ul>
    		<div class="forumlastpost td">
    			<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
    			<div>
    				{vb:raw forum.lastpostinfo}
    			</div>
    		</div>
            </vb:if>
    	</div>
    	<vb:if condition="$childforumbits">
    		<ul class="childsubforum">
    			{vb:raw childforumbits}
    
    		</ul>
    	</vb:if>
    </li>

    Greetings and thanks

    Leave a comment:


  • tarzan22
    replied
    Thank you very much

    eliminated 1

    HTML Code:
    <vb:if condition="$vboptions['externalrss'] OR $show['member']">
    this is where it should be

    HTML Code:
    <vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])">
    Greetings and sorry for my English

    Leave a comment:


  • Lynne
    replied
    Why do you have this link twice? I would think it would throw an error.
    HTML Code:
    <vb:if condition="$vboptions['externalrss'] OR $show['member']">
    Also, at the end of the bug report, it says to use this:
    HTML Code:
    <vb:if condition="($forum['allowposting'] AND $vboptions['externalrss']) OR ($show['member'] AND $show['forumsubscription'])">

    Leave a comment:


  • tarzan22
    replied
    Thank you, no good

    http://validator.w3.org/check?uri=fo...Inline&group=0

    actual code

    Code:
    <li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
    	<div class="forumrow table">
    		<div class="foruminfo td">
    			<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
    			<div class="forumdata">
    				<div class="datacontainer">
    					<div class="titleline">
    						<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
    						<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
    					</div>
    					<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
    
    					<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
    						<div class="moderators">
    							<h4>{vb:rawphrase moderators}:</h4>
    							<ol class="commalist">
    								{vb:raw forum.moderators}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['subforums']">
    						<div class="subforums">
    							<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
    							<ol class="subforumlist commalist">
    								{vb:raw forum.subforums}
    							</ol>
    						</div>
    					</vb:if>
    
    					<vb:if condition="$show['forumsubscription']">
    						<p class="unsubscribe">
    							<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
    						</p>
    					</vb:if>
    				</div>
    			</div>
    		</div>
            <vb:if condition="$forum['statusicon'] != 'link'">
    		<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
            	<vb:if condition="$vboptions['externalrss'] OR $show['member']">
    		<vb:if condition="$vboptions['externalrss'] OR $show['member']">
    		<ul class="forumactionlinks td">
    			<vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
    			<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
    		</ul>
    		<vb:else />
    		<div class="forumactionlinks"></div>
    		</vb:if>
            <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
    		<ul class="forumstats td">
    			<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
    			<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
    		</ul>
    		<div class="forumlastpost td">
    			<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
    			<div>
    				{vb:raw forum.lastpostinfo}
    			</div>
    		</div>
            </vb:if>
    	</div>
    	<vb:if condition="$childforumbits">
    		<ul class="childsubforum">
    			{vb:raw childforumbits}
    
    		</ul>
    	</vb:if>
    </li>
    Greetings

    Leave a comment:


  • Lynne
    replied
    It looks like if you don't have the RSS feed on for your users, then you get a 'blank' <ul> tag. This should probably be entered into the bug tracker if it isn't already.

    It already is a bug and a fix is posted - http://tracker.vbulletin.com/browse/VBIV-7440

    Leave a comment:


  • tarzan22
    started a topic "ul" which is not finished

    "ul" which is not finished

    Hello

    Sorry for my English

    I am getting many errors

    Line 86, Column 2494: end tag for "ul" which is not finished
    …> <ul class="forumactionlinks td"></ul> <h4 class="nocss_label">Estadísticas d…


    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.



    anyone know how to fix please,I do not understand html

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