| EN - Technical support • More than 10 poll options? |
| 06.05.2012, 18:29 - =[FiRe]= Seba - webSPELL newbie - 14 Posts
Hi! Is it possible to create an poll where's more than 10 options? I'd need to do one with 20 different options. Thank you! |
| 06.05.2012, 22:46 - CREETEN. - webSPELL user - 239 Posts
Hello, I will do it for 20 options now, just be patient. Just have to look up what has to be changed, do it, and upload it here. - CREETEN. //edit: Demo: http://webspell.creeation.de/index.php?site=polls tested webSPELL versions: - 4.2.3a Changed files: - poll.php - polls.php - templates/polls_edit.html - templates/polls_new.html Added files: - install_polls20.php Installation: - upload all files to your server - run http://yoursite.com/?site=install_polls20 - delete install_polls20.php from your server - that's it! Report any bugs in this thread please. Download! Online SteamID/CommunityID Converter - http://converter.creeation.de |
| 07.05.2012, 00:44 - CREETEN. - webSPELL user - 239 Posts
Done, see above! If others are interested, I can make the number of max options settable in the admin panel settings. Online SteamID/CommunityID Converter - http://converter.creeation.de |
| 09.05.2012, 07:28 - =[FiRe]= Seba - webSPELL newbie - 14 Posts
TY a lot, but for me it didn't work. Got the Query failed -announcement when trying to save poll, poll.php. |
| 09.05.2012, 08:09 - CREETEN. - webSPELL user - 239 Posts
Did you run the install? If not, do it. If it doesn't work then, open "_settings.php" and on line 30 change debugmode from "OFF" to "ON", try to save a poll again and if it fails a detailed error message should appear. Post it here. And which webSPELL version do you have installed? I didn't test it on SE, only Clan yet. Online SteamID/CommunityID Converter - http://converter.creeation.de |
| 13.05.2012, 11:26 - =[FiRe]= Seba - webSPELL newbie - 14 Posts
Yes I did install it. I have 4.2.3a Clan edition. Here's the errors below: errorno=1054 error=Unknown column 'o11' in 'field list' query=INSERT INTO site_poll (aktiv, titel, o1, o2, o3, o4, o5, o6, o7, o8, o9, o10, o11, o12, o13, o14, o15, o16, o17, o18, o19, o20, comments, laufzeit, intern) values( '1', 'Kauden pelaaja!', 'RA', 'Neo', 'Gamo', 'Seba', 'Snipu', 'Thormiz', 'Lagavulin-Nalle', 'TiGGaH', 'Coixi', 'Ribbe', 'Luumu', 'Para', 'Rebe', 'Moose', 'Antmano', 'VZA', 'Misterjuz', '', '', '', '1' ,'1338584400', '') |
| 15.05.2012, 15:31 - CREETEN. - webSPELL user - 239 Posts
Are you sure you did run http://yourwebspellsit....php?site=install_polls20 ? Seems like you didn't actually... Online SteamID/CommunityID Converter - http://converter.creeation.de |
| 24.05.2012, 09:30 - =[FiRe]= Seba - webSPELL newbie - 14 Posts
I've tried different ways of installing it, also just checked the code & copy pasting php to my original files and I just cant get it working. Same error over and over again: Query failed: errorno=1054 error=Unknown column 'o11' in 'field list' query=INSERT INTO site_poll (aktiv, titel, o1, o2, o3, o4, o5, o6, o7, o8, o9, o10, o11, o12, o13, o14, o15, o16, o17, o18, o19, o20, comments, laufzeit, intern) values( '1', 'test', '1', '2', '3', '4', '5', '6', '8', '6', '5', '3', '56', '8', '9', '6', '4', '4', '8', '9', '5', '5', '2' ,'1355350320', '') **EDIT** Now checking my SQL tables, install didnt create tables to poll & poll_votes. I created them manually, lets see does it work now. **EDIT****EDIT** Got it working now when added tables myself & just copied those .PHP's & templates to my site. Installer doesnt create tables correct, it tries to create them to wrong lines and with wrong values. Atleast on my system... I created 10 x new tables after o10 with same values as those earlier option tables are. |