forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Αndré on March 12, 2014, 04:20:55 pm

Title: Hidden features plugin for cpg1.5.x
Post by: Αndré 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:

Features without config option:

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 (http://documentation.coppermine-gallery.net/en/upgrading.htm#updater). 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.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: pols1337 on March 18, 2014, 04:41:54 am
Can't wait until Coppermine 1.6! 
Title: Re: Hidden features plugin for cpg1.5.x
Post by: allvip on March 19, 2014, 05:31:17 pm
Thanks for the plugin.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on June 09, 2015, 10:09:12 pm
Version 1.2 attached to initial post. New options:
Title: Re: Hidden features plugin for cpg1.5.x
Post by: 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!
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Charles Waters 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
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré 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.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré 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.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: wilk 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">';
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on August 31, 2015, 04:10:51 pm
Added and fixed in SVN revision 8807.
Title: Re: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on August 31, 2015, 04:53:01 pm
Version 1.3 attached to initial post. New option:
Title: Re: Hidden features plugin for cpg1.5.x
Post by: wilk on September 02, 2015, 12:16:50 am
Lang update for 1.4.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on September 02, 2015, 02:33:12 pm
Thanks. Committed in SVN revision 8812.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on September 16, 2015, 12:17:01 pm
Version 1.5 attached to initial post. New feature (no config option):
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on March 08, 2016, 01:31:56 pm
Version 1.6 (attached to initial post) fixes an issue with the drop-down boxes.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré 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",
Title: Re: Hidden features plugin for cpg1.5.x
Post by: wilk on August 02, 2016, 06:14:04 pm
PL translation update for 1.7.
Title: Re: Hidden features plugin for cpg1.5.x
Post by: Αndré on August 12, 2016, 02:05:12 pm
PL translation update for 1.7.

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