Page Index Toggle Pages: 1
There are no actions to perform.
Normal Topic Need some help with upgrade from 2.3.1 (Read 859 times)
Cochrane
YaBB Newcomer
*
Offline



Posts: 18
Need some help with upgrade from 2.3.1
Mar 1st, 2013 at 8:31am
There are no actions to perform.
Hi there!

I have my YaBB-Forum up and running since March 2009. But I had very early some ideas, about the Look (I wanted to have the background image shining through), so I made some (minor) hacks to to source.

Most of them worked just fine, but one broke my AdminCenter. - Since then, my AdminCenter has no background at all and no frames. - Ugly to work with, but it does.

I really desparately want to upgrade my installation to the current release (for several reasons), the problems I have are:

1. How can I find out, what I did to the code, four years ago? (I can't remember, so I guess, I'll have to compare sources (hooray! Sad ) - How can I compare the original sources?

2. Is it possible to upgrade, just by installing an "upgrade" over the existing installation?
I made no changes to the data structures or anything like that.
The only thing I did, was that I also tried to "kick out Guests". In my forum, there are no guests allowed. Point.

3. How can I find a way through the sources?
I have been writing Perl code for some years. - No need to bow before me. - I always wrote code in a way not to "play the geekiest tricks with perl", but I wrote code, that I could clearly understand after 2-3 beers and being woken up after only 2 hours of sleep. - So my code often look *very* lame, but in fact it still does some very clever things and is well documented.
With YaBB I have the problem that I doen't have some sort of "overview" over code. - What is the main part, what controlls what and how? - How does it all fit together?
Are there some documents that make it easier to understand all the parts?
Version 2.3.1 seems to me to lack almost any comments...

4. How can I put back in my changes in the new (current) Version? - Maybe now it is only some clicks... Wink

5. How can I "testdrive" the new version in parallel, before switching over?

Yours,

Herbert




  
Back to top
 
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,864
Location: Earth

YaBB 2.6.1
Re: Need some help with upgrade from 2.3.1
Reply #1 - Mar 1st, 2013 at 3:22pm
There are no actions to perform.
Assuming you're on Windows, a program called 'WinMerge' works really well for comparing files (and it's free). (You can compare entire directories with it.)

To run a new version of YaBB in parallel with an old version, install the new version into a different folder in your cgi-bin - instead of yabb2, name it something like yabb25. Do the same with yabbfiles then make sure your Paths.pl in the yabb25 directory points to the proper places.

Assuming you're looking to upgrade to 2.5.2, simply replacing the contents in Admin and Sources isn't recommended. There are some differences in data structures that need to be handled by running FixFile.pl

(The 2.5.2 Quick-Guide will tell you what you need to know.)

As for the rest, there is no flow chart and even those of use working on the code are left scratching our heads while looking for that one line that needs changing.  Tongue
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Cochrane
YaBB Newcomer
*
Offline



Posts: 18
Re: Need some help with upgrade from 2.3.1
Reply #2 - Dec 7th, 2014 at 6:56pm
There are no actions to perform.
Oh, boy!

That leaves me quite hopeless for my board.

Yes, it's been some years sind I posted the first question, but now it has become an even more severe problem.

The issue is, that since I didn't had the chance to upgrade neither my operating system, nor the forum, my forums has been hacked a couple of days ago.

So I went and got me a new (additional) server, installed a new Linux on it (your assumption was wrong, I'm running Linux, not Window$), and tried to install a completely different forum software and tried to convert the old stuff into that new forum.

This didn't work in the first place.

So I'm back here, trying to at least upgrade from YaBB 2.3.1 to the current version.

But right now, after reading your answer, I feel like falling into a little hell for Forumadministrators.

I'll go and see what I can make out of all this...

Anyway, one last question: is it better to do "upgrade after upgrade" to come up with the current version (2.6.x) or better try to make a "leap"?

Best regards,

Herbert


  
Back to top
 
IP Logged
 
Cochrane
YaBB Newcomer
*
Offline



Posts: 18
Re: Need some help with upgrade from 2.3.1
Reply #3 - Dec 7th, 2014 at 6:57pm
There are no actions to perform.
BTW: WinMerge has a "brother" unter Linux. There it is called "meld". - Just a little help for anyone trying to do this with Linux.

Yours,
Herbert
  
Back to top
 
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,864
Location: Earth

YaBB 2.6.1
Re: Need some help with upgrade from 2.3.1
Reply #4 - Dec 8th, 2014 at 1:45am
There are no actions to perform.
Make the leap - the Converter can handle it.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,228
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Need some help with upgrade from 2.3.1
Reply #5 - Dec 8th, 2014 at 1:00pm
There are no actions to perform.
I have to agree with Dandello, the new converter does 'almost' everything for you. I just converted a 2.41 YaBB forum that had some mods running. The converter did the job on just about everything correctly.

The only problem I had was with the Event Calendar.  The old 'mod' used a slightly different data format and I needed an 'editor fix' to inject a pipe (|) into the data, and I had to redefine/reupload my custom icons.  I can't fault the converter, as that was a mod, not 'core data' in version 2.4

The other thing, obviously, are any templates/themes modifications - they will have to be done manually.  Wink

So I would say - jump on board'.

Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Page Index Toggle Pages: 1
There are no actions to perform.