Codoforum related discussions
Import Support from older Forum Software like vBulletin

I am wondering if there is any support for users that want to switch from an older forum software like vBulletin to this newer approach with responsive design ?

I am wondering if there is any support for users that want to switch from an older forum software like vBulletin to this newer approach with responsive design ?

Hi,

We have not yet added an importer for vBulletin.
Which version of vBulletin are you using ?

If you have a little experience in PHP and MySQL, you can write a vBulletin importer yourself
by following the documentation here:
https://codoforum.com/documentation/how-to-write-a-forum-importer

If that is not possible, we will add the vBulletin importer in the future versions.

Hi, We have not yet added an importer for vBulletin. Which version of vBulletin are you using ? If you have a little experience in PHP and MySQL, you can write a vBulletin importer yourself by following the documentation here: https://codoforum.com/documentation/how-to-write-a-forum-importer If that is not possible, we will add the vBulletin importer in the future versions.

Have you guys started on the importer for vBulletin? The company I work for has tasked me with getting their forum from vBulletin to a better one, in which I have chosen codologic. If you guys have started or created a vBulletin importer I'd love to use it or finish writing it for you. If not I can write one and share with you guys.

Have you guys started on the importer for vBulletin? The company I work for has tasked me with getting their forum from vBulletin to a better one, in which I have chosen codologic. If you guys have started or created a vBulletin importer I'd love to use it or finish writing it for you. If not I can write one and share with you guys.

Hi,

We have not yet started with it.

You can create a git repo and follow the docs here to create the driver for importing from vBulletin:
https://codoforum.com/documentation/how-to-write-a-forum-importer

We can then help you with the code through git

Hi, We have not yet started with it. You can create a git repo and follow the docs here to create the driver for importing from vBulletin: https://codoforum.com/documentation/how-to-write-a-forum-importer We can then help you with the code through git

Once I get this thing done and tested I'll put it up online for you. Couple of little things:

On the documentation at the link you sent me:

"All the drivers used by the importer are stored in
codoforum/sys/Lib/Importer/Drivers/"

It should be codoforum/sys/CODOF/Importer/Drivers

Lib is no longer there.

and a quick question. I am re-writing the query for the posts. when you use the alias such as "Select postid as post_id, etc" and such, I am assuming the as post_id means the field name for the codoforum table field name, is that correct?

The commented alias in the class has this.

/**

 * 
 * Selects
 * category id        -> cat_id
 * topic id           -> topic_id
 * post id            -> post_id
 * user id            -> uid
 * post message       -> message
 * post created time  -> post_created
 * post modified time -> post_modified
 * @param int $start
 * @return array
 */

That table doesn't have a message field, it has a imessage and omessage. What is the difference between imessage and omessage, and am I correct to assume i will need to change it to as imessage or as omessage?

Thanks again, this thing is almost written and it is pretty easy... Harder to figure out what the hell vbulletin is doing than writing the importer smile

Once I get this thing done and tested I'll put it up online for you. Couple of little things: On the documentation at the link you sent me: "All the drivers used by the importer are stored in codoforum/sys/Lib/Importer/Drivers/" It should be codoforum/sys/CODOF/Importer/Drivers Lib is no longer there. and a quick question. I am re-writing the query for the posts. when you use the alias such as "Select postid as post_id, etc" and such, I am assuming the as post_id means the field name for the codoforum table field name, is that correct? The commented alias in the class has this. /** * * Selects * category id -> cat_id * topic id -> topic_id * post id -> post_id * user id -> uid * post message -> message * post created time -> post_created * post modified time -> post_modified * @param int $start * @return array */ That table doesn't have a message field, it has a imessage and omessage. What is the difference between imessage and omessage, and am I correct to assume i will need to change it to as imessage or as omessage? Thanks again, this thing is almost written and it is pretty easy... Harder to figure out what the hell vbulletin is doing than writing the importer :D

By the way, whoever wrote this code sure did a good job making it readable and well documented. Very pretty coding!!! I'm used to looking at garbage code. This is so easy on the eyes smile

By the way, whoever wrote this code sure did a good job making it readable and well documented. Very pretty coding!!! I'm used to looking at garbage code. This is so easy on the eyes :D

also in the users table what is the status field for? What values can be present?

also in the users table what is the status field for? What values can be present?

nm about the status, found it in the docs

$user->user_status; //boolean indicating whether the user is confirmed

nm about the status, found it in the docs $user->user_status; //boolean indicating whether the user is confirmed

Hi,

The imessage and omessage fields were added later.
Just replicate the message in both the fields like this:

SELECT .... message AS imessage, message AS omessage,....

By the way, whoever wrote this code sure did a good job making it readable and well documented. Very pretty coding!!! I'm used to looking at garbage code. This is so easy on the eyes smile

Thanks, we did intend it to be as easy as possible.

also in the users table what is the status field for? What values can be present?

The status field says whether the user is a confirmed user or not (email confirmation).
1 means confirmed, 0 means pending confirmation.

Edit:

I am assuming the as post_id means the field name for the codoforum table field name, is that correct?

Yes, you are correct

Hi, The imessage and omessage fields were added later. Just replicate the message in both the fields like this: `SELECT .... message AS imessage, message AS omessage,....` >By the way, whoever wrote this code sure did a good job making it readable and well documented. Very pretty coding!!! I'm used to looking at garbage code. This is so easy on the eyes smile Thanks, we did intend it to be as easy as possible. >also in the users table what is the status field for? What values can be present? The status field says whether the user is a confirmed user or not (email confirmation). 1 means confirmed, 0 means pending confirmation. Edit: > I am assuming the as post_id means the field name for the codoforum table field name, is that correct? Yes, you are correct
edited Dec 16 '15 at 7:25 pm

awesome thanks so much adesh, I should have this done and tested today. I'll put the file up on my github after testing, and shoot you a link when done.

awesome thanks so much adesh, I should have this done and tested today. I'll put the file up on my github after testing, and shoot you a link when done.

Seems I am getting really close. It appears to have imported all the data, but I am getting a few errors and the categories aren't showing up on the main page. I believe it has to do either with the errors listed below, or a problem with permissions on the categories. Any idea what might be the case? sctflash.skilllevel.ninja/forum.

Categories imported in : 1.8938109874725
users imported in : 126.32535409927
topics imported in : 1.4168221950531
posts imported in : 26.652084112167
Notice: Undefined offset: 14 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Notice: Undefined offset: 15 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Notice: Undefined offset: 51 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Notice: Undefined offset: 52 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Notice: Undefined offset: 60 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Notice: Undefined offset: 62 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98

Errors go on for a while incrementing, then:

category, topic & user post counts updated in : 23.920781850815 s
import successfull in total time 180.20885324478 s

Seems I am getting really close. It appears to have imported all the data, but I am getting a few errors and the categories aren't showing up on the main page. I believe it has to do either with the errors listed below, or a problem with permissions on the categories. Any idea what might be the case? sctflash.skilllevel.ninja/forum. Categories imported in : 1.8938109874725 users imported in : 126.32535409927 topics imported in : 1.4168221950531 posts imported in : 26.652084112167 Notice: Undefined offset: 14 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Notice: Undefined offset: 15 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Notice: Undefined offset: 51 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Notice: Undefined offset: 52 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Notice: Undefined offset: 60 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Notice: Undefined offset: 62 in /var/www/sctstaging/forum/sys/CODOF/Importer/Concise.php on line 98 Errors go on for a while incrementing, then: category, topic & user post counts updated in : 23.920781850815 s import successfull in total time 180.20885324478 s

Hi,

Did you check if the categories are insterted in the table codo_categories in the database ?

Hi, Did you check if the categories are insterted in the table codo_categories in the database ?

Hello everyone,
bringing this up as I'm wondering if there's any development on the topic.
Has anyone managed to migrate from vBulleting to Codo?
Is there any plugin available for such a task?
Thank you all in advance!

Hello everyone, bringing this up as I'm wondering if there's any development on the topic. Has anyone managed to migrate from vBulleting to Codo? Is there any plugin available for such a task? Thank you all in advance!
426
12
5
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft