In different scenarios - especially when developping plugins - I find myself going to phpmyadmin, qa_users, searching the userid to get the username (the "handle").
It would be great to have a URL to get the userprofile immediately.
So additionally to: http://www.question2answer.org/qa/user/Scott
it would be great to have: http://www.question2answer.org/qa/userid/101
Who cares as well about that?
Personally I would prefer user URLs of the form www.question2answer.org/qa/user/101/scott
You immediately find in the docs the way handle to userid:
qa_handle_to_userid($handle) returns the userid for the user identified by $handle or null if no user matches. This requires Q2A 1.6+, but see also qa_handles_to_userids(...) and qa_userids_to_handles(...) which were added in Q2A 1.5.
With v1.6 there was a new function implemented for userid to handle:
which is not yet in the docs.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.