[XFA] Media Of The Month - XF2

[XFA] Media Of The Month - XF2 4.5.2

No permission to buy (€15.00)
Corrected bugs:
  • Contests not generated since update to 2.3.7
  • Query too intensive for widgets if gallery contains many medias
Corrected bugs:
  • ErrorException: [E_WARNING] Trying to access array offset on int src/addons/XFA/XFMGMediaOfTheMonth/Service/Album/Create.php:108
Corrected bugs:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "xfa_motm" on null src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php:50

Modifications:
  • Updated table names to XF standard
  • Add-on ported to XF2.3
  • Revamped options organisation

New features:
  • Mode 1: Maximum file size option
  • Mode 1: Maximum image dimensions option

This version is only compatible with XF2.3.
Corrected bugs:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "xfa_motm" on null src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php:198
Corrected bugs:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "group_id" on null src/addons/XFA/XFMGMediaOfTheMonth/Listener.php:132
Corrected bug
  • Attempt to read property "language_id"on null src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(239)
Corrected bug
  • Ribbon not displayed in Lightbox view

New features
  • Revamped options page with tabbed layout
  • Option to display month/year instead of default MOTM ribbon text for awarded medias
  • New « Awarded date » order option for MOTM winner widget
  • New « Random » order option for MOTM winner widget
  • [MODE 1] Option to select a specific category in which to create MOTM monthly albums
  • [MODE 1] Option to hide « Media of the month albums » link from gallery navigation
  • [MODE 1] « Add media » button text changed into « Submit entry »
  • Current contest widget displaying submitted medias (mode 1) or voted medias (mode 2)

WARNING: The month/year display only applies for awarded medias after this release.
This version is only compatible with XenForo and Media Gallery 2.2

Corrected bugs:
  • Provided compatibility with xF2.2
  • XF\Db\Exception: MySQL query error [1364]: Field 'xfa_motm_thread_id' doesn't have a default value error when add-on is disabled
  • MOTM ribbon still displayed in user posts after award timeout
  • In mode 1, no submission post is made when moving a media to the MOTM album

New features:
  • Added vote button to Lightbox media view
  • New permission to override upload quota in MOTM albums
  • Display of MOTM ribbon on member tooltip
  • Capability to set prefixes for each notification threads through options
  • Like
Reactions: Lindal_Oronar
Corrected bugs:
  • Error with some other add-ons dealing with username in the media votes display
  • Contest created multiple times the same day

Note when upgrading:
The 4.2.1 version had some debug code inside that was reseting the stored info about last created month contest.
I have done so the upgrade register July as being the last month a contest was created.
Delete any already created contest in August.
Corrected bugs:
  • Error: Call to a member function getMotmEndTimeVote() on null src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php:178
  • Template error: Cannot call method count on a non-object (NULL)
Back
Top Bottom