Skip to content

Sexy Polling Reloaded, v5.0.0 (Joomla 5.x, 4.x, 3.10)

Compare
Choose a tag to compare
@Jefferson49 Jefferson49 released this 05 Nov 05:29
· 188 commits to joomla_5.x since this release

Security:

  • Due to improvements in the component architecture, it is highly recommended to upgrade from earlier 4.x.x versions to 5.0.0

Major Refactoring and Ready for Joomla 5:

  • Ready for Joomla 5 (with Backward Compatibility plugin), while still compatible to Joomla 4 and 3.10
  • Refactoring and removal of deprecated code regarding Joomla 5 and PHP 8.2
  • Removed JED and browser errors and significantly reduced JED warnings

Improvement regarding MySQL errors:

  • Avoiding errors of the tpye"column 'country' can't have a default value" (fixes issues #46, #49, #50, #58, improves earlier fixes for issues #19, #27, #37, #38), which sometimes occured in plugin releases starting from v4.1.7

New Features:

  • Check number of votes for logged in users; limit for max votes can be configured in the backend (implements #25)
  • Updated demo example poll

Bugfixes:

  • Limit of votes from an ip address doesn't seem to make a difference (fixes issue #12)
  • Newly added answer is counted with 0 votes if shown for the first time (fixes issue #43)
  • Error if changing default poll: "Save failed with the following error: Incorrect date value: 'NOW' for column joomla.jos_sexy_polls.date_start at row 1" (fixes issue #59)
  • Voting period (i.e. time until next vote is allowed) is not calculated correctly if a floating value (e.g. 0.01) is used (fixes issue #61)
  • If "Polls" (e.g. a category of polls) is chosen in Site Module, only the first poll is shown with proper CSS (fixes issue #62)
  • Voting is still possible even if maximum number of votes per IP is exceeded (fixes issue #64)
  • If a vote has been submitted recently, polling result does not count the latest vote (fixes issue #65)
  • It is possible to add a new answer even if voting is disabled per IP count (fixes issue #66)
  • Consistency of timezones for votes, while using user timezones in the frontend

Known Open Issues (Deprecation issues with PHP 8.2, which need to be solved in the Joomla platform):

  • Error message: "Function strftime() is deprecated /libraries/src/Form/Field/CalendarField.php on line 322" (issue #58)
  • Error message if "Date Start" of poll is empty: "Save failed with the following error: Incorrect date value: 'NOW' for column joomla.jos_sexy_polls.date_start at row 1" (issue #61)