[ticket/13192] Add method for generating valid user page links based on mod_rewrite

Ticket: https://tracker.phpbb.com/browse/PHPBB3-13192
mind always doing true-false or false-true? currently its mixed, dont want anyone to get confused in the future