I have taken over a website and forum that was in bad shape. The forum is in bbPress 1.x? (The older, stand-alone version, not the WP plugin). I have created a new SMF forum and would like to import ONLY the users/passwords from bbpress- not any of the boards, topics, or posts. Is there a straightforward way to do that?
Do any of the conversion tools let you just copy the users?
There are only abut 75 users right now and I guess I could just make everyone register all over again, but I want to make it easy for people to come back.
Thanks for any help with this.
Hi and welcome to sm.org ;)
The converter at our download site was developed for 0.8.3 so I am not exactly sure if it will work with your version.
In order to get just the members, you need to edit the .sql file and remove everything after the "Converting members" block. Eg, everything after - and including
/******************************************************************************/
--- Converting boards...
/******************************************************************************/
Since the converter will not touch your bbpress setup, I can only suggest you to try it. If it fails to work I am willing to help you ;)
BTW: why don't you want to import forum content?
Thanks. I will give it a try.
The old forum is on hostgator and my new one is still on my own computer where I am working on integrating it with my Wordpress website. Can I run the converter from one platform to another or do I need to get the SMF forum on the server first?
I don't want to bother with the old posts because it was never really used much and the boards/categories/whatever made no sense (it was designed by someone with no understanding of what our club needed in a forum)
Yeah you need both databases on the same server and accessible to SMF's database user.
Which should be give you troubles getting the config.php accessible to the converter (you can probably create a dummy folder in your localhost, put the original config.php file inside and edit it to the new database name and user)
If you struggle, give me a nudge, we can find a safe way for you to send me the database dump and I'll do it for you ;)
EDIT: After I posted the message below, I figured I would just make a copy of the whole smf forum folder and go for it. I got the error message "Unable to find the settings for bbPress 0.8.3. Please double check the path and try again." I guess I need more than the bbpress config.php on my computer for this to work?
---------------------------------------------------------------------------------
I copied the config.php from the server to my computer and put it in a dummy folder. I was just about to hit continue to start the conversion when I thought, hmmm, I wonder if this will overwrite my own login to my SMF forum? Does this ADD the users from the bbpress forum to what is currently in the smf forum or does it overwrite what is there?
Thanks.
It overwrites all content, yes. All our converters do, or else you might end up with duplicate IDs.
Since you're not importing any content, you can actually edit the converter so that it doesn't delete existing users (as long as you don't have a user with ID = 1 in your bbpress or else it will cause a duplicate key error...
edit: I've seen that error before reported here. Did you point the path to bbpress to the folder where the file is?
OK, I made sure I had a good login to the old bbpress forum and then tried it again. This time I did not get the previous error message, but instead, I got a whole slew of errors. What does this mean?:
( ! ) Notice: Undefined index: convert_script in C:\wamp\www\forum\convert.php on line 972
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
( ! ) Warning: Invalid argument supplied for foreach() in C:\wamp\www\forum\convert.php on line 975
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
( ! ) Notice: Undefined index: convert_script in C:\wamp\www\forum\convert.php on line 987
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
( ! ) Warning: file(C:\wamp\www\forum/): failed to open stream: No such file or directory in C:\wamp\www\forum\convert.php on line 987
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
4 0.0380 624296 file ( ) ..\convert.php:987
( ! ) Warning: Invalid argument supplied for foreach() in C:\wamp\www\forum\convert.php on line 999
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
Successful.
Recalculating forum statistics...
( ! ) Notice: Undefined variable: result in C:\wamp\www\forum\convert.php on line 2494
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
4 0.0470 626728 doStep2( ) ..\convert.php:1326
5 0.0470 627264 convert_query( ) ..\convert.php:1385
( ! ) Notice: Undefined variable: result in C:\wamp\www\forum\convert.php on line 2495
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
4 0.0470 626728 doStep2( ) ..\convert.php:1326
5 0.0470 627264 convert_query( ) ..\convert.php:1385
( ! ) Notice: Undefined index: db_fetch_assoc in C:\wamp\www\forum\convert.php on line 1386
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
4 0.0470 626728 doStep2( ) ..\convert.php:1326
( ! ) Fatal error: Function name must be a string in C:\wamp\www\forum\convert.php on line 1386
Call Stack
# Time Memory Function Location
1 0.0090 603176 {main}( ) ..\convert.php:0
2 0.0110 623176 call_user_func:{C:\wamp\www\forum\convert.php:51} ( ) ..\convert.php:51
3 0.0110 623552 doStep1( ) ..\convert.php:51
4 0.0470 626728 doStep2( ) ..\convert.php:1326
By the way, the config.php file in the bbpress installation is called bb-config.php and that is the file I copied onto my computer and put in the dummy folder. Is that a problem? Should I rename it config.php?
Thanks so much for your help!
I changed the name of the file bb-config.php to config.php and I got a completely different error message that (in French) tells me that it needs to have the bb_users table available, so just copying config.php to a dummy file does not work. It needs the SQL table - which makes sense....
Yeah, the first errors are probably due to the missing configuration file.
Did you fix the config file to point to the correct database name?
(or maybe the converter is really messed :P )
I am moving the smf forum to the server (where the bbpress forum is) and will do the conversion there. Sounds simpler anyway.
Hi amargar, did that option worked out for you? So once you have it converted, are you going to move the smf server elsewhere? (https://imagicon.info/cat/6-4/1.gif)