SMF Import to bbPress
Introduce Forum Importer template for use with importing from SMF v2.0.x(Tested on v2.0.4)
http://codex.bbpress.org/import-forums/ & http://codex.bbpress.org/import-forums/smf
Working: Forums, Topics, Replies, Users & User Passwords
Partial: Custom BBCode for Topic & Reply Content
Not Working Yet: Categories
Attached to bbPress Trac Ticket #2380 is the 1st pass patch for SMF importing into bbPress.
To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.
I hope to get the remaining outstanding items done ASAP.
(User passwords will be a little trickier and will take a bit more time)
Any feedback and/or testing that you can provide will help me out tremendously.
Just uploaded a new version of SMF.php, the core changes of the forum import have not changed. The main changes are the regex (regular expressions) to convert SMF’s BBCode.
It is a start and only a few tweaks are left to do, alas it’s 10pm Friday night and I’m done for the night 😉
Thank you Stephen, so close to finally having my full site in WP, really, thanks for the hard work…
have a nice weekend.
I need some help here.
I want to convert my forum from smf to bbpress.
So what exactly i did is
1) Installed wordpress and then installed bbpress.
2) Then i copied the converter file as mentioned https://bbpress.trac.wordpress.org/attachment/ticket/2380/SMF.3.php to the location where it was mentioned,
3) I went to my wordpress menu > tools > forum > import forum and i choose SMF.3 from there and filled all the required options. And when i click on convert the bar just stays at Starting Conversion and nothing happens.
What am i doing wrong here 🙁
@sachinsud you need to post more info about your situation my friend.
For example, is you WP on the same folder of your SMF? for example
How did you input your info in the converter fields?
How long did you wait? Depending on your server it might work reeeeeeeally slow.
What did you input in ROWS LIMIT and DELAY? If you for example input 2000 rows and your server is slow or your in a shared host, it may take several minutes to show something…
Thanks for replying!
Yes they are under same server. I m using cpanel
so the directory of smf is
public_html/smf and for wordpress is public_html/forum.
I entered the previous db details and and put the limit as 100 for Row Limits
This server is shared though but its very fast,
You should have this file on your server
Open up that file in a text editor
########## Database Info ########## $db_server = 'localhost'; $db_name = 'db_smf'; $db_user = 'db_user'; $db_passwd = 'abcdefghigh'; $db_prefix = 'smf_';
They are the settings you need to use for your import.
yes i did that only.
I let it run whole night but no luck 🙁
Have you tried on a local install of xampp or wamp in your PC?
Thanks everyone! Its all sorted.
I first converted to phpbb and from there i converted to bbpress 🙂
Now just playing with bbpress feeling exited and happy!!
Happy to hear(read) that, and I envy you, I tried converting my SMF to phpbb first and didn’t work 🙁
Anyway, congratulations, enjoy this beautiful piece of software.
Good to see this!
Gonna try to convert my forum next week. (have to duplicate current database to ensure if anything goes wrong I still have the backup ) .
My forum stats : “405019 Posts in 13948 Topics by 8112 Members”.
I’m running on my own dedicated server, intel xeon + 8gb ram. I wonder how long it gonna take.
Wordpress + BbPress + BuddyPress + (WPMU?).
my very own Arts social network perhaps?
😀 Congratulation for all good work.
Awesome everyone, there are still a couple of the regex expressions I need to fix, otherwise it would be commited to /trunk of bbPress now 😉 hopefully I will get these fixed tomorrow. 🙂
Hi! You put in a great deal of efforts to this job! Well done!
Thanks for the script. I would also like to convert my SMF to BBPress.
How do I get started with your script?
First download the script and then upload it to
Then you can follow the instructions HERE
Thank you for the hints but in my case, I have the bbpress as plugin in WordPress.
How do I approach it? Thanks.
By script I meant the file SMF.3.PHP found attached in THIS TICKET as written in the first post of this topic.
You download it an then upload it to your site in this path
Should be in the plugins folder
Then follow the instructions in the link from my other post.
Hope that helps
I got it now! Thanks.
Is there any script or work around for redirecting old URL most especially indexed by Search Engines?
Glad it helped.
I’m not aware of a script like that, though I would love to have it too.
The only thing I could recommend would be letting google know about the change with a SITEMAP
OK.. Thanks. I am importing now. Could not figure out how long it will take. I have more than 220K posts, 160K topics and 13K members.
Those are some big numbers, hope you have a fast server because if not it will take a loooong time.
Good luck @infostrides may the force be with you and the cpu throttle not 🙂
I am dedicated server. But still on “Starting Conversion” for the past 4hrs. I don’t know if it is running silently.
That’s weird, on every test I did I always saw some progress even if it was slow.
I always check on phpmyadmin to see if the DB is growing while the conversion is in process, maybe you should take a look, if the script is doing nothing checking your DB could save you some hours.
- You must be logged in to reply to this topic.