Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Poll 1.3
This discussion has been closed.
Comments
} else { // Upgrade to version 1.2 AddConfigurationSetting($Context, 'EXTENSION_POLL_VERSION', '1.2'); }
Make vanilla write ot conf/settings.php each time you access it.
It should be replace by:
} elseif (version_compare($Context->Configuration['EXTENSION_POLL_VERSION'], '1.2', '<')) { // Upgrade to version 1.2 AddConfigurationSetting($Context, 'EXTENSION_POLL_VERSION', '1.2'); }
Version 1.3 - 06.09.2006, Jazzman
- Non discussion Polls won't show a notification anymore
- You can now remove a single poll you don't want to vote on instead of turning off the notification system
- Unauthenticated users (guests) can now see poll results if allowed
- New language definition function used (SetDefinition)
- Changing poll results now requires a role permission
- Fixed bug where it save settings file every page load
- Poll data is now sorted by PollDataID
I've installed it, tested it, and it's GREAT!!!
A couple of things:
1) your readme file needs to be updated!
2) if a poll is created in the 'Poll Management' screen, there does not seem to be a way to attach it to a discussion. Is that intentional? - ie., clicking on "Add Poll to this discussion" actually starts a new Poll, rather than showing a list of pre-defined polls...
"Failed: (undefined) undefined"
Bug 1:When I try to edit an existing discussion poll, I get the interface for adding a new discussion poll. If I put in some info and create that new poll, it attaches it to a random discussion.
Bug 2:When I try to delete a discussion poll, I get the following "Notices," and the page stops rendering after the navigation tabs:
Notice: Trying to get property of non-object in /path/to/vanilla/extensions/Poll/library/Control.PollManagementForm.php on line 39 Notice: Trying to get property of non-object in /path/to/vanilla/extensions/Poll/library/Control.PollManagementForm.php on line 40
Have you gone into Roles & Permissions and checked the appropriate boxes?