• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Converting from vBulletin 3.8 to XenForo - What to do Exactly?

fattony69

Well-known member
#1
Alright, this may sound like a stupid thread, but I am just making sure that I covered everything so I do not have to make a "HELP - I SCREWED UP, SAVE MY COMMUNITY" thread. Like almost everyone else, I too am converting my forum to vBulletin 3.8.

I currently use many modifications (which I am so glad to get rid of), vBSEO for my urls (and whatever else it is supposed to do), have tons of custom BB Codes, links, and moving my community from the main directory into mydomain.com/community directory.

I would like to know what are the correct steps (in-order) to make sure I have a clean, smooth sailing conversion?

I have seen redirection scripts by Kier, I have seen something for vBSEO. I have read that I need to use Post Content Find / Replace. I want to make sure that this is all covered.

Did I miss anything?
 

James

Well-known member
#2
First thing to do is uninstall your mods so your database is relatively clean for install. Then its just, really, a case of running your db through the import process until it sails through smoothly.
 

Brogan

XenForo moderator
Staff member
#3
In addition to the points you have mentioned above, I would also recommend cleaning up your existing database.
That includes any old/redundant usergroups, deleting spammers/banned accounts, etc.

There is no mass PM management function in XenForo currently so be aware of this if you have hundreds of PMs.
I just deleted all of the PMs by emptying the tables.
I also deleted all signatures and avatars - that makes people start afresh then.

The biggest problem I had was BB Code.
I had to run about 150 SQL and regex queries to tidy it all up.

Ideally you want to do several test imports first to identify any issues before doing your final import.

The help manual also has a section on importing: http://xenforo.com/help/importing/
Let me know if you think it needs expanding or more detail.
 

Dean

Well-known member
#4
In addition to the points above, you may want to find a skin, and whatever mods you may need such as xen_ams to show ads (if that is desirable), and of course if template modifications are needed. After weeks of experimenting I wrote a comprehensive 'to do' list for the final transfer, which of course most of it only applies to my site.
 

fattony69

Well-known member
#5
First thing to do is uninstall your mods so your database is relatively clean for install. Then its just, really, a case of running your db through the import process until it sails through smoothly.
I read that they don't transfer anyway. I uninstalled most, but some I lost the instructions to many. I believe it isn't an issue as the import only pulls what it needs.

In addition to the points you have mentioned above, I would also recommend cleaning up your existing database.
That includes any old/redundant usergroups, deleting spammers/banned accounts, etc.

There is no mass PM management function in XenForo currently so be aware of this if you have hundreds of PMs.
I just deleted all of the PMs by emptying the tables.
I also deleted all signatures and avatars - that makes people start afresh then.

The biggest problem I had was BB Code.
I had to run about 150 SQL and regex queries to tidy it all up.

Ideally you want to do several test imports first to identify any issues before doing your final import.

The help manual also has a section on importing: http://xenforo.com/help/importing/
Let me know if you think it needs expanding or more detail.
Cleaning it, how? I understand deleting old/redundant usergroups, but you actually deleted all the spammers/banned accounts? Aren't you worried they will come back?

No private messages are imported or I am unable to mass private message everyone? As long as I can email everyone, I don't mind this.

Deleting private messages is going to be huge. What tables do I do to do that?

Signatures and avatars aren't on the database, but on files. How would suggest I go about that?

BB Codes scare me as I have many and I know XenForo doesn't have many yet. What is the best plan of action to go about this? How bad was it for you?

In addition to the points above, you may want to find a skin, and whatever mods you may need such as xen_ams to show ads (if that is desirable), and of course if template modifications are needed. After weeks of experimenting I wrote a comprehensive 'to do' list for the final transfer, which of course most of it only applies to my site.
My skin is already created custom by me, modifications are already installed, and used mainly template edits though since I don't want to overload my server again. Thanks for that tip, but I took care of that first and foremost as I believed I couldn't transfer my whole community without that step. If you don't mind me asking, what was some or all of the things on your to-do list?
 

James

Well-known member
#6
Private messages are turned into Private Conversations - so if you have hundreds of PMs they will all turn into a separate conversation once imported.
 

Brogan

XenForo moderator
Staff member
#8
Cleaning it, how? I understand deleting old/redundant usergroups, but you actually deleted all the spammers/banned accounts? Aren't you worried they will come back?
Not particularly.
Besides, using the Spam Cleaner in XenForo is fun :D

BB Codes scare me as I have many and I know XenForo doesn't have many yet. What is the best plan of action to go about this? How bad was it for you?
Mine was bad as I had a lot of custom code.
However, I installed King Kovifor's BB Code Manager and was able to reproduce all of it.

My particular problem was due to importing from phpBB which appends random hex strings to all BB Code tags so you most likely won't have this problem if coming from vB.

You might want to take a look at this add-on though: http://xenforo.com/community/threads/bbcode-manager.5657/
 

Dean

Well-known member
#9
..If you don't mind me asking, what was some or all of the things on your to-do list?
I will send you a message, not sure if my list is particularly relevant to the general xf population, but you can pick out the bits that apply to you.
 

fattony69

Well-known member
#10
Not particularly.
Besides, using the Spam Cleaner in XenForo is fun :D


Mine was bad as I had a lot of custom code.
However, I installed King Kovifor's BB Code Manager and was able to reproduce all of it.

My particular problem was due to importing from phpBB which appends random hex strings to all BB Code tags so you most likely won't have this problem if coming from vB.

You might want to take a look at this add-on though: http://xenforo.com/community/threads/bbcode-manager.5657/
Hmm...I am worried that some people might come back.

I will send you a message, not sure if my list is particularly relevant to the general xf population, but you can pick out the bits that apply to you.
Thanks for it. I must say though, you should definitely post it.
 

boatswife

Active member
#13
There may be an easier way to do this, I'm sure someone will chime in.


I had just thought that when I close the vb board in preparation, that I would mass move the members into the matching ID usergroup and then do the import.
 

Dean

Well-known member
#14
I've no idea why boatswife had a problem, mine came through fine. Nor do I see any reason to keep the usergroup IDs the same. Here are part of my notes:

When deleting usergroups, be sure no one is in the user group
When deleting users, be sure they have made no posts first.
delete all user groups that are not necessary.

Stock xf has these user groups:
  • Administrative (puts vb Administrators in this group)
  • Moderating (puts vb Moderators in this group)
  • Registered (transfers over, activated accounts)
  • Unregistered / Unconfirmed (same as Unregistered / Not Logged In – 0 users)
VB Users Awaiting Email Confirmation are brought in as invalid users, and usergroup automatically discarded.
VB COPPA user group disappears all by itself after the import – no need to worry, user group automatically discarded.

Banned Users & Super Moderators are brought into xf itself, no point to the usergroups so delete them after import manually. In addition the COPPA user group disappears all by itself after the import – no need to worry about that .
 

Dean

Well-known member
#15
As you can see, my notes are a little rough. I suggested that fattony69 go through the notes I sent and after they are polished up from that then we could post a list.

Don't focus too much on coppa, I do not use that and do not pay too much attention to it.

I deleted as many usergroups as possible prior to import that I could, then deleted as many usergroups as possible after the import - then set all the permissions at the appropriate time. So the exact user group numbers are not sequential.

In addition, the user IDs will change if you have ever deleted any users.

I strongly suggest doing a few test imports to test things out. And to understand that things like 'awaiting email confirmation' is a 'state' within xf as opposed to a user group - that in particular allows for some extremely nice benefits when it comes to certain things.
 

SchmitzIT

Well-known member
#16
I will send you a message, not sure if my list is particularly relevant to the general xf population, but you can pick out the bits that apply to you.
Could you shoot it to me as well, please? I'm hoping to have a go some time in the near future, and the more prepared I am, the better :)

Thanks in advance.
 

boatswife

Active member
#18
I've no idea why boatswife had a problem, mine came through fine. Nor do I see any reason to keep the usergroup IDs the same.
Hopefully this was just me, but I have 92 pages of members listed in the moderating group and I don't have a clue why they were put there. My first thought was to make sure the IDs were the same, but I can see that is not the case. I should do another test import and see what happens.
 

Dean

Well-known member
#19
Hopefully this was just me, but I have 92 pages of members listed in the moderating group and I don't have a clue why they were put there. My first thought was to make sure the IDs were the same, but I can see that is not the case. I should do another test import and see what happens.
It sounds like you are not yet live with xf, otherwise you would have a lot of moderating going on ;)

If you want to copy/paste your vb3.8 usergroups into a PC/PM and send it to me I could take a look. I am primarily concerned with usergroup ids so you could delete anything of a personal nature. Just trying to get a vague idea what may be happening.
 

boatswife

Active member
#20
It must be something with what I'm doing or how I have my stuff set up. I did a quick import on just the users and it put all of my registered members into the moderating group again. I'm not even in the Admin usergroup, but my other Admin is.

Let me get my info and I'll send it to you.