When you install mods, the code you add must look the same way as it is in the file you are copying it from.
Change lines 241 - 244 from this:'################ Poll Mod ######################
strSql = strSql & ", T.T_ISPOLL"
'#################################################
strSql = strSql & ", T.TOPIC_ID, T.T_AUTHOR, T.T_SUBJECT, T.T_STATUS, T.T_LAST_POST"
to this:'################ Poll Mod ######################
strSql = strSql & ", T.TOPIC_ID, T.T_AUTHOR, T.T_SUBJECT, T.T_STATUS, T.T_LAST_POST, T.T_ISPOLL"
'#################################################