Topic: Searching posts... no parse.

Am I missing something...

When I search for posts (NOT Topics) it does not parse the BBCode in the posts. Is their any particular reasons for this? Thanks.

2

Re: Searching posts... no parse.

The reason is that the length of output is limited so parsed bbcode could be chopped off in the middle causing problems.

Re: Searching posts... no parse.

Sorry... what do you mean by 'output is limited'?

Can I not just parse the colours and links?
Thanks in advance.

4

Re: Searching posts... no parse.

I mean you only get the first 1000 characters of the post which means you could get unclosed tags if you parsed the message which could trash the page.

Re: Searching posts... no parse.

So whats the difference between a search page and a normal viewtopic page?
I think I am missing something here.

6

Re: Searching posts... no parse.

StevenBullen wrote:

So whats the difference between a search page and a normal viewtopic page?
I think I am missing something here.

You don't see the entire content of the post.

7 (edited by Mr Puto 2006-03-18 02:06)

Re: Searching posts... no parse.

Its like this, if someone posted a huge post, the last characters could be an open tag, like this:

"HEY CHECKOUT MY NEW SITE WHILE UR AT IT! ITS [b]" <- If those were the max characters, meaning, [b] were the last 3 characters of the 1000 returned, and if it was parsed, it'd mess up the page.

Re: Searching posts... no parse.

Ok my next question would be... how do I parse it and not restrict the amount of characters? So that would not make a difference. smile