Bbcodes to generate Friendly URLs to theads or posts from the ID respecting permissions to view details about the target.