7
I use basically the method described above. I use the directory/file comparison utility
BeyondCompare for examining and merging changes.
In addition, I use a text file, e.g. xoops_hacks.txt, to summarize all my hacks. Here's a typical entry in that file:
#*#UNCACHE_DATES#: Apply current user's timezone offset to last-post date/times in forum module's Recent Topics block.
Reason:
- If Recent Topics block is cached, the timezone offset used for the last-post date/times is determined by the last user to cause the cache to refresh.
Modified:
- modules/newbb/blocks/newbb_new.php
- modules/newbb/templates/blocks/newbb_block_new.html
New:
- class/smarty/plugins/function.xoops_date.php
- include/phpdate.jsThe string #*#UNCACHE_DATES# is also used within the modified files to identify the changed lines. I chose that odd syntax because it's unusual (not likely to occur elsewhere), so it's easy to search for. Also, # denotes a comment in PHP, Perl and Linux shell scripts, so I can place the tag almost anywhere.