Title: Import SMF posts into WordPress
Last modified: August 18, 2016

---

# Import SMF posts into WordPress

 *  [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/)
 * I am inexperienced in WordPress. I haven’t installed it yet, but in a few days
   I will do it.
    It seems to me the ideal system for which it was looking for. 
   I have a Web ([http://www.pajareo.com](http://www.pajareo.com)) based on SMF 
   system (SimpleMachinesForum) and have made some modifications to turn it to a“
   look-alike” weblog… Until I have seen that there is no way to continue modifying
   to obtain that lookk. I have realized that better to imitate WordPress, I must
   install and use WordPress (evident, no? : P) Well, the thing is that I do not
   want to lose posts and commentaries (almost 1200 posts and 2000 commentaries),
   so my question is: How can I import them? Perhaps using some “bridge” between
   SMF and WP first and then eliminating SMF…? I have looked for a way to do it 
   in forums but I have only seen solutions about integrating SMF and WP… Thanks
   in advance for your time.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/page/2/?output_format=md)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-581722)
 * Did any of the threads that are in the tag SMF help you?
 * Just click on the SMF (up above) tag you added to this thread to see those other
   threads.
 *  Thread Starter [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-581924)
 * Well, I did a search before posting, but what I’ve found talks about integration
   of SMF into WP or viceversa. No posts about importing (at least, no one with 
   a solution)
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-581954)
 * Hey 3nd3r,
 * You can do this, yes.
 * DMRY’s bridge has features to allow put smf posts in wordpress. However, they
   are at an early stage and buggy.
 * [http://www.dmry.net/wordpress-smf-bridge-plugin-10](http://www.dmry.net/wordpress-smf-bridge-plugin-10)
 * You would have to read up on it there, and do some work to build it into your
   site.
 * I believe this is the function you would want to call:
    SMF_EnSonBasliklar($limit
   =10,$before_all,$before_message,$after_message,$after_all)
 * Anyway, I am working on improving DMRY’s script, to remove bugs and make it more
   user friendly.
 * I would suggest trying out one of the newer versions here:
    [http://www.earthorbit.com/opensource](http://www.earthorbit.com/opensource)
 * Keep in mind that I have not yet made it to these features, so I have no idea
   if they work, but they probably do.
 * (when I’m happy with the script, I’ll send it back to DMRY and I’d imagine he’ll
   host it there)
 *  Thread Starter [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-581984)
 * Thank you very much for your interest.
    I’ve seen that bridge, but I didn’t know
   it can do what I want. I’ll try yours and will tell you.
 *  Thread Starter [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582036)
 * Well, today I could try at last…
    And there is a little thing… When configuring
   WP_SMF plugin I must enter the path for SMF Forum… But, in my case I have this
   configuration: SMF: /home/pajareo/public_html/ Wordpress: /home/pajareo/public_html/
   wp/
 * And in the plugin config I only see /home/pajareo/public_html/wp/ [blank box]/
 * So… What can I do?
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582041)
 * That would be me being stupid with my code!
 * Thank you for pointing this out.
 * The problem should be fixed now if you download a fresh copy.
 * I didn’t change the version number, but I did fix it.
 * Let me know how it goes, and thank you kindly for pointing the bug out!
 *  Thread Starter [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582044)
 * Ok, I didn’t know this was a bug. I’m happy to contribute.
 * Well, first error message after WordPress plugin reinstalation:
 * [SELECT command denied to user ‘pajareo_wp’@’localhost’ for table ‘smf_members’]
   
   SELECT ID_MEMBER, memberName, passwd, emailAddress, personalText, websiteUrl,
   aim, yim, realName from ‘pajareo_smf’.smf_members ORDER BY ID_MEMBER
 * That user is my wp admin user, so, I went to mySQL db area through cPanel and
   update smf database with all access granted for pajareo_wp adminuser… And error
   is gone. 🙂
 * So, now I’m experimenting to show SMF post with
    `<?php echo SMF_EnSonBasliklar(
   $limit=10,'<ul>','<li>','</li>','</ul>') ?>` I will tell you how this works for
   me.
 *  Thread Starter [3nd3r](https://wordpress.org/support/users/3nd3r/)
 * (@3nd3r)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582045)
 * Well… After all that isn’t what I want.
 * What I want is a way to IMPORT smf posts into WP posts, boards into categories,
   answers to smf posts into comments … And so on. I meant, a complete db DUMP to
   definitively delete SMF Forum and continue with WordPress without losing any 
   data.
 * Maybe with a similar procedure like you did with users can work?
 * If not, I’ll try a SQL dump from smf db to wp db… Doing a double backup first!
   😉
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582048)
 * lol…ok, good luck with the dump! glad to here you’re double-backing it up.
 * sorry this didn’t have what you were looking for with the integration yet…maybe
   it will in time.
 *  [gecekusu](https://wordpress.org/support/users/gecekusu/)
 * (@gecekusu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582051)
 * > What I want is a way to IMPORT smf posts into WP posts, boards into categories,
   > answers to smf posts into comments … And so on.
 * This is exactly what I m looking for..I ll be waiting..
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582052)
 * Well, lol…
 * That sort of thing will be my next project, but I’m in no rush. The WP_SMF bridge
   is already, or very nearly stable now. Unfortunately, it only functions for user
   integration at this stage.
 * As for site integration…you can display most recent posts, etc…in wordpress using
   the brige. As for importing…not at this stage. I will certainly consider the 
   idea moving forward.
 * Please do let me know if you figure a way out first!
 * cheers 🙂
 *  [gecekusu](https://wordpress.org/support/users/gecekusu/)
 * (@gecekusu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582053)
 * > [SELECT command denied to user ‘dboblog’@’localhost’ for table ‘smf_members’]
   > 
   > SELECT ID_MEMBER, memberName, passwd, emailAddress, personalText, websiteUrl,
   > aim, yim, realName…
 * I get this error message.can you please explain me how can I do this?
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582054)
 * I can try…but you need to be more specific.
 * What are you doing? Are you installing SMF? Are you using my bridge?
 * When do you get the error?
 * All I can say from what you’ve shown me is that your server isn’t giving you 
   the authority to access your database…and it looks like that’s because it’s trying
   to access smf information from your wordpress database.
 *  [gecekusu](https://wordpress.org/support/users/gecekusu/)
 * (@gecekusu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582055)
 * oh sorry about this.my bad..
    I didnt see this ” That user is my wp admin user,
   so, I went to mySQL db area through cPanel and update smf database with all access
   granted for wp adminuser… And error is gone. :-)”
 * it works perfect now…
 * thanks very much..
 *  [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * (@jjgallow)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/#post-582056)
 * no problems gecekusu,
 * I’m glad it worked out 🙂

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/page/2/?output_format=md)

The topic ‘Import SMF posts into WordPress’ is closed to new replies.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [SMF](https://wordpress.org/support/topic-tag/smf/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 17 replies
 * 5 participants
 * Last reply from: [jjgallow](https://wordpress.org/support/users/jjgallow/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/import-smf-posts-into-wordpress/page/2/#post-582074)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
