Hidden features plugin for cpg1.5.x Hidden features plugin for cpg1.5.x
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Hidden features plugin for cpg1.5.x

Started by Αndré, March 12, 2014, 04:20:55 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Αndré

This plugin adds a config panel for all available hidden features of cpg1.5.x. Those features already exist in the Coppermine core code (some of them will be official config options in cpg1.6.x and later), this plugin just adds a comfortable interface to set them.

Currently available config options:

  • Allow guests to enter file details after flash upload
  • Create sub-directory for each album in users' upload directories
  • Sort order for albums
  • Display sort buttons on thumbnail page
  • Show previously uploaded files at edit files form after flash upload
  • Regard upload time of linked files in album info
  • Hide already added files in batch-add interface
  • Hide file count and disk space usage in user manager
  • Add button next to album drop-down box to display only empty albums
  • Default value for album property "Visitors can upload files"

Features without config option:

  • Display confirmation message when adding/removing pictures to/from favorites

Note: not all config options are available in all versions of cpg1.5.x. If you're already running the latest stable version of cpg1.5.x, make sure that you've run the update script. If the config option still doesn't appear in your gallery, that option has probably been added in a development version of Coppermine and will be available in the next stable release.

pols1337


allvip


Αndré

Version 1.2 attached to initial post. New options:

  • Hide already existing files on batch-add interface
  • Hide file count and disk space usage in user manager
  • Add button next to album drop-down box to display only empty albums

Charles Waters

Good morning.

I installed this plug in a few minutes ago, and selected the sort order for "Title Ascending", and the albums still do not show in alphabetical order. The other options I selected like user being able to add title, description, etc. work flawlessly.

Thank you for your assistance in advance!

Charles Waters

Quote from: Charles Waters on June 28, 2015, 10:05:13 PM
Good morning.

I installed this plug in a few minutes ago, and selected the sort order for "Title Ascending", and the albums still do not show in alphabetical order. The other options I selected like user being able to add title, description, etc. work flawlessly.

Thank you for your assistance in advance!

Sorry, I am using the latest version of the software at http://www.pointdefiancepirates.com/gallery

Αndré

Seems that it doesn't work for albums that are displayed on the main page, but just if you visit a category, e.g. http://www.pointdefiancepirates.com/gallery/index.php?cat=4

I'll have a look as soon as possible.

Αndré

Fixed album sort order for "first level" albums in SVN revision 8797. As the plugin just toggles a config value, you don't need to update the plugin, but Coppermine itself. The fix will be included in cpg1.5.38.

wilk

Polish translation for 1.2 (I've tried to do my best, but not all settings are 100% clear to me).

I've also attached a fix for a form's action url (it was broken if we used redirection in .htaccess from index.php to /):


-echo '<form action="index.php?file=hidden_features/admin" method="post">';
+echo '<form action="'.$superCage->server->getEscaped('REQUEST_URI').'" method="post">';
PM me for Polish translations (new/update)

Αndré


Αndré

Version 1.3 attached to initial post. New option:

  • Default value for album property "Visitors can upload files"

wilk

Lang update for 1.4.
PM me for Polish translations (new/update)

Αndré


Αndré

Version 1.5 attached to initial post. New feature (no config option):

  • Display confirmation message when adding/removing pictures to/from favorites

Αndré

Version 1.6 (attached to initial post) fixes an issue with the drop-down boxes.

Αndré

Version 1.7 (attached to initial post) adds new options for the sort order of albums:
- Sort by views ascending
- Sort by views desending

Those options will work from cpg1.5.44 out of the box. For cpg1.5.42 and earlier, you need to apply this mod:
Quote from: Αndré on July 19, 2016, 10:12:27 AM
Open include/functions.inc.php, find
        'pd' => "{$table_alias}pos DESC, {$table_alias}aid DESC",
and below, add
        'va' => "{$table_alias}alb_hits ASC, {$table_alias}aid ASC",
        'vd' => "{$table_alias}alb_hits DESC, {$table_alias}aid DESC",


wilk

PL translation update for 1.7.
PM me for Polish translations (new/update)

Αndré

Quote from: wilk on August 02, 2016, 06:14:04 PM
PL translation update for 1.7.

Added in SVN revision 8858. Thank you for your contribution!