Use "has-profile" for post view when profiles are displayed

See https://github.com/phpbb/phpbb/pull/2742