- 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.php
vfm-admin/token.php
to vfm-admin/users/token.php
vfm-admin/users.php
to vfm-admin/users/users.php
Follow 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-template
vfm-admin/shorten/
to vfm-admin/_content/share/
share
vfm-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.html
To 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.php
New file added:
/vfm-admin/css/bootstrap.min.css.map
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.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.php
vfm-admin/ajax/vfm-del.php
vfm-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.css
Files 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.php
vfm-admin/include/list-files.php
vfm-admin/include/modals.php
Files 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.css
Follow 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.css
vfm-admin/include/
replace the whole folderNew file added
/vfm-admin/class/videostream.php
If 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.php
Files updated:
index.php
vfm-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.js
Files updated:
.htaccess
index.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.css
Files updated:
/vfm-admin/class.php
/vfm-admin/index.php
/vfm-admin/vfm-downloader.php
/vfm-admin/admin-panel/view/analytics/table.php
Files updated:
/vfm-admin/js/app.js
/vfm-admin/login.php
/vfm-admin/vfm-style.css
Files 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.css
vfm-admin/translations/
all translations updatedNew file added:
/vfm-admin/ajax/session.php
Remember 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.js
Files 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.js
NOTE: 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.php
vfm-admin/class.php
vfm-admin/include/list-folders.php
vfm-admin/js/app.js
vfm-admin/js/datatables.js
file added:
vfm-admin/vfm-move.php
files updated:
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/head.php
vfm-admin/include/list-files.php
vfm-admin/include/modals.php
vfm-admin/include/uploadarea.php
vfm-admin/template/userpanel.php
vfm-admin/js/admin.js
vfm-admin/js/home.js
Follow the translation update procedure inside of Generic script upgrade.
Remember to update your general settings from the administration panel after files replacement
file added:
.htaccess
files updated:
index.php
vfm-admin/images/placeholder.jpg
vfm-admin/class.php
vfm-admin/vfm-downloader.php
vfm-admin/index.php
vfm-admin/login.php
vfm-admin/sendfiles.php
vfm-admin/shorten.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/downloader.php
vfm-admin/include/footer.php
vfm-admin/include/header.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/include/reset.php
vfm-admin/include/uploadarea.php
vfm-admin/include/userpanel.php
vfm-admin/js/home.js
vfm-admin/js/statistics.js
vfm-admin/mail/template-send-files.html
vfm-admin/skins/vfm-2015.css
vfm-admin/template/userpanel.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 add:
vfm-admin/shorten.php
vfm-admin/mail/template-new-user.html
vfm-admin/mail/template-reset-password.html
vfm-admin/mail/template-send-files.html
folder to add:
vfm-admin/shorten/
files to replace:
vfm-admin/class.php
vfm-admin/vfm-del.php
vfm-admin/vfm-downloader.php
vfm-admin/login.php
vfm-admin/sendfiles.php
vfm-admin/sendpwd.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/downloader.php
vfm-admin/include/head.php
vfm-admin/include/modals.php
vfm-admin/js/home.js
files to add:
vfm-admin/include/header.php
vfm-admin/include/footer.php
folder to add:
vfm-admin/template/
Read the documentation under "customization" for more info about the new template system
files to replace:
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/include/admin-head.php
vfm-admin/include/head.php
vfm-admin/include/login.php
vfm-admin/include/uploadarea.php
vfm-admin/include/userpanel.php
vfm-admin/js/admin.js
vfm-admin/js/home.js
vfm-admin/mail/class.phpmailer.php
All 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.php
vfm-admin/vfm-downloader.php
vfm-admin/include/uploadarea.php
files to replace:
vfm-admin/class.php
vfm-admin/vfm-downloader.php
vfm-admin/include/uploadarea.php
vfm-admin/js/uploaders.js
files to replace:
vfm-admin/chunk.php
vfm-admin/translations/de.php
vfm-admin/translations/ja.php
files to replace:
vfm-admin/chunk.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/sendpwd.php
vfm-admin/include/modals.php
vfm-admin/include/list-files.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/vfm-del.php
files to replace:
vfm-admin/chunk.php
vfm-admin/class.php
vfm-admin/vfm-downloader.php
vfm-admin/include/disk-space.php
vfm-admin/include/head.php
vfm-admin/include/login.php
vfm-admin/include/uploadarea.php
new file added:
vfm-admin/remember.php
new skins:
vfm-admin/skins/background-gradient.css
vfm-admin/skins/background-winter.css
vfm-admin/skins/background-wood.css
vfm-admin/skins/images/gradient.jpg
vfm-admin/skins/images/winter.jpg
vfm-admin/skins/images/wood.jpg
files to replace:
index.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/vfm-del.php
vfm-admin/vfm-downloader.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/downloader.php
vfm-admin/include/uploadarea.php
vfm-admin/js/admin.js
New files added:
vfm-admin/include/user-redirect.php
vfm-admin/translations/ja.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:
index.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/login.php
vfm-admin/include/admin-head.php
New file added:
vfm-admin/css/bootstrap-rtl.min.css
Follow the translation update procedure inside of Generic script upgrade.
files to replace:
index.php
vfm-admin/vfm-downloader.php
vfm-admin/include/list-files.php
vfm-admin/include/modals.php
vfm-admin/js/soundmanager2.min.js
files to replace:
vfm-admin/class.php
vfm-admin/include/admin-head.php
vfm-admin/js/home.js
file to replace:
vfm-admin/class.php
files to replace:
index.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/sendfiles.php
vfm-admin/sendpwd.php
vfm-admin/vfm-downloader.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/list-files.php
vfm-admin/include/modals.php
vfm-admin/include/userpanel.php
vfm-admin/js/admin.js
vfm-admin/js/home.js
vfm-admin/js/statistics.js
New files added:
vfm-admin/js/chart.min.js
vfm-admin/images/mail-logo.png
Follow 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.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/login.php
vfm-admin/vfm-downloader.php
vfm-admin/vfm-style.css
vfm-admin/include/admin-head.php
vfm-admin/include/list-files.php
vfm-admin/js/home.js
New files added:
vfm-admin/swf/
(folder with relative contents)vfm-admin/js/jquery-1.11.1.min.js
vfm-admin/js/soundmanager2.min.js
Follow 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.css
vfm-admin/skins/background-space.css
vfm-admin/skins/vfm-2014.css
vfm-admin/skins/images/
(folder)replace the files:
vfm-admin/vfm-downloader.php
vfm-admin/vfm-style.css
Small bug fix, simply replace the file
vfm-admin/vfm-downloader.php
Follow 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.php
Follow the generic script upgrade instructions
New files added:
vfm-admin/css/ie8fix.css
vfm-admin/js/respond.min.js
vfm-admin/translations/de.php
Follow the generic script upgrade instructions
New files added:
vfm-admin/token.php
vfm-admin/include/reset.php
IMPORTANT: (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.php
vfm-admin/class.php
vfm-admin/vfm-downloader.php
vfm-admin/vfm-progress.js
vfm-admin/js/form.js
Replace the following files:
index.php
vfm-admin/index.php
vfm-admin/vfm-style.css
vfm-admin/include
Just replace the following files:
vfm-admin/class.php
vfm-admin/index.php
Just replace the following files:
index.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/vfm-downloader.php
vfm-admin/vfm-icons.php
vfm-admin/vfm-style.css
and follow the Translations update instructions.
Just replace the following files:
index.php
vfm-admin/class.php
vfm-admin/index.php
vfm-admin/login.php
vfm-admin/vfm-style.css
vfm-admin/js/statistics.js
Follow the generic script upgrade instructions, and add
vfm-admin/js/statistics.js
vfm-admin/log/
(folder)Remember to update your general settings from the administration panel after files replacement