Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Hidden features plugin for cpg1.5.x  (Read 28858 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Hidden features plugin for cpg1.5.x
« on: March 12, 2014, 04:20:55 pm »

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.
« Last Edit: July 19, 2016, 10:11:37 am by Αndré »
Logged

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Hidden features plugin for cpg1.5.x
« Reply #1 on: March 18, 2014, 04:41:54 am »

Can't wait until Coppermine 1.6! 
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Hidden features plugin for cpg1.5.x
« Reply #2 on: March 19, 2014, 05:31:17 pm »

Thanks for the plugin.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #3 on: June 09, 2015, 10:09:12 pm »

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
Logged

Charles Waters

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hidden features plugin for cpg1.5.x
« Reply #4 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!
Logged

Charles Waters

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hidden features plugin for cpg1.5.x
« Reply #5 on: June 28, 2015, 10:05:56 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #6 on: June 28, 2015, 11:24:44 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #7 on: July 07, 2015, 10:30:17 am »

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.
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: Hidden features plugin for cpg1.5.x
« Reply #8 on: August 28, 2015, 08:51:54 pm »

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 /):

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #9 on: August 31, 2015, 04:10:51 pm »

Added and fixed in SVN revision 8807.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Re: Hidden features plugin for cpg1.5.x
« Reply #10 on: August 31, 2015, 04:53:01 pm »

Version 1.3 attached to initial post. New option:
  • Default value for album property "Visitors can upload files"
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: Hidden features plugin for cpg1.5.x
« Reply #11 on: September 02, 2015, 12:16:50 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #12 on: September 02, 2015, 02:33:12 pm »

Thanks. Committed in SVN revision 8812.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #13 on: September 16, 2015, 12:17:01 pm »

Version 1.5 attached to initial post. New feature (no config option):
  • Display confirmation message when adding/removing pictures to/from favorites
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #14 on: March 08, 2016, 01:31:56 pm »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #15 on: July 19, 2016, 10:14:49 am »

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:
Open include/functions.inc.php, find
Code: [Select]
        'pd' => "{$table_alias}pos DESC, {$table_alias}aid DESC",and below, add
Code: [Select]
        'va' => "{$table_alias}alb_hits ASC, {$table_alias}aid ASC",
        'vd' => "{$table_alias}alb_hits DESC, {$table_alias}aid DESC",
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: Hidden features plugin for cpg1.5.x
« Reply #16 on: August 02, 2016, 06:14:04 pm »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hidden features plugin for cpg1.5.x
« Reply #17 on: August 12, 2016, 02:05:12 pm »

PL translation update for 1.7.

Added in SVN revision 8858. Thank you for your contribution!
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 20 queries.