Shoutbox

Something i found out.. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Something i found out.. (/showthread.php?tid=46270)

Something i found out.. by paperless on 06-14-2005 at 06:59 AM

When you click in the username of someone in this place:

[Image: attachment.php?pid=479654]

It doesnt go to the profile of that user but to the profile of the last user replying to the topic ( which is the same if you are seeing an updated  version of the page ).

I discovered this because i was looking at a cached version of T&T and when clicked on my username to see my profile in a palce like that, it went to Killov's profile because he was the one who had replied at last.

I dont think this is a big trouble but blah :P


RE: Something i found out.. by John Anderton on 06-14-2005 at 07:21 AM

No actually that i found out a long time back. It has a key which takes you to the profile of the last poster in that thread. It is much more easier and convienint to code it that way i guess :)

EDIT AFTER 10 MINS :)

Just noticed .... ur a Pf now .... u freaky guy u :dodgyomar:

Pf = Posting Freak (:dodgy: ppl who didnt know :tongue:)


RE: Something i found out.. by WDZ on 06-14-2005 at 07:23 AM

It is kinda crappy, but that's the way it works.

I think it was done that way for efficiency.


RE: Something i found out.. by saralk on 06-15-2005 at 07:53 PM

is the last user who posted stored as the user id, or as the username?


RE: Something i found out.. by Zephyr on 06-15-2005 at 07:58 PM

quote:
Originally posted by saralk
is the last user who posted stored as the user id, or as the username?

I would guess the user id, but isn't it always the user id and the username is never used for linking to profiles AFAIK?

The link is http://shoutbox.menthix.net/member.php?action=pro...stposter&tid=?????

Notice the uid=lastposter, so lastposter is stored as the user id.
RE: Something i found out.. by WDZ on 06-15-2005 at 08:40 PM

quote:
Originally posted by saralk
is the last user who posted stored as the user id, or as the username?
Username. If only the userID was stored, the name would have to be queried. Maybe both should be stored. But that would be kinda redundant. :o
RE: Something i found out.. by CookieRevised on 06-15-2005 at 09:31 PM

quote:
Originally posted by WDZ
quote:
Originally posted by saralk
is the last user who posted stored as the user id, or as the username?
Username. If only the userID was stored, the name would have to be queried. Maybe both should be stored. But that would be kinda redundant. :o
especially when one can simply hit the refresh button in the browser in this case... I guess