yes i knew that trouble.
I cannot see any need or any mean (do you see any?) to have more than one xoopspoll integrated with newbb so IMO adding a new field to "bb_topics" for this purpose is just making more unneeded queries. The only need is let user to select the preferred xoopspoll module at the first step. once he select the xoopspoll module and create the first poll that selection should be hidden.
besides in "irmtfan" branch of newbb i didnt implement any big feature until now. (eg: no field in tables) So the main question is am i allowed to make this branch more and more different with Alfred version.
Also in general im against using mid field as a solution in modules.
IMO dirname is better than mid because mid is not consistent in all installations. for example if somebody uninstall the xoopspoll module and install it again or wants to move tables from a site to another site the mid of xoopspoll is different and make it very hard or impossible to find issues.
I know using the int field (mid) is faster than varchar (dirname) but i still think dirname is better.
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project