Many hours spent on not only Mad Pride but most other sites at Dreamhost as well which were hacked good and proper. Get the feeling that the Forum escaped much as did most of WordPress. But there were some horribly altered php files.
Wisdom seems to be this was a recent exploit in Zen Photo – now upgraded. Probably not Gallery. If not Zen then one of these wordpress instances. But there were two new php files I could not move copy or delete. They were owned by other nicks – which were genuine Dreamhost users – so support told me. And they were probably hacked.
Hopefully there is nothing lurking in the databases. These were restored anyway.