MyBB Community Forums

Full Version: Need help to validate
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does any one know where i can find this line i was using http://validator.aborla.net/ to validate
<!-- end: postbit_author_user -->
I need to change to
<!== end: postbit_author_user -->

So it will validate
Uhhhh.... The first one is valid, the second one isn't even SGML valid....

Just use the real validator: http://validator.w3.org/
Yeah that's valid XHTML right there. Using equal signs wouldn't be valid however.
(2010-01-31, 12:31 AM)CAwesome Wrote: [ -> ]Uhhhh.... The first one is valid, the second one isn't even SGML valid....

Just use the real validator: http://validator.w3.org/

yea i did that first than went to the other one cause it will show repaired code
here i will post full 3 errors with http://validator.w3.org/
Line 191, Column 5: S separator in comment declaration
<!-- end: postbit_author_user -->
This may happen if you have consecutive comments but did not close one of them properly. The proper syntax for comments is <!-- my comment -->.
Line 191, Column 6: invalid comment declaration: found name start character outside comment but inside comment declaration
<!-- end: postbit_author_user -->
Line 190, Column 32: comment declaration started here
<!-- end: postbit_reputation --><!-- FRIENDCODE ==!> Line 191, Column 2: XML Parsing Error: Comment not terminated
<!-- end: postbit_author_user -->
repaired code
<!-- start: postbit_reputation -->
<br />
Reputation: <a href="reputation.php?uid=1"><strong class="reputation_neutral">0</strong></a> <!-- end: postbit_reputation --><!-- FRIENDCODE ==!>
<!== end: postbit_author_user -->
MyBB Central validates and has these comments in the source. It's perfectly valid.

The problem is <!-- FRIENDCODE ==!> but this isn't even part of MyBB, it's a plugin.
(2010-01-31, 12:43 AM)MattRogowski Wrote: [ -> ]MyBB Central validates and has these comments in the source. It's perfectly valid.

The problem is <!-- FRIENDCODE ==!> but this isn't even part of MyBB, it's a plugin.
Matt
well i know but if i change <!-- end: postbit_author_user --> this it will valid.

If I told you what i did to have this happen your going to ask why i did it !!!

To give you an idea of what i did i stared fresh MyBB cause i had way to meany plugins over 130 and i was having some trouble so i backed up
mybb_attachments
mybb_forums
mybb_posts
mybb_threads
mybb_users
backup a few others but this are the main ones
inscered into new forum but i tried to alter the mybb_users and get rid of the extra columns from plunin i do not have no more

So how would i fix this uninstall plugin then install again
Any site that validates with "<!== -->" is a fluke. It isn't proper.
Changing <!-- end: postbit_author_user --> to <!== end: postbit_author_user --> is only accommodating for the fact that <!-- FRIENDCODE ==!> is there. That is the problem. Changing the postbit_author_user one to invalid code to fix the friendcode invalid code is a bad way of doing it. Where did you download this friendcode plugin from?? That is the code that needs changing, and nothing else.
Thank you matt for trying to help me
i got plugin from
http://www.mybbcentral.com/thread-1504.html
I Fixed it Mat thank you It was me jumping the gun i had to actuly put a WII # in first