Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Mark S), 26 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/04/06
Posts: 4119
Top Posters (30 Days)
Ruben Rocha 103
Rick 80
Mark S 72
Thelockman 58
Gizmo 54
driv 35
ntdoc 32
Sirdude 32
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#133770 - 12/26/02 07:43 PM "in reply to" missing in flat mode
Anonymous
Unregistered


I finished upgrading a few hours ago and I already got a bunch of complaints from flat-mode-fanatics.
They want the "in reply to" information back.

yeap I know this wouldn't be necessary if anyone knew how to quote but unfortunately they're lazy [Wink]

flint
flint@pxf.biz

Top
#133771 - 12/26/02 08:15 PM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Unfortunately, with the transition to user numbers, the posters name is no longer stored in the post. It would be too intense when people changed names.

I've had a bit of negative feedback about this as well.

Here was Rick's official response when I first asked:
quote:
Unfortunately, the Re: Username isn't going to be possible. Since we no longer store the username in the posts table it would require another JOIN against the user's table to find out what the user's display name is. There's already one join against that crosses the users/posts table and this would make it even more complex. An unfortunate side-effect of going to user numbers for everything. This was the only thing I wasn't able to resolve.

Now if you've noticed. Clicking on the subject will open a window with the post that its in reply to. Also, hovering over that link will show you "Re: #4099" which means in reply to post number 4099 (or whatever). Glance up at the post numbers, and you'll see what post they are replying to.

It's almost there.... with great speed improvements. It just takes some getting used to.

My users just posted a small "list" and this was on it.
quote:
Not seeing who you're replying to. I understand why the change was made, but i'm going to miss being able to tell which comment people are replying to...especially when it's a popular thread and people are making various comments.
It's helped once I've explained the trick about hovering the mouse over the subject link.

[Wink]

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

[This message was edited by JoshPet on March 15, 2003 at 10:45 AM.]

Top
#133772 - 12/28/02 11:48 AM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Rick - it can be done without another query! Think about it - every post replies to another, chronologically before it so higher up in the flat post list.

So, at some point earlier in the viewflat script you must already have already encountered that user and his/her userdata.

Therefore - the solution is to cache this in an array s.t $usercache[$id] = userobj or similar. Then, you can simply look it up and do the "in reply to" bit as before. [Smile]

Top
#133773 - 12/28/02 03:20 PM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


quote:
So, at some point earlier in the viewflat script you must already have already encountered that user and his/her userdata.
What if the thread takes more than one page to display, and the relevant post is on a previous page? I don't think the information would be available without additional queries, but I'd have to examine the code to verify that.

It might be worthwhile to add the extra queries in, and do a benchmark, just to see how much extra processing is really involved.

Top
#133774 - 12/28/02 04:04 PM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Maybe a configurable option (similar to full / partial new post tracking). That way boards where load and speed is a concern could turn it off.
I would think Classic Users wouldn't mind this, as it make it very similar to Classic's view.

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

Top
#133775 - 12/31/02 06:53 AM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Like in every new release there are some new "features" I don't like. This one I don't like at all. Before you could easily see to whom a user replied. Now I have to open the thread and click on every subject line to get the context. Sorry, but that's a step back [Frown]

Well, I hope we can find a solution for that. Yes, nice that we have a Uid now, but not one user will see that. They will all miss this lost feature...

Maze

Top
#133776 - 12/31/02 04:40 PM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


I wrote a modification that will add this back. It's here at threadsdev.com. You need to login/register to see it.

Modify at your own peril. Be warned that it increases the number of queries. If you notice your board is slow, or you start to get "too many connections" SQL errors... then this would be the first thing I would remove.

I have it set up 2 ways. One option adds 1 query per post (usually people view 10 posts per page). it offers a link, which opens in a new window to the users profile. So you can click, pop open a window, and see who posted it. The second step grabs the username and does the Re: Username thing.... it adds 2 queries per post. [Wink]

But if you must have this feature, and your server can handle it, and you aren't afraid of hacking, then give it a try. [Wink]

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

Top
#133777 - 01/01/03 05:15 AM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Hi Josh,

thanks for the Hack. [Smile] btw. Happy new 2003!

In the meantime I thought a little bit about how to do the re: name thing without too much additional queries. As Vexalith mentioned before we already know postnumber and username of every post that is shown. Why not store these in an array. The missing names could be grabed by queries.

I think the best way would be to add a new field to w3t_Posts. Lets call it B_ParentUserID [Roll Eyes] [Wink] . Now we only need one extra query for each post and in combination with an cache-array to reduce the queries this could be a good solution.

What do you think?

Maze

Top
#133778 - 01/02/03 12:48 AM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


quote:
I think the best way would be to add a new field to w3t_Posts. Lets call it B_ParentUserID  . Now we only need one extra query for each post and in combination with an cache-array to reduce the queries this could be a good solution.

What do you think?

That was exactly my theory. There would be no harm in storing the userNUMBER of the person you were replying to. Because that would never change [Smile]

I made that suggestion to Rick at our development board a couple of days ago. We'll have to see what direction this goes in the next version.

Thanks. [Smile]

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

Top
#133779 - 01/01/03 01:57 PM Re: "in reply to" missing in flat mode
Anonymous
Unregistered


Delphi uses a "In reply to post number xxx" format for their "in reply to" and one of the biggests complaints I had when I moved my forum to Classic was that the "in reply to a post number" was missing.

Why not have it in Threads, but actual visible text and not just a mouse over...

Da LAN Tech

Top
Page 1 of 2 1 2 >


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Arabic letters test
by Cowabanga
Yesterday at 04:47 AM
Forum Stats
4296 Members
33 Forums
30686 Topics
155998 Posts

Max Online: 978 @ 06/24/07 08:19 PM