View topic - Search User's posts
Search User's posts
3 posts
• Page 1 of 1
Search User's posts
So I was trying to find a recent thread that I replied to, but for some reason didn't seem to show on the index either. So I clicked on my name and chose search user's posts.
And I noticed very quickly that in most cases, the sample text was NOT my words, but someone else's.
In most cases this seems to be attributing whatever text is quoted by me to me. However, there is one message on page one that quoted Harisenbon that was attributed correctly. Everything else on page one that references a post where I quoted text, is quoting the quoted text, not my response.
search.php?author_id=6337&sr=posts
This is a picture with the erroneous posts marked.
Actually, after all that effort, I still can't find the thread, I guess it was deleted by Mods.
And I noticed very quickly that in most cases, the sample text was NOT my words, but someone else's.
In most cases this seems to be attributing whatever text is quoted by me to me. However, there is one message on page one that quoted Harisenbon that was attributed correctly. Everything else on page one that references a post where I quoted text, is quoting the quoted text, not my response.
search.php?author_id=6337&sr=posts
This is a picture with the erroneous posts marked.
Actually, after all that effort, I still can't find the thread, I guess it was deleted by Mods.
なるほど。
さっぱりわからん。
さっぱりわからん。
-

Infidel - Posts: 3088
- Joined: Sun 10.09.2005 1:12 am
- Native language: 英語
Re: Search User's posts
It takes the initial text in the post and ignores any tags so the text that you quoted is what shows in the search results"sample text". If you click on the post you are still taken to a post that you made.
I have seen this on other forums also.
I have seen this on other forums also.
Don't complain to me that people kick you when you're down. It's your own fault for lying there
-

chikara - Posts: 3574
- Joined: Tue 07.11.2006 10:48 pm
- Location: Australia (SA)
- Native language: English (Australian)
- Gender: Male
Re: Search User's posts
It looks to me like the reason most don't work, and why harisenbon's did work is because the sample text for his included both the opening and closing quote tags. All the others seem to be truncated before they reached the closing quote tag and thus the initial quote tag is ignored as well.
Possibly a better solution would be to have the PHPBB developers add some code to strip out any quotes before creating the sample search text... but I'm guessing that the search text for those user post listings itself is taken from the basic search text which includes all the text in a post... so modifying this behavior would probably have negative performance ramifications etc (adding a redundant search index to the db, or adding additional parsing code to search results).
It's entirely possible that the fix would not be very complex... I just don't have the time or energy to really dig into it further right now, and it doesn't actually break anything... it just looks weird on the search results page.
Just a quirk that we work around for now I guess.
Possibly a better solution would be to have the PHPBB developers add some code to strip out any quotes before creating the sample search text... but I'm guessing that the search text for those user post listings itself is taken from the basic search text which includes all the text in a post... so modifying this behavior would probably have negative performance ramifications etc (adding a redundant search index to the db, or adding additional parsing code to search results).
It's entirely possible that the fix would not be very complex... I just don't have the time or energy to really dig into it further right now, and it doesn't actually break anything... it just looks weird on the search results page.
Just a quirk that we work around for now I guess.
猿も木から落ちる
-

phreadom - Site Admin
- Posts: 1756
- Joined: Sun 01.29.2006 8:43 pm
- Location: Michigan, USA
- Native language: U.S. English (米語)
- Gender: Male
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests







Click to sign up
