NP_gallery 0.94 patch set 03

Quick patch set #3 for NP_gallery Nucleus plugin v. 0.94
This patch set replaces #1 and #2 and provides a fix for one additional problem.

This patchset fixes the following problems:

  1. On «Admin Functions» tab in «Gallery Admin Page» clicking on Cleanup button causes "Fatal error: Class ‘BaseActions’ not found in …/nucleus/plugins/gallery/list_class.php on line 77"
    This error is introduced with an upgrade to Nucleus 3.31.
    Fix: functions.php
  2. Choosing «Modify Album» button at album page causes "Fatal error: Class ‘BaseActions’ not found in …/nucleus/plugins/gallery/list_class.php on line 77"
    This error is introduced with an upgrade to Nucleus 3.31.
    Fix: admin.php
  3. On album admin page adding a team member does nothing if a member is already included into team for some other album.
    This error is not related to Nucleus 3.31.
    Fix: admin.php
  4. If no albums are defined gallery main page displays SQL message «Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index … in …/nucleus/plugins/gallery/admin.php on line 527».
    This error is not related to Nucleus 3.31.
    Fix: admin.php
  5. If sort order for album is not defined album page displays SQL warning message.
    This error is not related to Nucleus 3.31.
    Fix: album_class.php, functions.php [Both files shall be replaced simultaniously]
  6. The problem which is described at this Nucleus support forum thread. Solution proposed at the forum causes SQL warning message at «Modify Album» form. My fix does not have this problem.
    This error is not related to Nucleus 3.31.
    Fix: form.php
  7. Ordering album by ownername causes SQL messages: "mySQL error with query select * from nucleus_plug_gallery_picture where albumid=32 order by ownername ASC, pictureid DESC: Unknown column ‘ownername’ in ‘order clause’" and "Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in …/nucleus/plugins/gallery/album_class.php on line 111"
    This error is not related to Nucleus 3.31.
    Fix: album_class.php, functions.php [Both files shall be replaced simultaniously]
  8. Choosing ‘default order for albums’ in configuration tab by anything but the date breaks picture view logic and you get sql error messages big time.
    This error is not related to Nucleus 3.31.
    Fix: album_class.php, picture_class.php, functions.php [All three files shall be replaced simultaniously]
  9. Picture description can be edited only by the owner or super-admin but not by album admin.
    This was not implemented by plugin author although comment says that he had such intention.
    Fix: member_class.php

Installation:

Download ZIP file using the link below, unzip it and replace files at nucleus/gallery folder as needed to fix the problem(s).[download=http://www.samsonov.net/wp/assets/Pr-Nu/NP_gallery_0_94_psets/NP_gallery_0_94_pset_03.zip]

1 комментарий к “NP_gallery 0.94 patch set 03”

Оставьте комментарий