Advanced search  

News:

cpg1.5.28 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.26 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: file prefix  (Read 2656 times)

0 Members and 1 Guest are viewing this topic.

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
file prefix
« on: August 02, 2009, 11:06:43 PM »

this is a question very close to "support", so just ignore if its not ok to ask.


The DevTeam has decided to drop the feature of setting alternative file prefixes.

Usually I use custom prefixes and would like to keep it that way.
I prefer 3-letter prefixes like "thn_" and "pre_" (for "preview") instead of "thumb_" and "normal_".

Is 1.5.x (internally) still supporting alternative prefixes?
Or are there problems waiting for me after upgrading to 1.5.x?
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1607
  • Paul Van Rompay
Re: file prefix
« Reply #1 on: August 03, 2009, 06:36:36 AM »

Yes, 1.5.x still uses the config options internally.  From the docs:
Quote
This feature is deprecated in cpg1.5.x or better and can no longer be configured, since it only lead to end user confusion. If you performed a fresh install or if you have never changed this prefix, the option won't show through. Only for those who have actually changed this option and have a config setting that differs from the default prefix, the text field will show at all. If this is the case for you: you're strongly encouraged to change this back to the default value to avoid possible issues in future versions.

It's a one-way option.  If you upgrade and you have a non-default value, you'll see the config options on the admin page.  If you set them to default, the options disappear.  But the config options are used internally, so you could modify the database to change to non-default values and everything will use whatever you set in the config options.

The warning about future versions applies, but I don't think anyone has any plans yet to make this option non-operational in future versions.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: file prefix
« Reply #2 on: August 03, 2009, 06:34:26 PM »

Moving from  "cpg1.5 Testing/Bugs" to support board.
Logged

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
Re: file prefix
« Reply #3 on: August 03, 2009, 11:06:06 PM »

Ah, thanks a lot. Haven't actually tested it yet, will do in a few days I guess.

Classic case of RTFM.  ::)
Logged
Pages: [1]   Go Up
 

Page created in 0.06 seconds with 21 queries.