Jump to the post that solved this thread.
Solved: 5 Years, 9 Months, 1 Week ago Upgrading from 1.8.6 to 1.8.7 without losing hardcoded changes
#1
Solved: 5 Years, 9 Months, 1 Week ago
  • Detailed description of your problem, including steps to reproduce if necessary
    No problem, just a question.
  • URL to your forum/URL to specific problematic page
    Lifepunch.net
  • New installation or upgrade (from which version of MyBB)?
    Upgrade from 1.8.6 to 1.8.7
  • Test user account (if it requires additional permissions)
    Not rquired.
  • Screenshot or error text, verbatim
    N/A.Hello,It's that time of year again and time to upgrade from 1.8.6 to 1.8.7 - our forums however have a few edits, some in php files, some in the html/css, etc. Those were necessary changes that couldn't be made via plugins.I'm wondering, is there an easy way to update without losing these changing and having to apply them manually again?If not, is there an easy way to get a list of all files that have been changed from default 1.8.6, so when we update to 1.8.7 we're sure we didn't forget to add back any of the changes we made?Thank you for your help!
Reply
#2
Solved: 5 Years, 9 Months, 1 Week ago
you can run file verification tool & find the changed files of MyBB 1.8.6
download those files, compare with original files, note the changes
run the upgrade [remember to backup database] , reapply the changes ..

no need to worry about changes in the templates - they are not wiped out during the upgrade

its better to try using Patches plugin for making changes in the MyBB source files ..
Reply
#3
Solved: 5 Years, 9 Months, 1 Week ago
Hi .m.,

Thank you for your response. I'll look into Patches plugin for the future.

For now, however, you mention "compare with original files" - one by one manually? Is there a tool that will do that?

Additionally, where do you find the file verification tool and find the changed files for MyBB 1.8.6? Did you mean the changed files for 1.8.7?

Thank you again.
Reply
#4
Solved: 5 Years, 9 Months, 1 Week ago
file verification tool is available at tools & maintenance section of forum admin panel.
suggestion is to run it for your current version of MyBB to find the changed files.

MyBB 1.8.6 original files pack available here => mybb_1806.zip

files can be compared by using a software utility (eg. winmerge for windows OS)
Reply
#5
Solved: 5 Years, 9 Months, 1 Week ago
Understood, thank you for your detailed answer, I appreciate it.

Hi .m.,

Just to confirm, it turns out not so many of our files are changed but they all do look familiar and like files we've modified for whatever purposes;

[Image: t6cBTqTLkOi2C0A.png]

Can you confirm that once we update to 1.8.7 (or whenever we upgrade from one MyBB version to another), the only files that could be changed are the ones that show up in File Verification? It's not likely that other files will get modified by the update?

In brief, the only files we'll have to worry about are the ones displayed in File Verification when proceeding with an update?

Thank you!
Reply
#6
Solved: 5 Years, 9 Months, 1 Week ago
^ yes, you have to take care of the changed files shown at files verification (before doing upgrade to next version)

in general, functions.php file is modified by Google SEO plugin
other files might have been manually edited for some purpose ..
Reply
#7
Solved: 5 Years, 9 Months, 1 Week ago
Thank you for your attentive assistance, I really appreciate it!

Trying to mark as solved and I get "Please select a new status, user to assign the thread to, priority or category."
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)