View Full Version : Code that makes script not validate
shadey
05-18-2009, 10:04 PM
Hi to all.
I am working on a theme for v2.0.
When I run it with the code that comes with the download
Content visible to registered users only.
The template/site does not pass xhtml validation.
However, when I remove it, the template/site validates no problem.
Is this a necessity for the template/script?
James
05-18-2009, 11:18 PM
Only if you want to count hits
proprod
05-19-2009, 01:13 AM
All of my directories pass xhtml validation with that same code.
Can you provide a URL so I can see what the validator is saying?
proprod
05-19-2009, 01:22 AM
Nevermind, I see the problem. Change to:
Content visible to registered users only.
shadey
05-19-2009, 12:42 PM
Thanks, I will try.
This is the url I am working on (right now as of this post that code is not in)....
www.directurls.com
shadey
05-19-2009, 08:08 PM
propod tried it with code above....but see results.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.directurls.com%2F&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654
proprod
05-19-2009, 08:12 PM
This should do it then:
Content visible to registered users only.
shadey
05-19-2009, 08:14 PM
Worked perfect!!!
Thank you propod!!!
arsah
06-12-2009, 10:48 AM
That worked good with me too,thanks for all.
______________________________________
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.