Advanced search  


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.

Pages: [1]   Go Down

Author Topic: "Yes" as default for "Visitors can upload files" in Album settings  (Read 16348 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Country: se
  • Offline Offline
  • Gender: Male
  • Posts: 8

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


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: "Yes" as default for "Visitors can upload files" in Album settings
« Reply #1 on: August 31, 2015, 04:37:33 pm »

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

- 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
« Last Edit: September 01, 2015, 05:00:25 pm by Αndré »
Pages: [1]   Go Up

Page created in 0.016 seconds with 19 queries.