Fixed a minor installation bug that would cause the some pre-existing polls to not function properly when performing actions related to them. Also made a few minor template changes to ensure greater compatibility with pre-existing mods.
Excelent, but... if have the Who Voted What installed it doesn´t work.
Any idea? I give you my display.template
If you install the latest version with the changes I've made, when trying to install that mod over the top of mine it should report that all tests are successful (I tried this myself with just these two mods, so if you're getting any errors, this would be due to another mod), however it won't have installed properly and will fail to work as expected. The solution is to make changes to that particular mod's modification.xml file located inside the zip file for it. This is the change you will be required to make.
<search position="after"><![CDATA[ }
// Calculate the fastest way to get the messages!
<search position="before"><![CDATA[ > 1 ? 'checkbox' : 'radio') . '" name="options" id="options-' . $i . '" value="' . $i . '" class="check" />'
That mod will still be able to function stand alone with this change intact, so if you ever decide to uninstall my mod (you will be required to remove this one first) that package should still be able to install successfully.
Now that you say that, I've noticed my 'remove poll' option has also disappeared.
Hmm, that makes two of us, I sure hope the Mod author will come up with a solution...
There is no solution, if you uninstall a package, you lose the changes it makes, simple as that. As for the sql error, that's probably related to the error I fixed above, otherwise I can only assume that it's caused by conflicting with another mod. Also, please don't message me support related issues regarding mods, this is what these topics are for, trying to rush me will only irritate me and make me less likely to assist you.
I'm afraid I can't see any difference. I am using a theme (BlueSkies) but it doesn't work in the SMF default theme either. It stated that it had been installed successfully so is there something else I should be looking at?
Actually I've now had to uninstall the theme as it interfered with a poll I was currently running. Where I had given an option to change a vote, after installing the mod, when a user attempted to change a cast vote, it was returning an error to the effect that the Board did not exist. Even when I as the admin tried to edit the poll, it came back with the same error. When I uninstalled the mod, the poll worked fine again.
Again, probably related to the error I fixed above. The difference you'll see when the mod is installed is rather minimal as it tries to keep template changes down to a minimum, or rather it doesn't need to make too many changes, effectively you'll only really notice it when you try to add a poll to a topic that already has one.