Files Changed warning

I'm testing zenphoto and must say thank you for great work!

I had to edit some admin files to get extra image text field to always show and to hide others.
How do i really really get rid of the "files changed run setup" warning and the checking part ?!
The install is in secure place and locked - not public. So no need to install updates in the future. Even the critical ones.
But the edits were must.

Also second question, how to create & add translation (Finnish) ?

Comments

  • You run setup as instructed. However, modifying the core files is really not a good idea. Every update will obliterate your changes. You say you have "...no need to install updates in the future. Even critical ones." but really that can't be true. You think you won't find features or bug fixes that are important to you?

    Zenphoto has implemented plugins and filters for this kind of need. You can probably accomplish what you want via the custom field plugin. If not then look at the `disableWatermark` plugin for an example of how to remove field items from the DOM.
  • acrylian Administrator, Developer
    Do you really mean "core files" within "zp-core"? Those you shouldn't modify for the reasons stated already. If you modify core files you really do this on your own risk. This will cause extra work on every update and we will not support your changes or any issue that might arrise from that. Also we can only support the current version.

    If you were referring to themes that is something different. Those are meant to be modified to your personal liking by creating a copy/custom version if the default doesn't fit. However you of course have to see to follow all updates outside of that.

    For adding translations please see the tutorial: http://www.zenphoto.org/news/translating-tutorial/
  • anoc Member
    Yes, I was referring to a core files.

    I need (my customer needs) the upload of images to be simple simple simple.
    Like in this mockup: http://pasteboard.co/2enYRGInD.png
    And with finnish fieldnames, in the pic still in english.

    Like i said, the install wont be public so not so crucial to update.

    sooo...
    How do i remove the checking of changed files ?
  • acrylian Administrator, Developer
    Like i said, the install wont be public so not so crucial to update.
    Well, the next server update or bug discoverd may cause you trouble. But as said do it on your own risk.

    You cannot remove the changed file check unless you want to hack the core once more…
    This is also a security measure. Even if your install is not public it does not mean it cannot be hacked. Those checks are in `zp-core/reconfigure.php` but be careful what you do there.
  • As I said originally, you just need to run the setup process on the changed file set. The signature of the files is computed by setup and later the install checks to see if any of the critical files have been changed. (This is a protection against a hacked site.)
Sign In or Register to comment.