My crack team of quality assurance testers discovered almost immediately that the write-in poll options are not governed by the max size for poll options that you set in the admin panel vbulletin options.
They did this by posting the entire chapter of Genesis into an option. It truncated at Chapter 20, which is just a tad longer than the 150 characters specified in the admin panel.
I've modified the write-in vote template to substring $optionvalue to the desired length. Does anyone know what variable name the specified max poll options characters is stored in? Ideally, I'd like to use that variable rather than hard-coding or creating a new variable that I have to maintain.
Thanks!
|