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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2009, 07:39 AM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Making this code XHTML (easy for people wtih coding skills)

I cant validate this code, please help...

THANKS!

PHP Code:
$perrow
<td class="$bgclass">
<
div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]&amp;pictureid=$picture[pictureid]"><img class="page" src="$vboptions[bburl]/$picture[thumburl]alt="$picture[caption_preview]border="0" style="padding:$stylevar[cellpadding]px; <if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a>
<
br /> <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$picture[userid]2="$picture[musername]">$vbphrase[by_x]</phrase>
<
br /> <strong>$vbphrase[description]</strong>: $picture[caption]
<if 
condition="$mod_options['album_picture_title']">
<
br /> <strong>$vbphrase[album]</strong>: <a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]">$picture[albumstitle]</a>
</if>
</
div>
</
td


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





.
Reply With Quote
  #2  
Old 06-27-2009, 07:42 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where/how are you using this? Can you paste the entire template? Or is this it?
Reply With Quote
  #3  
Old 06-27-2009, 07:45 AM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the entire template... I just omited to show the error:

http://validator.w3.org/check?uri=ht...idator%2F1.654
Reply With Quote
  #4  
Old 06-30-2009, 10:22 PM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one????!!!
Reply With Quote
  #5  
Old 07-02-2009, 10:16 PM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pleaseeeeeeeeeeeeeeeeee
Reply With Quote
  #6  
Old 07-03-2009, 05:44 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a 100% pass with the link you posted...
Reply With Quote
  #7  
Old 07-03-2009, 04:55 PM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After a week I delete:

PHP Code:
<div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 

PHP Code:
<div class="smallfont" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 
I dont know what would happen but without this I can validated....
Reply With Quote
  #8  
Old 07-03-2009, 05:21 PM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a 100% Passed.
So it must be fixed, no?
Reply With Quote
  #9  
Old 07-03-2009, 05:31 PM
MaR? MaR? is offline
 
Join Date: Aug 2008
Location: Argentina
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deadlySniper View Post
I got a 100% Passed.
So it must be fixed, no?
After a week I delete:

PHP Code:
<div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 

PHP Code:
<div class="smallfont" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 
I dont know what would happen but without this I can validated....
Reply With Quote
  #10  
Old 07-04-2009, 06:44 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If that is all you removed, it looks like you had an incomplete tag there...
Reply With Quote
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 01:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06179 seconds
  • Memory Usage 2,276KB
  • Queries Executed 11 (?)
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
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete