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: file prefix  (Read 11369 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: 1609
  • Paul V.
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: 47843
  • 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.019 seconds with 20 queries.