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.

Redirect after saving 'Edit My Account'

edited March 2011 in Vanilla 2.0 - 2.8
If you use special symbols for usernames (cyrillic, chinese, some european, etc.) and edit some code for it, you need to replace in file class.profilecontroller.php next string:

$this->RedirectUrl = Url('/profile/'. Gdn_Format::Url($User->Name));

to

$this->RedirectUrl = Url('/profile/'.$this->User->UserID . '/' . urlencode($User->Name));

I think that this replace can be used for other languages ​​too, but may be need a little change.

Sign In or Register to comment.