Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2004
Posts: 4
M
stranger
stranger
M Offline
Joined: Aug 2004
Posts: 4
I would like to see you guys put a heavier design emphasis on using the UID as the only way to uniquely identify any particular user, instead of 'usually' using UID, but 'sometimes' using the U_Username field. I found this oddity when encountering the Address Book feature, and I am recoding it here to use the UID, as the integration modifications I am doing are an integration of our existing account database and the UBB.threads database, in which more than one user can have the same 'U_Username' property (there are other distinguishing fields that I have added), though the UID is always unique. This should make it easier for people doing modifications like myself, and would make the identification of a user standard across all of the code, at the expense of additional queries to translate user id -> display name, though it doesn't look like it would be a significant number of additional queries.

Thank you,

Mike

Joined: Dec 2003
Posts: 613
Likes: 6
Former Developer
Former Developer
Joined: Dec 2003
Posts: 613
Likes: 6
The new product will always use a numeric user identifier in the database.

Please note that for the current time, having multiple uses with the same display name, or single users with a display name that duplicates a login name belonging to someone else is a BAD idea.


Charles Capps
Former UBB.classic Maintainer
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
At one time .threads was keyed entirely on the U_Username field, which meant that a user could never change displayed name, would have to reregister to use a new name, would have multiple acocunts with the same email..... etc.

In version 6.2 we made the switch to using userid, though there were some legacy pieces that still used U_Username. THe new product will not have legacy code to deal with, it will all be keyed on a user id of some sort, but it will be consistent throughout all of it's functions.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
0 members (), 563 guests, and 80 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)