I have installed CBB 3.08 and it seems to work.
Now I'm looking for a swedish laguagepackage but couldn't find any.
Do they have any languagepackage in swedish for CBB 3.08?
<?php
// Converter: phpBB 2.0.20 to XOOPS 2.0.13.2 + CBB 3.04rc2
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., infomax@gmail.com) //
// URL: http://xoopsforge.com, https://xoops.org.cn //
// Project: Article Project //
// ------------------------------------------------------------------------ //
$db_server = "localhost"; // server name
$db_user = "username"; // username
$db_pass = "password"; // password
$phpbb_db = "database"; // phpbb database name
$phpbb_tbl = "phpbb_"; // table prefix
$xoops_db = "database"; // xoop database name
$xoops_tbl = "xoops_"; // table prefix
$configs = array("db_server", "db_user", "db_pass", "phpbb_db", "phpbb_tbl", "xoops_db", "xoops_tbl");
foreach($configs as $config){
${$config} = isset($_POST[$config])?$_POST[$config]:${$config};
}
print "<table width="80%" align="center"><tr><td><center><h2>Convert phpbb(2.0.20) to XOOPS 2.0.13.2 + CBB 3.04</h2><hr /></center>n";
echo "<p align="right"><strong>Author:</strong>: <a href="https://xoops.org/modules/newbb/viewtopic.php?topic_id=34227" target="_blank">degarrah</a>, <a href="https://xoops.org.cn" target="_blank">phppp</a></p>";
if(empty($_POST["CONFIRM"])){
echo "<strong>Guide:</strong>n";
echo "<ol>";
echo "<li>Make a full <strong>backup</strong> of your data</li>";
echo "<li>Make a <font color="red">fresh installation of XOOPS</font> with module CBB</li>";
echo "<li>Configure the file with db username and password, as well as db names and tables for phpbb and XOOPS</li>";
echo "<li>Click the button below</li>";
echo "<li>Set <strong>permissions</strong> for both categories and forums of CBB</li>";
echo "<li><font color="red">Delete</font> this file as soon as possible</li>";
echo "<li>Limit: vote, attachment and other hacks will not be converted</li>";
echo "</ol>n";
echo "<form method="POST">n";
echo "<strong>Config:</strong>n";
echo "<ul>";
print "<li>Server: <input name="db_server" value="$db_server" /></li>n";
print "<li>Username: <input name="db_user" value="$db_user" /></li>n";
print "<li>Password: <input name="db_pass" value="$db_pass" /></li>n";
print "<li>Phpbb database: <input name="phpbb_db" value="$phpbb_db" /></li>n";
print "<li>Phpbb table prefix: <input name="phpbb_tbl" value="$phpbb_tbl" /></li>n";
print "<li>Xoops database: <input name="xoops_db" value="$xoops_db" /></li>n";
print "<li>Xoops table prefix: <input name="xoops_tbl" value="$xoops_tbl" /></li>n";
print "</ul>n";
echo "<center>";
echo "<input type="submit" value="Everything has been confirmed following the guide. I am ready to continue." name="CONFIRM" id="CONFIRM" />";
echo "</form>n";
echo "</center>n";
}else{
echo "<strong>Config:</strong>n";
echo "<ul>";
print "<li>Server: <font color=blue>" . $db_server . "</font></li>n";
print "<li>Username: <font color=blue>" . $db_user . "</font></li>n";
print "<li>Password: <font color=blue>" . $db_pass . "</font></li>n";
print "<li>Phpbb database: <font color=blue>" . $phpbb_db . "</font></li>n";
print "<li>Phpbb table prefix: <font color=blue>" . $phpbb_tbl . "</font></li>n";
print "<li>Xoops database: <font color=blue>" . $xoops_db . "</font></li>n";
print "<li>Xoops table prefix: <font color=blue>" . $xoops_tbl . "</font></li>n";
print "</ul>n";
echo "<strong>Progress ...</strong>n";
echo "<ol>";
/*
Make connection
*/
print "<li>Connecting to database: ";
if( !$db = mysql_connect($db_server, $db_user, $db_pass) )
{
printf("There was an error while connecting to the database! %s", mysql_error($db));
//exit;
}