Announcement

Collapse
No announcement yet.

Converter for BurningBoard

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Converter for BurningBoard

    Hey Folks

    I search a converter to convert my Burningboard
    to this cool Board !!

    I use the woltlab burning board 4.5

    Please help me

    MadRox

  • #2
    To my knowledge there wasn't a converter made, I do not know offically what the development team is working on in the way of converters or will work on in the future....


    You might go ask in the hacking forums and see if a user will make one...

    Comment


    • #3
      MadRox, please enter your license information in your profile. See the link in my sig for more info. Thanks!

      Comment


      • #4
        Hey Guys, I made a converter. (at the moment in german). But it is now only for the user and it doesn't work really good.

        I post it also in the vbulletin-germany forums and asked for someone who would help me. But nobody answered. If someone wants to help me, my ICQ UIN is 84716185. Just say Hallo

        the code at the moment:

        PHP Code:
        <?php
        /*####################################################################
        Importer WBB -> VBB 2.2.1
        by KarateKid WBC
        Bitte unten die Daten eingeben...
        ####################################################################*/




        //####################################################################
        //####################################################################



        // URSPRUNGS-DATENBANK::::::

        $mysqlhost1 "localhost";
        $mysqluser1 "";
        $mysqlpassword1 "";
        $mysqldb1 "wbb";

        // NEUE DATENBANK::::::::::::

        $mysqlhost2 "localhost";
        $mysqluser2 "";
        $mysqlpassword2 "";
        $mysqldb2 "vbb";



        //####################################################################
        //####################################################################

        echo    ("<html>
        <head>
        <title>Konverter Burning Board 1.1.0 -> VBB 2.2.1</title>
        </head>
        <body bgcolor=\"#000000\"><div align=\"center\"><font size=\"2\" color=\"FFFF00\"><h3>Konverter Burning Board 1.1.0 -> VBB 2.2.1</h3></div><br><br>"
        );

        if(!(isset(
        $action))) echo    ("<a href=\"konverter.php?action=1\">Zunächst Import der Userdaten (Step1)</a>");

        if(
        $action==1)
        {
        $count=0;    

        // URSPRUNGS-DATENBANK WIRD SELEKTIERT
        $link1 mysql_pconnect$mysqlhost1$mysqluser1$mysqlpassword1 ) or die(mysql_error());
        $link2 mysql_pconnect$mysqlhost2$mysqluser2$mysqlpassword2 ) or die(mysql_error());

        // USER DER URSPRUNGS-DATENBANK WERDEN SELEKTIERT UND EXPORTIERT
        mysql_select_db($mysqldb1,$link1) or die(mysql_error());
        $user_table=mysql_query("SELECT * from bb1_user_table") or die(mysql_error());
              for(
        $i=0;$i<mysql_num_rows($user_table);$i++)
                  {
                
        $user=mysql_fetch_object($user_table) or die(mysql_error());
                
        mysql_close($link1);
                    
        $user->userid++;
                
        mysql_select_db($mysqldb2,$link2) or die(mysql_error());
                
        $ok=mysql_query("INSERT INTO user (timezoneoffset, ipaddress, userid, usergroupid, username, password, email, styleid, coppauser, homepage, icq, aim, yahoo, signature, adminemail, showemail, invisible, customtitle, joindate, cookieuser, daysprune, lastvisit, lastactivity, posts, emailnotification, receivepm, emailonpm, pmpopup, avatarid, options, birthday, maxposts, startofweek, referrerid, nosessionhash, inforum)
                                        values('0', '127.0.0.1', '
        $user->userid', '2', '$user->username', '$user->userpassword', '$user->useremail', '1', '0', '$user->userhp', '$user->usericq', '$user->aim', '$user->yim', '$user->signatur', '1', '1', '0', '0', '$user->regdate', '1', '-1', '1003939879', '1003939879', '$user->userposts', '1', '1', '1', '1', '0', '15', '0000-00-00', '-1', '1', '0', '0', '0')")or die(mysql_error());
                    
        mysql_close($link2);
                    if(
        $ok
                        {
                        
        $count++;
                        echo    (
        "$count. User ($user->username) erfolgreich konvertiert!<br><br>");
                        }
                    }
                echo (
        "Es wurden $count User erfolgreich konvertiert!");
        // von action=1
        ?>
        </font></body></html>

        Comment


        • #5
          I need somebody who helps me to code this converter

          Comment


          • #6
            If you visit vbulletin.org you will likely find more help.

            Comment


            • #7
              @tubedogg: Can you help me to implement the hack? Because at vbulletin.org are no interessts in my posting!

              Comment


              • #8
                Somewhere in my code must be a mistake, but I don't find it out.

                And what the main problem is at the moment. I could import the user, but when they are in the vbb database they don't exist in the vbb and in the admin controll pannell. When I view then the usergroups, there are more user listed, but when I search for them there is only the admin and not the other user

                Comment


                • #9
                  The answer to your main problem is you must insert a row in the userfield table for every user you add or they won't be accessible through the Admin CP...

                  Put this right below your INSERT INTO user query:

                  $userid = mysql_insert_id();
                  mysql_query("INSERT INTO userfield VALUES ($userid,'','','','')");

                  Comment


                  • #10
                    THX Very Much. I will try it later

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X