- Fix: validateIP for blacklist and whitelist
Follow the generic script upgrade
This method is valid to update from any version
First of all, backup the whole /vfm-admin/ folder
Follow this scheme -->
Do NOT replace files and folders marked in red NO
Replace all the other files and folders
update your general settings from the administration panel after files replacement
If you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
If you have any custom skin, only replace the default skins, otherwise replace all the vfm-admin/_content/skins/ folder
just replace the corresponding .php files inside of
vfm-admin/translations/IMPORTANT NOTE:
Since version 3.4.4 all the app customisations have been moved inside the new folder /vfm-admin/_content/
NOTE: Upgrading from a version prior to 2.7.0
Upload the file utilities/_unsensitive-users.php inside /vfm-admin/. It will run ony once to update the usernames to case-insensitive.
Login to the administration area after the script's upgrade, and save again your settings.
If you have some duplicated usernames, like "JohnDoe", "johndoe" and "johnDoe", they will become "JohnDoe" johndoe1" and "johnDoe2".
Every user will be notified with an alert after his next login if his username has changed.
From version 1.x to version 2.x move the following files:
vfm-admin/remember.php to vfm-admin/users/remember.phpvfm-admin/token.php to vfm-admin/users/token.phpvfm-admin/users.php to vfm-admin/users/users.phpFollow the generic script upgrade
Follow the generic script upgrade
Follow the generic script upgrade
1. Backup all your /vfm-admin/ folder
2. Move the following folders and their contents:
vfm-admin/audio/ to vfm-admin/_content/audio/vfm-admin/images/avatars/ to vfm-admin/_content/avatars/vfm-admin/images/uploads/ to vfm-admin/_content/uploads/vfm-admin/log/ to vfm-admin/_content/log/vfm-admin/mail/template to vfm-admin/_content/mail-template/mail-templatevfm-admin/shorten/ to vfm-admin/_content/share/sharevfm-admin/skins/ to vfm-admin/_content/skins/vfm-admin/template/ to vfm-admin/_content/template/vfm-admin/thumbs/ to vfm-admin/_content/thumbs/3. After the folders update Follow the generic script upgrade procedure
Follow the generic script upgrade
Files to replace:
/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/class.php/vfm-admin/class/ replace the whole folder/vfm-admin/index.php/vfm-admin/js/ replace the whole folderIf you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
After the upgrade you will find a new Checkbox option under Preferences > Lists: "show hidden files"
Files to replace:
/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/include/load-js.php/vfm-admin/js/ replace the whole folderFollow the generic script upgrade instructions if you are upgrading from versions prior to 3.4.0
Files to replace:
/index.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/class.php/vfm-admin/class/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folderNew file added:
/vfm-admin/_privacy-info.htmlTo activate the "Privacy policy" link inside the footer, rename the file _privacy-info.html in privacy-info.html (remove the _underscore) and edit ist contents
NEW available options: manage the footer credits under Appearance > Credits
If you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
Follow the generic script upgrade instructions if you are upgrading from versions prior to 3.3
Files to replace:
/vfm-admin/admin-panel/view/ replace the whole folder/vfm-admin/class/class.php/vfm-admin/class/class.gatekeeper.phpNew file added:
/vfm-admin/css/bootstrap.min.css.mapIf you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
Follow the generic script upgrade instructions if you are upgrading from versions prior to 3.2
NEW available options:
-"User": upload and "User": create new folders, under Preferences > Permissions
Follow the generic script upgrade instructions
NOTE: Move your previously uploaded header banner or logo from /vfm-adin/images/ to /vfm-admin/images/uploads/,
or upload it again from the new Appearance panel, and adjust the margins.
NEW available options:
-"Regenerate Thumbnails" under Preferences > Lists
-"Invisible reCAPTCHA" under Preferences > Security > reCAPTCHA
-"Navbar Logo", under Appearance
-"Layout", "Margin" and "Margin bottom" for the main header, under Appearance
Follow the generic script upgrade instructions
You will find a new option "Audio notification after upload" under Preferences > General settings.
Update your general settings from the administration panel after files replacement
Files to replace:
You will find a new option "Keep links valid for" under Preferences > Registration, with its default to 1 day.
Update your general settings from the administration panel after files replacement
Files to replace:
Follow the generic script upgrade instructions
Follow the generic script upgrade instructions
Files updated:
/vfm-admin/chunk.php/vfm-admin/class.php/vfm-admin/login.phpvfm-admin/ajax/vfm-del.phpvfm-admin/class/ replace the whole foldervfm-admin/include/ replace the whole foldervfm-admin/js/ replace the whole folderFollow the generic script upgrade instructions
Files updated:
/vfm-admin/admin-panel/view/ <-- replace the whole folder/vfm-admin/ajax/ <-- replace the whole folder/vfm-admin/chunk.php/vfm-admin/class.php/vfm-admin/fonts/vfm-icons.php/vfm-admin/index.php/vfm-admin/include/ <-- replace the whole folder/vfm-admin/js/ <-- replace the whole folder/vfm-admin/skins/material-...css <-- all the new material skins/vfm-admin/vfm-style.cssFiles removed:
/vfm-admin/vfm-del.php <-- the new file is inside /vfm-admin/ajax//vfm-admin/vfm-move.php <-- the new file is inside /vfm-admin/ajax//vfm-admin/vfm-icons.php <-- the new file is inside /vfm-admin/fonts/If you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
Files updated:
/vfm-admin/class.php/vfm-admin/index.phpvfm-admin/include/list-files.phpvfm-admin/include/modals.phpFiles updated:
/vfm-admin/_unsensitive-users.php/vfm-admin/class.php/vfm-admin/mail/template default html mail template updatedvfm-admin/include/user-redirect.php/vfm-admin/vfm-style.cssFollow the generic script upgrade procedure
IMPORTANT: There is a new file called _unsensitive-users.php inside /vfm-admin/, which will run ony once to update the usernames to case-insensitive.
Login to the administration area after the script's upgrade, and save again your settings.
If you have some duplicated usernames, like "JohnDoe", "johndoe" and "johnDoe", they will become "JohnDoe" johndoe1" and "johnDoe2"
Every user will be notified with an alert after his next login if his username has changed
If you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
Files updated:
index.php/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/js/ replace the whole folder/vfm-admin/vfm-downloader.php/vfm-admin/vfm-style.cssvfm-admin/include/ replace the whole folderNew file added
/vfm-admin/class/videostream.phpIf you have any custom translation, follow the translation update procedure, otherwise replace all the vfm-admin/translations/ folder
Files updated:
/vfm-admin/chunk.php/vfm-admin/class.php/vfm-admin/ajax/usr-reg.php/vfm-admin/ajax/zip.php/vfm-admin/include/list-files.phpFiles updated:
index.phpvfm-thumb.php/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/vfm-downloader.php/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folder/vfm-admin/mail/ replace all .php files and keep the sub folder /template/Files updated:
index.php/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/vfm-icons.php/vfm-admin/vfm-style.css/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/streamvid.php/vfm-admin/css/ replace the whole folder/vfm-admin/fonts/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folder/vfm-admin/translations/ preserve your custom translation, if any, and replace the othersFiles updated:
index.php/vfm-admin/ajax/sendupnotif.php/vfm-admin/class.php/vfm-admin/include/list-folders.php/vfm-admin/js/uploaders.jsFiles updated:
.htaccessindex.php/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/css/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folder/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/vfm-del.php/vfm-admin/vfm-downloader.php/vfm-admin/vfm-icons.php/vfm-admin/vfm-move.php/vfm-admin/vfm-style.css/vfm-admin/translations/ preserve your custom translation, if any, and replace the othersFiles updated:
/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/css/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folder/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/vfm-del.php/vfm-admin/vfm-icons.php/vfm-admin/vfm-style.css/vfm-admin/translations/ preserve your custom translation, if anyFiles updated:
/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/ajax/ replace the whole folder/vfm-admin/css/ replace the whole folder/vfm-admin/fonts/ replace the whole folder/vfm-admin/include/ replace the whole folder/vfm-admin/js/ replace the whole folder/vfm-admin/skins/ all skins updated/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/vfm-del.php/vfm-admin/vfm-downloader.php/vfm-admin/vfm-icons.php/vfm-admin/vfm-move.php/vfm-admin/vfm-style.css/vfm-admin/translations/ preserve your custom translation, if anyFiles updated:
/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/class.php/vfm-admin/vfm-downloader.php/vfm-admin/include/disk-space.php/vfm-admin/include/list-files.php/vfm-admin/include/breadcrumbs.php/vfm-admin/skins/ all skins updated/vfm-admin/vfm-style.cssFiles updated:
/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/vfm-downloader.php/vfm-admin/admin-panel/view/analytics/table.phpFiles updated:
/vfm-admin/js/app.js/vfm-admin/login.php/vfm-admin/vfm-style.cssFiles updated:
index.php/vfm-admin/admin-panel/ replace the whole folder/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/vfm-move.php/vfm-admin/include/list-files.php/vfm-admin/include/list-folders.php/vfm-admin/include/login.php/vfm-admin/include/modals.php/vfm-admin/js/app.js/vfm-admin/skins/ all skins updated/vfm-admin/vfm-style.cssvfm-admin/translations/ all translations updatedNew file added:
/vfm-admin/ajax/session.phpRemember to update your general settings from the administration panel after files replacement
Files replaced:
/vfm-admin/css/bootstrap-rtl.min.css/vfm-admin/class.php/vfm-admin/vfm-style.css/vfm-admin/include/downloader.php/vfm-admin/include/modals.php/vfm-admin/js/uploaders.jsFiles replaced:
index.php/vfm-admin/admin-panel/css/admin-skins.css/vfm-admin/admin-panel/view/users/list-users.php/vfm-admin/css/bootstrap-rtl.min.css/vfm-admin/class.php/vfm-admin/index.php/vfm-admin/login.php/vfm-admin/vfm-style.css/vfm-admin/include/list-files.php/vfm-admin/include/list-folders.php/vfm-admin/include/modals.php/vfm-admin/include/uploadarea.php/vfm-admin/skins/ all skins updatedFiles replaced:
vfm-thumb.php/vfm-admin/admin-panel/view/admin-head.php/vfm-admin/admin-panel/view/dashboard/general.php/vfm-admin/admin-panel/view/dashboard/permissions.php/vfm-admin/admin-panel/view/dashboard/lists.php/vfm-admin/class.php/vfm-admin/login.php/vfm-admin/include/head.php/vfm-admin/include/modals.php/vfm-admin/include/list-folders.php/vfm-admin/include/notify-users.php/vfm-admin/js/app.js/vfm-admin/js/uploaders.js/vfm-admin/translations/ all files updatedNew file added:
/vfm-admin/js/clipboard.min.jsNOTE: After script update return to the administration panel, you will find 3 new options:
under preferences > permissions:
files to replace:
vfm-admin/admin-panel/view/admin-head.phpvfm-admin/class.phpvfm-admin/include/list-folders.phpvfm-admin/js/app.jsvfm-admin/js/datatables.jsfile added:
vfm-admin/vfm-move.phpfiles updated:
vfm-admin/class.phpvfm-admin/index.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/head.phpvfm-admin/include/list-files.phpvfm-admin/include/modals.phpvfm-admin/include/uploadarea.phpvfm-admin/template/userpanel.phpvfm-admin/js/admin.jsvfm-admin/js/home.jsFollow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
file added:
.htaccessfiles updated:
index.phpvfm-admin/images/placeholder.jpgvfm-admin/class.phpvfm-admin/vfm-downloader.phpvfm-admin/index.phpvfm-admin/login.phpvfm-admin/sendfiles.phpvfm-admin/shorten.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/downloader.phpvfm-admin/include/footer.phpvfm-admin/include/header.phpvfm-admin/include/list-files.phpvfm-admin/include/list-folders.phpvfm-admin/include/login.phpvfm-admin/include/modals.phpvfm-admin/include/reset.phpvfm-admin/include/uploadarea.phpvfm-admin/include/userpanel.phpvfm-admin/js/home.jsvfm-admin/js/statistics.jsvfm-admin/mail/template-send-files.htmlvfm-admin/skins/vfm-2015.cssvfm-admin/template/userpanel.phpFollow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
files to add:
vfm-admin/shorten.phpvfm-admin/mail/template-new-user.htmlvfm-admin/mail/template-reset-password.htmlvfm-admin/mail/template-send-files.htmlfolder to add:
vfm-admin/shorten/files to replace:
vfm-admin/class.phpvfm-admin/vfm-del.phpvfm-admin/vfm-downloader.phpvfm-admin/login.phpvfm-admin/sendfiles.phpvfm-admin/sendpwd.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/downloader.phpvfm-admin/include/head.phpvfm-admin/include/modals.phpvfm-admin/js/home.jsfiles to add:
vfm-admin/include/header.phpvfm-admin/include/footer.phpfolder to add:
vfm-admin/template/Read the documentation under "customization" for more info about the new template system
files to replace:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/login.phpvfm-admin/vfm-icons.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/head.phpvfm-admin/include/login.phpvfm-admin/include/uploadarea.phpvfm-admin/include/userpanel.phpvfm-admin/js/admin.jsvfm-admin/js/home.jsvfm-admin/mail/class.phpmailer.phpAll skins updated
New skin: vfm-admin/skins/vfm-2015.php
Follow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
files to replace:
vfm-admin/class.phpvfm-admin/vfm-downloader.phpvfm-admin/include/uploadarea.phpfiles to replace:
vfm-admin/class.phpvfm-admin/vfm-downloader.phpvfm-admin/include/uploadarea.phpvfm-admin/js/uploaders.jsfiles to replace:
vfm-admin/chunk.phpvfm-admin/translations/de.phpvfm-admin/translations/ja.phpfiles to replace:
vfm-admin/chunk.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/sendpwd.phpvfm-admin/include/modals.phpvfm-admin/include/list-files.phpFollow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
files to replace:
vfm-admin/vfm-del.phpfiles to replace:
vfm-admin/chunk.phpvfm-admin/class.phpvfm-admin/vfm-downloader.phpvfm-admin/include/disk-space.phpvfm-admin/include/head.phpvfm-admin/include/login.phpvfm-admin/include/uploadarea.phpnew file added:
vfm-admin/remember.phpnew skins:
vfm-admin/skins/background-gradient.cssvfm-admin/skins/background-winter.cssvfm-admin/skins/background-wood.cssvfm-admin/skins/images/gradient.jpgvfm-admin/skins/images/winter.jpgvfm-admin/skins/images/wood.jpgfiles to replace:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/vfm-del.phpvfm-admin/vfm-downloader.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/downloader.phpvfm-admin/include/uploadarea.phpvfm-admin/js/admin.jsNew files added:
vfm-admin/include/user-redirect.phpvfm-admin/translations/ja.phpFollow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
files to replace:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/login.phpvfm-admin/include/admin-head.phpNew file added:
vfm-admin/css/bootstrap-rtl.min.cssFollow the translation update procedure inside of Generic script upgrade.
files to replace:
index.phpvfm-admin/vfm-downloader.phpvfm-admin/include/list-files.phpvfm-admin/include/modals.phpvfm-admin/js/soundmanager2.min.jsfiles to replace:
vfm-admin/class.phpvfm-admin/include/admin-head.phpvfm-admin/js/home.jsfile to replace:
vfm-admin/class.phpfiles to replace:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/sendfiles.phpvfm-admin/sendpwd.phpvfm-admin/vfm-downloader.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/list-files.phpvfm-admin/include/modals.phpvfm-admin/include/userpanel.phpvfm-admin/js/admin.jsvfm-admin/js/home.jsvfm-admin/js/statistics.jsNew files added:
vfm-admin/js/chart.min.jsvfm-admin/images/mail-logo.pngFollow the translation update procedure inside of Generic script upgrade.
Note: the new statistic system stores data in .json language instead of .php, so your old logs won't be readed after the upgrade
files to replace:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/login.phpvfm-admin/vfm-downloader.phpvfm-admin/vfm-style.cssvfm-admin/include/admin-head.phpvfm-admin/include/list-files.phpvfm-admin/js/home.jsNew files added:
vfm-admin/swf/ (folder with relative contents)vfm-admin/js/jquery-1.11.1.min.jsvfm-admin/js/soundmanager2.min.jsFollow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
new files added:
vfm-admin/skins/background-sea.cssvfm-admin/skins/background-space.cssvfm-admin/skins/vfm-2014.cssvfm-admin/skins/images/ (folder)replace the files:
vfm-admin/vfm-downloader.phpvfm-admin/vfm-style.cssSmall bug fix, simply replace the file
vfm-admin/vfm-downloader.phpFollow the generic script upgrade instructions
Follow the generic script upgrade instructions
IMPORTANT: (only for v.1.3.x to v1.4 migrations, if you have any user with dedicated folder)
After the Generic script upgrade, add the file utilities/update13to14.php to the root of your VFM installation, and load that page
e.g: http://www.example.com/vfm/update13to14.php
Follow the generic script upgrade instructions
New file added:
vfm-admin/vfm-del.phpFollow the generic script upgrade instructions
New files added:
vfm-admin/css/ie8fix.cssvfm-admin/js/respond.min.jsvfm-admin/translations/de.phpFollow the generic script upgrade instructions
New files added:
vfm-admin/token.phpvfm-admin/include/reset.phpIMPORTANT: (only for v.1.2.x to v1.3 migrations) after files replacement, add the file utilities/update12to13.php to the root of your VFM installation, and load that page
e.g: http://www.example.com/vfm/update12to13.php
Replace the following files:
vfm-admin/index.phpvfm-admin/class.phpvfm-admin/vfm-downloader.phpvfm-admin/vfm-progress.jsvfm-admin/js/form.jsReplace the following files:
index.phpvfm-admin/index.phpvfm-admin/vfm-style.cssvfm-admin/includeJust replace the following files:
vfm-admin/class.phpvfm-admin/index.phpJust replace the following files:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/vfm-downloader.phpvfm-admin/vfm-icons.phpvfm-admin/vfm-style.cssand follow the Translations update instructions.
Just replace the following files:
index.phpvfm-admin/class.phpvfm-admin/index.phpvfm-admin/login.phpvfm-admin/vfm-style.cssvfm-admin/js/statistics.jsFollow the generic script upgrade instructions, and add
vfm-admin/js/statistics.jsvfm-admin/log/ (folder)Remember to update your general settings from the administration panel after files replacement