Not Solved IPB 2.1.6 to MyBB 1.1.5 Converter released
#1
Not Solved
Hello Smile

I've realized an IPB to MYBB Converter. I've begin 4 days ago and it seems be finished Big Grin
This converter was test with a board containing more than 90,000 posts, and it worked !!

You can download it at this address :
Download : IPB2MyBB (zip - en) - Dead Link (See below)

If you encounter problems using this soft, you can ask questions here, and I'll try to answer you.

Moreover, if you could tell me if ther's any spelling or grammar mistakes in this soft, it's cool Wink

(I'm sorry for the language, but I'm french and I don't speak english very well)

Cu


Attached Files
.zip   ipb2mybb_3.zip (Size: 48.82 KB / Downloads: 542)
Reply
#2
Not Solved
Tikitiki should at it to the converters list! Smile

Great work.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#3
Not Solved
Added Smile
Reply
#4
Not Solved
Thanks Smile
Reply
#5
Not Solved
MsgWorld.net was the first website to use this converter Toungue
Reply
#6
Not Solved
Hello,

I would only like to convert, posts and members + their passwords to MyBB...

So how do I go about that?

Removing other queries and leaving only the posts and members? I don't want the usergroups of IPB to also be converted, I would rather them to be converted to registered while I sort them out myself.
Reply
#7
Not Solved
You don't want to convert forums, polls, moderators, and others?

'cause if you convert posts you'll have to convert topics and forums...

If you don't want to convert groups only, you can delete these lines :

	/* Groups conversion */
	$sqlGroups = mysql_query('SELECT * FROM ibf_groups') or die(mysql_error());
	
	$i = 0;
	mysql_query('TRUNCATE TABLE mybb_usergroups') or die(mysql_error());
	
	while ($groups = mysql_fetch_array($sqlGroups))
	{
		$namestyle = $groups['prefix'].'{username}'.$groups['suffix'];
		$isBanned = ($groups['g_view_board'] == 0) ? 'yes' : 'no';
		$canView = ($groups['g_view_board'] == 1) ? 'yes' : 'no';
		$dlAttachments = ($groups['g_can_msg_attach'] == 1) ? 'yes' : 'no';
		$postThreads = ($groups['g_post_new_topics'] == 1) ? 'yes' : 'no';
		$postReply = ($groups['g_reply_own_topics'] == 1) ? 'yes' : 'no';
		$editPosts = ($groups['g_edit_posts'] == 1) ? 'yes' : 'no';
		$deletePosts = ($groups['g_delete_own_posts'] == 1) ? 'yes' : 'no';
		$deleteTopics = ($groups['g_delete_own_topics'] == 1) ? 'yes' : 'no';
		$postPolls = ($groups['g_post_polls'] == 1) ? 'yes' : 'no';
		$votePolls = ($groups['g_vote_polls'] == 1) ? 'yes' : 'no';
		$usePm = ($groups['g_use_pm'] == 1) ? 'yes' : 'no';
		$sendEmail = ($groups['g_email_friend'] == 1) ? 'yes' : 'no';
		$calPost = ($groups['g_calendar_post'] == 1) ? 'yes' : 'no';
		$cp = ($groups['g_access_cp'] == 1) ? 'yes' : 'no';
		$supMod = ($groups['g_is_supmod'] == 1) ? 'yes' : 'no';
		$userCp = ($groups['g_title'] != 'Guests' || $groups['g_title'] != 'Banned') ? 'yes' : 'no';
		$upAvs = ($groups['g_avatar_upload'] == 1) ? 'yes' : 'no';

		mysql_query("INSERT INTO mybb_usergroups VALUES('".$groups['g_id']."', 1, '".$groups['g_title']."', '', '".$namestyle."', '".$groups['g_title']."', 0, '', '', '".$isBanned."', '".$canView."', 'yes', '".$dlAttachments."', '".$postThreads."', '".$postReply."', '".$dlAttachments."', 'no', '".$editPosts."', '".$deletePosts."', '".$deleteTopics."', 'no', '".$postPolls."', '".$votePolls."', '".$usePm."', '".$usePm."', '".$usePm."', 'no', '".$groups['g_max_messages']."', '".$sendEmail."', '".$canView."', '".$canView."', '".$calPost."', '".$calPost."', '".$canView."', '".$canView."', '".$canView."', '".$cp."', '".$supMod."', 'yes', '".$userCp."', '".$upAvs."', 'no', 'no', '".$canView."', 'no', 'no', 5, 0, 'yes', 0, 'no')") or die(mysql_error());
		
		$i++;
	}
	
	echo '<p class="message"><b>Groups : <span style="color: green;">Done</span></b> | Inserted rows : <b>'.$i.'</b></p>';
	
	/* End of groups conversion */


But be carefull, basic members will be super moderators and some members could be banned after the conversion.
No converting groups causes problems. Wink
Reply
#8
Not Solved
When it asks for the database name what do i put? I have 2, one for ipb (flcl_Forum) and one for mybb (flcl_mybb)?
Reply
#9
Not Solved
I'm sorry but actually you have to install your MyBB copy on the same database as IPB.

After conversion, you can export your Mybb tables to an other database Wink

Reply
#10
Not Solved
hi
thanks 4 this great Converter
But
I want u 2 tell me how 2 use it step by step as i'm beginner Big Grin

thanks again
Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)