Simple Machines Community Forum

SMF Support => Converting to SMF => YaBB/YaBB SE => Topic started by: Kdar on November 15, 2006, 10:00:28 PM

Title: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 15, 2006, 10:00:28 PM
Hey all.
I downloaded converter from YaBB 2.1 to SMF.
I have convert.php and yabb21_to_smf.php

Where do I put them, and how do I runt them?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 16, 2006, 09:38:30 AM
Get the yabb21_to_smf.php converter from here (http://www.simplemachines.org/community/index.php?topic=122338.0).  Then upload both files to your smf install and point your browser to http://yoursite.com/forum/convert.php.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 16, 2006, 12:36:12 PM
Warning: file($boarddir/Variables/Settings.pl) [function.file]: failed to open stream: No such file or directory in /home/ryphtnet/public_html/rypht/yabb21_to_smf.php on line 94

Warning: Invalid argument supplied for foreach() in /home/ryphtnet/public_html/rypht/yabb21_to_smf.php on line 95
Converting membergroups...
Warning: file($boarddir/Variables/membergroups.txt) [function.file]: failed to open stream: No such file or directory in /home/ryphtnet/public_html/rypht/yabb21_to_smf.php on line 116

Warning: Invalid argument supplied for foreach() in /home/ryphtnet/public_html/rypht/yabb21_to_smf.php on line 117
Successful.
Converting members... Unsuccessful!
This query:

    ALTER TABLE `ryphtnet_websitedata1`.smf_members
    DROP PRIMARY KEY,
    CHANGE COLUMN ID_MEMBER ID_MEMBER mediumint(8) unsigned NOT NULL default 0;

Caused the error:

    Can't DROP 'PRIMARY'; check that column/key exists



? :o
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 16, 2006, 01:38:29 PM
Umm did you use the converter on the page that I gave you?  I linked you to another converter.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 16, 2006, 04:03:47 PM
I got the one from main download page.. I didn't find the link on your post.

Oh.. also.. Does my new SMF forum have to use same database as YaBB2.1? or it can use different database??
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 16, 2006, 09:25:45 PM
Now I get this....... I used your link.


Converting membergroups... Successful.
Converting members... Unsuccessful!
This query:

    ALTER IGNORE TABLE `ryphtnet_websitedata1`.smf_members
    DROP PRIMARY KEY,
    CHANGE COLUMN ID_MEMBER ID_MEMBER mediumint(8) unsigned NOT NULL default 0;

Caused the error:

    Can't DROP 'PRIMARY'; check that column/key exists
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 16, 2006, 10:06:38 PM
Need to do a fresh install of SMF.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 16, 2006, 11:45:29 PM
cool. now every thing worked..

Ok.. now I have my original forums at www.mysite.com/forums

and new forum (SMF) at www.mysite.com/rypht

how do I make so that new forum will be at www.mysite.com/forums (I will move the old files of other forum)..
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 16, 2006, 11:54:30 PM
Rename the rypht dir to forums and use repair_settings.php to fix the paths.
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 12:29:07 AM
ok.. every thing seem to be working. but "users online" don't show right info correctly...
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 12:44:18 AM
What does it show?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 06:31:03 PM
It works fine now...

But post count not work properly now. For example... When I post or some one else do post.. It doesn't know any thing in post count.

There some new users today.. and they have posted at list 2 times.. but their post count is still 0...

is there some set up in admin panel or forum doing some thing wrong?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 07:55:35 PM
Try doing a recount of stats.  Also please don't bump a topic in less than 24 hours.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 07:59:35 PM
How do I do this?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 08:22:25 PM
Admin > Forum Maintenance > Recount stats.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 08:29:32 PM
Hmm.. Still same problem...
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 08:32:41 PM
Did you do a check for errors also?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 08:34:04 PM
yes... It found like 50 and it fixed them.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 08:35:59 PM
Can you link me to your forum?
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 09:01:15 PM
http://www.rypht.net/forums/

here...
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 09:06:11 PM
Test account please.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: Kdar on November 17, 2006, 11:08:20 PM
just basic account?


ID    test

password    password
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: JayBachatero on November 17, 2006, 11:16:26 PM
Ok check the boards to see if you disabled the counting of posts for the boards.
Title: Re: YaBB 2.1 to SMF... how do I use that converter?
Post by: keeps21 on July 18, 2007, 02:33:34 PM
Although kdar never replied, I can confirm that the problem with my post count not increasing on my forums was that after the conversion the box 'count posts'  from this board was unchecked.