BBCodes in previewed search results

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
User avatar
th23
Registered User
Posts: 112
Joined: Sat Jul 03, 2004 4:26 pm
Location: Bonn, Germany
Contact:

BBCodes in previewed search results

Post by th23 »

As this behavior got marked as "not a bug" in the bug tracker I would like to take the question here as a discussion: What is the reason for this handling? Any comments / hints?

Error report: The BBCodes in posts that are previewed in search results don't get rendered correctly, e.g. they are still shown like "[b]this text should be bold[/b]" not as bold text.

Thanks
th23
Last edited by th23 on Mon Nov 06, 2006 12:52 pm, edited 1 time in total.

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: BBCodes in previewed search results

Post by Eelke »

You may want to change that quote-bbcode to a code to get your point across ;)

That's very peculiar, maybe a developer would care to explain why this is intended behaviour. Stripping the bbcode out I could probably live with, but unparsed seems a bit strange.

User avatar
th23
Registered User
Posts: 112
Joined: Sat Jul 03, 2004 4:26 pm
Location: Bonn, Germany
Contact:

Re: BBCodes in previewed search results

Post by th23 »

Thanks Eelke... didn't think to deactivate BBCode parsing here :roll:

Yeah, not showing bbcodes totally would be fine for me, but as you said, not parsing them looks "a bit" odd to me.

DanoruX
Registered User
Posts: 156
Joined: Fri Mar 18, 2005 11:47 pm
Contact:

Re: BBCodes in previewed search results

Post by DanoruX »

Actually not parsing bbcode could be a negative experience for those who use things like spoiler tags...

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: BBCodes in previewed search results

Post by Highway of Life »

Yes, I remember reporting this bug some time ago...

Maybe it should be revisited... ?

For posts that have a lot of BBCode being use, it can look rather interesting in the searches...
Example:
This is some text

Would look like:

Code: Select all

[b][size=10][color=blue]This[/color] [color=red]is[/color] [color=green]some[/color][/size] [size=14][color=purple][i]text[/i][/color][/size][/b]
In the search.
Image

User avatar
Dr.Death
Registered User
Posts: 25
Joined: Thu Feb 24, 2005 10:33 am
Location: Germany
Contact:

Re: BBCodes in previewed search results

Post by Dr.Death »

agreed.

BBCodes should be parsed on search output.
Doc.

Image

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: BBCodes in previewed search results

Post by naderman »

Uh, current CVS renders posts which are shown completely and strips BBcode from posts which are shown incomplete. It also finds the context of searched words and displays those areas of incomplete posts. It's not possible with the current BBCode class to render incomplete parts of a message.

User avatar
Dr.Death
Registered User
Posts: 25
Joined: Thu Feb 24, 2005 10:33 am
Location: Germany
Contact:

Re: BBCodes in previewed search results

Post by Dr.Death »

Thanx Nils !

It works !

http://area51.lpi-clan.de/search.php?keywords=spoiler" target="_blank
Doc.

Image

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: BBCodes in previewed search results

Post by Highway of Life »

You guys rock, as usual. ;) :thumbsup:
Image

DanoruX
Registered User
Posts: 156
Joined: Fri Mar 18, 2005 11:47 pm
Contact:

Re: BBCodes in previewed search results

Post by DanoruX »

awesome search query :mrgreen:

Post Reply