php forum
php mysql forum
php mysql smarty
 
Topic Options
#286399 - 04/29/02 11:50 PM Beyond Compare
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
<img src="http://www.ubbdev.com/uzine/images/reviews/bc/icon.gif" style="border: 1px black solid" align="left">
Beyond Compare
By: Allen Ayres



Next to your fave trusty text editor, Beyond Compare ( ScooterSoftware ) is probably the most useful tool a UBBDev member can have in their toolbag. Upgrading your modified forum version is made much easier due to the rapid way it allows you to compare one set of files with another and copy changes into your your current files.

Editor's Rating:
  • Performance - 9
  • Features - 9
  • Usability - 10
  • Design - 8
  • Price - 8
  • Support - 8

<img src="http://www.ubbdev.com/uzine/images/reviews/bc/bc_file.gif" style="border: 1px black solid" align="right"> At A Glance:Pros:
  • very fast
  • allows you to upgrade your files in minutes
  • works with all text files
  • good support
  • relatively inexpensive

Cons:
  • Doesn't support CTRL+Z edit undo's
  • Could really use a history list to undo changes as well
  • Compare engine sometimes isn't very accurate

Review:
If you are like most ubbdev members, you always run the latest and greatest version of your forum. You are also looking for the easiest way to upgrade your forum without losing your modifications that are still compatible with the newer version. Well, Beyond Compare is the tool for you.

BC makes updating small version changes in your forum files a breeze as well, giving you a little insight into what it takes to bugfix and add the newest features. Highlighting a section of changed code and clicking on the right or left arrow is 98% of what makes BC run. I can upgrade a heavily modified forum with Beyond Compare in <15-20 minutes every time. This saves me the hassle of uploading the new files and re-adding my modifications back in - especially useful when you've done some tricky template or code changes requiring lots of editing and time originally. For the $30 charge for the software, you can save many hours at upgrade time for years to come smile

My only nitpicks with the software are that there really isn't a history for edit undo's. If you accidently copy over the wrong section of code and aren't exactly sure where to re-write the code back in, you'll need to exit without saving and start over on the file. Another one is it doesn't always recognize text that is the same if there are significant differences around the text that should match. BC shines with small changes tho. smile

go on to page 2 for the how to >>

Top
#286400 - 05/01/02 12:18 PM Re: Beyond Compare
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
How To:



Fire up your trusty Beyond Compare and this is the first screen you come to:

<a href="http://ubbdev.com/uzine/images/reviews/bc/opening_screen.gif"><img src="http://www.ubbdev.com/uzine/images/reviews/bc/opening_screen_small.gif" style="border: 1px black solid" align="right"></a>


Use the 2 "browse" buttons on the right to select the 2 directories with the files you want to compare. If you plan to be comparing this set of files multiple times, you can give the session a name so you can come back to it at a later date.








The next screen you'll come to looks like this:

<a href="http://ubbdev.com/uzine/images/reviews/bc/initial_folders.gif"><img src="http://www.ubbdev.com/uzine/images/reviews/bc/initial_folders_small.gif" style="border: 1px black solid" align="right"></a>


Here is where the file names should match up. Using the color legend at the bottom, you can see that newer files are in red and files with no differences are in black. Files that do not have a match are in blue.








Choose a folder you want to compare/upgrade and this is the screen you come to next:

<a href="http://ubbdev.com/uzine/images/reviews/bc/file_list.gif"><img src="http://www.ubbdev.com/uzine/images/reviews/bc/file_list_small.gif" style="border: 1px black solid" align="right"></a>


It goes a little deeper in and lists the files in the sub-directories to be compared.








Choose a file you want to compare/upgrade. This is where it gets interesting. BC will go through and compare the 2 files line by line and try to match what is the same - producing this screen:

<a href="http://ubbdev.com/uzine/images/reviews/bc/differences.gif"><img src="http://www.ubbdev.com/uzine/images/reviews/bc/differences_small.gif" style="border: 1px black solid" align="right"></a>
<br/>
Major differences (code changes) are highlighted in red, minor differences (spacing, capitalization differences) are in blue, and blank lines are in gray. Down the left-hand side there is a quick "jump-to" column and the particular section of code you are on is highlighted.

Finding a difference on one side, you use your mouse to highlight that section of lines and click on one of the arrows up top to copy it to the right or left, depending on which side has the newer files (if left is newer, you would want to copy those changes to the right). Pay careful attention to all differences, as missing a space, semi-colon, or other code changes can have disastrous effects on your files (you did make backups first, didn't you? good... wink ).

You can also double-click on lines to manually edit for extra-tedious changes that might be intertwined with a previously installed modification.

Once you've copied the differences from the newer file to the older, click on "File>>Save" and the changes are set. Uplload in ascii, check permissions, and see if anything's broke wink

There's quite a bit more to this than the quick rundown I've given you, but most of your time will be spent using the basic steps. Once you get the hang of it, you can file compare new versions in in minutes. smile

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks