A West Yorkshire Police misconduct panel has heard how a detective posted photos of his partner on an online wife-sharing forum and accessed confidential records relating to her former partner and his new girlfriend.