Advertisement:

Author Topic: [SMF Converter] Invisionfree/ActiveBoards/iPBfree  (Read 256441 times)

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
[SMF Converter] Invisionfree/ActiveBoards/iPBfree
« on: August 13, 2007, 11:00:47 PM »
Please note, these converters are not official converters provided by the SimpleMachines Team. Please use them at your own risk.

Hello all:

I have Invisionfree & ProBoards converters which are (basically) ready to be released. However, as both IF and PB do not offer database backups for free (IF does for a fee), I do not know if it is _legal_ to post such a converter (it is a crawler-type, similar to that used on ezBoards a long time ago).

*EDIT: Converters are posted in the next post.

If you have any questions/comments/concerns/etc. with regards to these converters, don't hesitate to post them in this topic, e-mail me (my email is in my signature) or PM me.

*EDIT [Feb 18 2008]: Added Yuku converter.
*EDIT [April 22 2008]: removed Yuku and Proboards converters, per request.
« Last Edit: April 23, 2009, 10:15:39 PM by SleePy »
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree & ProBoards to SMF Converters
« Reply #1 on: August 25, 2007, 12:01:21 AM »
Current converters:
  • ActiveBoards
  • ChatArea
  • Forumer (IPB)
  • Forumotion (through phpBB3)
  • Invisionfree
  • phpBB2 (crawler, to phpBB2)
  • phpBB3 (crawler, to phpBB3)
  • SuddenLaunch
  • Yuku
  • ZetaBoards
As nobody has raised any concerns about the release of these converters, I will publish them. You need to be logged in to download the file.

Both require Python with the basic library -- the Python 2.7 installation from http://www.python.org (Windows users click Windows Installer under Quick Links on the left) will suffice. I chose not to write them in PHP as the time requirements can vary widely from a few minutes to several hours, depending on the size of the board (unlike most converters, this one must download each page and parse it, instead of simply converting a preexisting SQL file).

This converter should be run on your own computer and not your host, unless your internet connection is very slow AND your host doesn't mind a potentially demanding and/or long-running script on the server.

Follow the directions in the accompanying Instructions.txt for each converter. In the future, I may make these more general (and thus require less work on the part of the user), but that is not a short-term goal.

If an error occurs, it will usually be logged in convert_error.log, which you should attach in case the conversion fails for any reason. More serious errors will be logged to critical_error.log.

Note that the script is periodically re-uploaded due to changes and updates, so the download count will not be correct. As of time of writing, it has been downloaded over 720 times.

*EDIT: Updated instructions in attached converters.
*EDIT2: Updated instructions again; added view counts to Proboards (due to the way the IF converter works, it may not be possible to add view counts easily)
*EDIT3: Added sticky and lock detection to Proboards.
*EDIT4 [Sept 17 2007]: Increased protection from bad characters. This should prevent members and posts from randomly vanishing.
*EDIT5 [Sept 19 2007]: Added delay to Proboards PM script to facilitate PM sending by non-admin users. Default delay 17 seconds; if you are an admin (i.e. username = admin) set the wait time to 0.
*EDIT6 [Jan 19 2008]: Added ActiveBoards converter and some minor updates to the others.
*EDIT7 [Jan 22 2008]: Fixed bug where "\" characters could potentially cause queries to fail.
*EDIT8 [Jan 27 2008]: Instructions changed to use "javascript:document.cookie" instead of a prompt, to accommodate Internet Explorer 7. Fixed settings.py to produce sensible error on accidental execution. Changed some defaults in settings.py to be more sensible (applies only to default SMF setups)
*EDIT9 [Jan 27 2008]: Added a sensible error message if the settings file is not correct.
*EDIT10 [Jan 27 2008]: Fixed a bug which occurred with invisible users on Proboards.
*EDIT11 [Jan 30 2008]: Fixed a bug for Proboards which caused times to be improperly parsed, fixed a bug for proboards which cause topics viewed more than 1000 times to be omitted and improved the default password security (it is still not highly secure, so PLEASE urge users to change their passwords immediately!)
*EDIT12 [Feb 2 2008]: Fixed a bug in the Proboards converter which caused announcement topics to have repeated posts.
*EDIT13 [Feb 18 2008]: Code cleanup; moved a bunch of common routines to "common.py", added Yuku converter, tiny bug fixes for things I've forgotten, etc. :P . The old versions are still attached for history.
*EDIT14 [Feb 24 2008]: Removed Yuku converter by request; added board crawler to Proboards converter (no more messing with BOARDS!); fixed a few minor bugs; bumped Proboards version to 0.2.
*EDIT15 [Feb 24 2008]: Minor fixes for Proboards; script compatibility with Linux/Mac OS X/Cygwin; updated multi-page detection in Proboards. Version bumped to 0.2.1.
*EDIT16 [Feb 24 2008]: Fixed missing field in common.py. Multiple updates to handle "new" Proboards boards. Version bumped to 0.2.2. Thanks to jasonp for finding all these things.
*EDIT17 [Mar 30 2008]: Fixed a bug with members conversion in ActiveBoards, bumped version to 0.1.2. Thanks go to Nicki for finding and reporting it.
*EDIT18 [Mar 31 2008]: Set the common.py file to use UNIX format line-endings: this should fix execution problems for non-Windows users.
*EDIT19 [Apr 2 2008]: Added robust handling of certain broken tags (thanks fmp777 for reporting it)
*EDIT20 [Apr 15 2008]: Added support for Proboards "v4.5".
*EDIT21 [Apr 16 2008]: Fixed bug in common.py caused by last update; thanks to Blakey for reporting it
*EDIT22 [Apr 22 2008]: Removed ProBoards converter per their request.
*EDIT23 [Jul 19 2008]: Added several converters and updated all of them.
*EDIT24 [Dec 08 2008]: Updated all converters, added several
*EDIT25 [Mar 18 2009]: Updated all converters.
*EDIT26 [Mar 27 2009]: Updated all converters.
*EDIT27 [Apr 24 2009]: Forumotion (fixed member conversion) and Zetaboards (fixed attachments and PM sending) updated.
*EDIT28 [Aug 30 2009]: Updated all converters.
*EDIT29 [Sep 3 2009]: Improve conversion of old topics on Zetaboards.
*EDIT30 [Sep 20 2009]: Update Forumotion converter.
*EDIT31 [Feb 2 2010]: Update Forumotion converter.
*EDIT32 [Feb 15 2010]: Update Yuku converter.
*EDIT33 [Mar 3 2010]: Update all converters.
*EDIT33 [Mar 19 2010]: Update all converters, and add Forumer phpBB2 converter.
*EDIT34 [Mar 25 2010]: Update all converters, and add Forumer phpBB3 converter.
*EDIT35 [Jun 15 2010]: Update all converters.
*EDIT36 [Sept 20 2010]: Update all converters.
*EDIT37 [Oct 12 2010]: Update all converters. Added a timeout to alleviate problems with slow or unstable connections.
*EDIT38 [Dec 16 2010]: Update all converters. Added support for content compression, which drastically speeds up conversion (by up to five fold in my testing) and reduces the load on both the network and the server.
*EDIT39 [Jan 22 2011]: Update all converters.
*EDIT40 [May 14 2011]: Update all converters, merge phpBB2 converters into a generic phpBB2 converter, remove iPBfree converter.
*EDIT41 [Jun 07 2011]: Removed Proboards converter again (thanks tjd100 for pointing this out)

If you don't see an attachment below, then you will need to login or register with the SMF community forums to download the converter.
« Last Edit: June 07, 2011, 09:41:35 PM by nneonneo »
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: Invisionfree & ProBoards to SMF Converters
« Reply #2 on: September 04, 2007, 11:12:28 PM »
Thank you, you are god.

Offline Mega Mario Deluxe

  • Newbie
  • *
  • Posts: 9
Re: Invisionfree & ProBoards to SMF Converters
« Reply #3 on: September 04, 2007, 11:16:20 PM »
Looks interesting. Good work, however! :)

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree & ProBoards to SMF Converters
« Reply #4 on: September 05, 2007, 09:19:17 PM »
I should note that the documentation is a bit out of date. Please read the comments in settings.py for more up-to-date information about specific settings

I will try to update the docs if I get the time.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,805
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Invisionfree & ProBoards to SMF Converters
« Reply #5 on: September 05, 2007, 09:34:57 PM »
That is awesome I thought making a script to do the same thing.
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree & ProBoards to SMF Converters
« Reply #6 on: September 15, 2007, 12:20:31 PM »
Instructions updated. Proboards converter can now do view counts.

See second post for updated package.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline newbee

  • Newbie
  • *
  • Posts: 2
Re: Invisionfree & ProBoards to SMF Converters
« Reply #7 on: September 17, 2007, 01:59:00 AM »
Thanx a million, nneonneo. Your converter really pulled me thru (with your patient help). It's bye bye proboards! I thought it was gonna be so much harder to change over. Sure saved me a LOT of time.  You da man :) :)

Offline Bytor

  • Semi-Newbie
  • *
  • Posts: 22
    • The Owls Nest
Re: Invisionfree & ProBoards to SMF Converters
« Reply #8 on: September 25, 2007, 06:14:41 PM »
Thanks nneonneo, for your patience & all your help during the conversion process from proboards to SMF. 

Much appreciated.

Bytor

Offline Tarni

  • Newbie
  • *
  • Posts: 9
Re: Invisionfree & ProBoards to SMF Converters
« Reply #9 on: November 25, 2007, 03:29:21 PM »
I am so lost we got stuck on Step 3 for the PB converter is there anyone who can help?  when I run it I get a message that says converted: 0 posts 0 topics... am I supposed to install this somewhere ON the proboards forum?  so that it will convert those posts? 

ANY help is appreciated

Thanks
Nik

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree & ProBoards to SMF Converters
« Reply #10 on: November 25, 2007, 07:45:47 PM »
Hi Tarni:

Earlier you sent me a message about downloading the converter; presumably that's resolved now.

The most important step is step 2. You'll need an SMF board set up the way you have it on Proboards (I can't convert the board structure due to some big differences in how they are laid out in Proboards vs. SMF).

Each setting must be set. The most critical settings are:
1) BOARDS: This is a variable mapping Proboard short board names to SMF board IDs. If you don't have an SMF board already, then you will need to make one to check the IDs. This is probably the hardest one to get right -- everything else is quite straightforward.
2) COOKIEDATA: This allows the converter to log in as you, so it can download the board. The instructions are pretty basic.
3) URL: Where the board is. This one is self-explanatory, but if it is wrong or doesn't end in index.cgi, it probably won't work (or not correctly, anyway)
Those are the important settings; the rest may affect the accuracy of the conversion but should not affect the overall conversion.

If you still can't get it to work, send me (do _not_ post) the settings.py file and I'll see what I can do.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree & ProBoards to SMF Converters
« Reply #11 on: December 19, 2007, 11:04:06 PM »
Based off the existing code for Proboards and Invisionfree, and a request for an ActiveBoard conversion, I've created an ActiveBoard converter. It works fine, but it's not yet ready for general use.

If you are interested in an ActiveBoard conversion, PM me and let me know!
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline Aaron

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,711
  • Gender: Male
    • Aaronweb.net
Re: Invisionfree & ProBoards to SMF Converters
« Reply #12 on: January 19, 2008, 07:17:47 AM »
The attachment seems to have been lost in yesterday's server maintenance. Could you reupload it, please? :)

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #13 on: January 19, 2008, 10:54:10 AM »
Thanks for letting me know. It has been updated and uploaded.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #14 on: January 22, 2008, 09:23:46 PM »
Update! I have been notified that \ (backslash) characters can cause MySQL to potentially produce error messages on the files. This has now been fixed. If you were encountering such issues, please update your converters.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline Randy A.

  • Semi-Newbie
  • *
  • Posts: 82
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #15 on: January 25, 2008, 05:48:52 PM »
Has anyone been succesful in converting your proboard over to SMF using this converter? 

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #16 on: January 25, 2008, 05:58:10 PM »
Yes, a number of people, myself included, have successfully converted Proboards to SMF.

However, I understand that this set of converters may not be as easy to use as the convert.php based ones; this is because of the sheer amount of "hidden" or difficult-to-retrieve information present on such boards, compared to the transparency of a database.

If you need assistance with a conversion, I will be glad to help.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline Randy A.

  • Semi-Newbie
  • *
  • Posts: 82
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #17 on: January 25, 2008, 06:09:26 PM »
I sure could use some help.  I need to set up the smf board first, but after that I want to get my proboard info over to it asap.

Anything I should be watching out for as I set up the smf board?

I catch onto things pretty quickly, so I'm confident I can make it work.

I did post a question in another thread, but maybe you can answer it for me.

Will members be able to sign in the new smf board with their current log-in info?

Offline nneonneo

  • SMF Hero
  • ******
  • Posts: 1,476
  • Gender: Male
  • open source is the future
    • home
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #18 on: January 25, 2008, 06:20:58 PM »
I sure could use some help.  I need to set up the smf board first, but after that I want to get my proboard info over to it asap.

Anything I should be watching out for as I set up the smf board?
Make sure that the boards on SMF resemble the ProBoards ones -- i.e. you can clearly tell (for yourself) which ProBoards boards go to which ones on SMF. This isn't a strict requirement, but it helps when you need to set up the BOARDS variable (quite possibly the trickiest part of the entire process).

I catch onto things pretty quickly, so I'm confident I can make it work.

I did post a question in another thread, but maybe you can answer it for me.

Will members be able to sign in the new smf board with their current log-in info?
No, the members will not. The reason is because if the converters could tell what the password was, or even the hash, it would be a major security hole for Proboards. Hence, short of bruteforcing everyone's passwords (not a good idea), the answer is no. However, the converters I've written have an extra feature: pseudorandom password generation. When you setup the converter, one of the variables is a large random number. Setting this value causes the script to generate the same set of random passwords for each run (to guard against the possibility of a failed run), but in a random manner. Additionally, you have the option of mass-PMing every user on your Proboards forum their new password and a link to the new forum page.

**n.b. passwords thus generated are not strong, so it is highly recommended that users change their passwords immediately. If you want to increase the strength of the generated password, increase 32767 in
Code: [Select]
passnumber=str(random.randint(0,32767))
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Offline Randy A.

  • Semi-Newbie
  • *
  • Posts: 82
Re: Invisionfree/ProBoards/ActiveBoards to SMF Converters
« Reply #19 on: January 25, 2008, 09:06:20 PM »
I can deal with the password issue, as long as the member info gets brought over.  I can work that detail as I close the old site and bring the new site online.

Now, off to find a good host.  I see two good possibilities right here on the board and one of them has already graciously offered some great advise.

Very enjoyable experience so far, here at this forum.

Thanks!!