[Turned Down]: anycontent.php vs. DB-Entry [Turned Down]: anycontent.php vs. DB-Entry
 

News:

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.
[more]

Main Menu

[Turned Down]: anycontent.php vs. DB-Entry

Started by taucher_0815, June 04, 2010, 09:48:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

taucher_0815

Hi Team!

What about going away from the "static" content of the anycontent.php file and moving this data into one of the DB-Tables?

Reason: During Updates / Upgrades often the anycontent-file is overwritten and all the stuff has to be recovered from a backup or the file has to be filled again.

With the DB-Solution the users don't have to care about the files changes by themself except of the Themes.

Regards
Sven

Joachim Müller

#1
Not a valid feature request imo, or at least on that needs to be turned down: the upgrade instructions explain the need to backup and they explain as well not to overwrite anycontent. We have little sympathy for those who ignore the docs, don't take backups before upgrading and then rant about their custom files getting overwritten.
If you're not happy with the way anycontent works, there's a load of other mechanisms you can use to add you custom content, i.e. to accomplish the very same thing you can accomplish using anycontent:

  • using the custom header feature
  • hard-coding into your custom theme
  • implementing a plugin that injects content

Anycontent has been added specifically for those who are more familiar with editing a file. For all who prefer other methods, those methods exist as well. Marking request as "turned down".

taucher_0815

OK.

I am one of those, who READ the docs as I am working in the IT also ;)

Was just thinking of the kind of users who klick on "replace everything" on the FTP-Client :)

Joachim Müller

I understood that perfectly well. Your request is valid in itself: you're posting suggestions for areas where you can see issues. I'm not very fond of anycontent neither, but I respect the dev who introduced it in the first place and I can see that there are users who use it, who are familiar with it and subsequently would complian if the feature was dropped. As I said, I have little sympathy for those who blindly perform the update without reading.
So please don't take this as a personal attack. I'm turning your request down with all the years of experience as a coppermine project manager in the background, so please don't let this discourage you: keep on requesting new feature, keep on contributing.

taucher_0815

Joachim,
i didn't took this as a personal attack...

And for sure i will add mor "requests" as something comes in my mind :)