"Yes" as default for "Visitors can upload files" in Album settings "Yes" as default for "Visitors can upload files" in Album settings
 

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

Main Menu

"Yes" as default for "Visitors can upload files" in Album settings

Started by taggen, August 31, 2015, 01:45:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

taggen

I would be nice to have the possibility to set the default value for "Visitors can upload files" in Album settings.

You might want to have "Yes" as the default if that's the most common setting in your gallery.

As it is today you have to change the code in the delete .php file – and remember to do it again on every update.
In that line of code it's just the value for uploads being a hardcoded "NO".
If this was a variable, set by the Album settings, as the others this code changes wouldn't be necessary.
// taggen

Αndré

Added hidden feature to set default value for album property "Visitors can upload files" in SVN revision 8808.

TODO:
- cpg1.5.x: add new config option to the hidden features plugin Done in SVN revision 8809, plugin version 1.3
- cpg1.6.x: turn hidden feature into official feature (add new config option to admin.php, new language string to english.php and explanation to docs, update changelog "added hidden feature" -> "added config option") Done in SVN revision 8810