PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 1st, 2006, 05:43 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
Valid XHTML ?

Hello

I checked my index.php and showgallery.php with http://validator.w3.org/

Result: This page is not Valid XHTML 1.0 Transitional!

A few examples:

Code:
Content visible to verified customers only.
In sourcecode this:

[CODE]<body><body bgcolor="#FFCC33" text="#000000" link="#0000FF" vlink="#0000FF" alink="#0000FF">[/code]

two body tags?

Last edited by Markus; February 1st, 2006 at 05:47 PM.
Markus is offline   Reply With Quote
Old February 1st, 2006, 07:15 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
There are not two body tags in our program. You sure you are not loading a second body tag in your header code?

I run a stock photopost site with vb3 and the code is indeed 100% XHTML valid that I see

http://validator.w3.org/check?uri=ht...hp%2Fcat%2F502

http://validator.w3.org/check?uri=ht...m%2Fgallery%2F

http://validator.w3.org/check?uri=ht...doctype=Inline
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 2nd, 2006, 05:31 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
My Photopost Gallery run standalone.

My Vbulletin Forum ist Valid XHTML.

Here the sourcecode:

index.php:

Code:
Content visible to verified customers only.
showgallery.php:

Code:
Content visible to verified customers only.
I change nothing in the header code.

The code in "edit header"

Code:
Content visible to verified customers only.
So where can I remove the <body> tag?

<img src ... I will change.
Markus is offline   Reply With Quote
Old February 2nd, 2006, 05:57 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
I found the second <body> in pp-inc.php:

Lines 459 -470:

Code:
Content visible to verified customers only.
If i change like that:

Code:
Content visible to verified customers only.
the second <body> disappear in the sourcecode.

But there are also other errors in html validator. I will try to find them.

Last edited by Markus; February 2nd, 2006 at 06:08 AM.
Markus is offline   Reply With Quote
Old February 2nd, 2006, 09:06 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
No you never remove code from our PHP code you will break it

Your loading a header over Photopost that contains a body tag and thats your problem. Try taking the header off your photopost and see if it validates
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 2nd, 2006, 09:15 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
Quote:
Originally Posted by Chuck S
No you never remove code from our PHP code you will break it

Your loading a header over Photopost that contains a body tag and thats your problem. Try taking the header off your photopost and see if it validates
I don't understand. Which header is loading over Photopost? I use the original "header.htm"
Markus is offline   Reply With Quote
Old February 2nd, 2006, 09:27 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Exactly remove or make sure the code in that header is VALID

Thats just a test file not something for you to run.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 2nd, 2006, 09:29 AM   #8 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
What he is saying is that the header.htm file included as a test has an invalid line in it - the first line which contains a body tag should be removed from that template file.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old February 2nd, 2006, 01:15 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
OK, I understand now.

The showgallery.php and showphoto.php is now Valid XHTML.

But the index not:

Code:
Content visible to verified customers only.
I miss there the end tags of tables:

**
Code:
Content visible to verified customers only.
Markus is offline   Reply With Quote
Old February 2nd, 2006, 02:03 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Your not using who's online?

Try this in indexstats.tmpl move the code in black to where I have placed it in red

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 3rd, 2006, 02:56 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
Quote:
Originally Posted by Chuck S
Your not using who's online?
Yes.

I made the changes:

But I miss there the tag </tr>:

Code:
Content visible to verified customers only.
Markus is offline   Reply With Quote
Old February 3rd, 2006, 06:13 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Okay lets do this the old school way

Download this template and use it
Attached Files
File Type: tmpl indexstats.tmpl (1.7 KB, 5 views)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 3rd, 2006, 07:12 AM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
The index.php is Valid XHTML 1.0 Transitional.

Thanks for your help.
Markus is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
xhtml validate Grae Bugs - vBulletin 3.5.X 8 January 16th, 2006 01:32 PM
Is my Branding free still valid ??? sleep747 How Do I? - vBulletin 3.5.X 2 November 25th, 2005 09:59 PM
Many XHTML Invalid codes Alien Master Photopost Pro Bug Reports 13 October 2nd, 2005 11:50 PM
The URL you submitted is not valid Parax Installs and Upgrade - vBulletin 3.0.X 2 July 19th, 2005 03:44 AM
You are not a valid administrator or moderator! rbl Photopost Pro Installation & Upgrades 4 December 20th, 2004 10:15 AM


All times are GMT -5. The time now is 11:16 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0