I'm not laughing at you but LOL!!!!! .... I've never seen the Poll MOD code, so I didn't realise what trap I was leading you into - your code will work fine if a post could ever be a Poll & an event at the same time ... not quite possible I think . Anyway, back to the serious work :
Your problems start at line 1088 (if isPoll = 1 then) basically the 2 areas you added (lines 1096 - 1109) and (lines 1115 - 1121) should really be added to the area (lines 1161 - 1169) which is the "If the post is not an event here's how I display it" area.
no prob's ... that's what I like about Snitz. We can live on opposite ends of the earth and still be online & helping at all hours of the day (almost )