Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
IDs vs Usernames in URL
Is there a setting to adjust this? We're doing a handshake with our application and don't want to have to worry about duplicate usernames. Can the links to all usernames go to vanilla/profile/{user_id} as opposed to vanilla/profile/{user_name}? Thanks!
0
Comments
You can create your own version of this function in a plugin to override the original.
In a plugin? How?
functions.general.php is included in bootstrap.php, before any plugin. There is only place where it is possible to override - in bootstrap.before.php
Regardless, I pushed a change to master yesterday that defaults to the url being like /profile/1/Mark
In applications/vanilla/controllers/post.php
line 97, to add: $this->Comment->InsertUserID = $Session->User->UserID;
before:
$this->Comment->InsertName = $Session->User->Name;
$this->Comment->InsertPhoto = $Session->User->Photo;
That seems to be it, though. No more preview button, as there's none in "conversation".