|
|
corrupt With a lowercase c |
07.03.2009 - 00:52
I can't figure this out. I can link to a user profile by framing his nick with the [user] tag. But how exactly does it work? Users obviously have an id as a primary key and that is used to refer to their profile page, but obviously the username is parsed to find that number once the post is displayed. But what if a user changes his name? Will that break the reference or is there some database magic working that I'm unaware of?
----
Loading...
|
GT Coffee!! |
08.03.2009 - 15:01
I'm pretty sure the "magic" stops when a user changes his/her name
Loading...
|
corrupt With a lowercase c |
08.03.2009 - 15:22 Written by GT on 08.03.2009 at 15:01 Any way to reference users by id then? The obvious way to just insert an into a user tag doesn't work: Reference by GT's id: 12648 Reference by GT's nick: GT
----
Loading...
|
GT Coffee!! |
08.03.2009 - 18:06 Written by corrupt on 08.03.2009 at 15:22 The only way to do that is by using the [url ][/url]-tag: GT
Loading...
|
corrupt With a lowercase c |
08.03.2009 - 18:37 Written by GT on 08.03.2009 at 18:06 Yeah, that's possible. I was wondering if there's a way to have the system replace the name with the current one. Static linking yields a static name. But OK then. If it's not possible, that's what I'll do.
----
Loading...
|
Ivan Retired Admin |
28.03.2009 - 16:32 Written by corrupt on 08.03.2009 at 15:22 Use [ user_id ]12648[ /user_id ].
Loading...
|
corrupt With a lowercase c |
28.03.2009 - 17:32 Written by Ivan on 28.03.2009 at 16:32 Nice, that's what I meant. Thanks.
----
Loading...
|
GT Coffee!! |
30.03.2009 - 15:54
Ah nice. Didn't know that code
Loading...
|
prem123 Posts: 1 From: India |
01.03.2010 - 02:34
Yeah, I got that code and will use to user tag.
Loading...
|
Are you sure?