I've noticed a number of small but annoying bugs in the SMF import feature, which I thought it would be useful to report back to you.
1. vb_user error: The birthday_search field is brought over correctly, but the birthday field (which is just a variation of birthday_search) is a Unix date in it instead of what it should have. The birthday_search field has the form yyyy-mm-dd, and the birthday field has the form mm-dd-yyyy (don't know why both are needed in the first place, but both are there).
2. vb_user error: The lastactivity field is not set. It should be set to the value of lastpost (if lastpost is non-zero), else to the value of joindate.
3. The [size] tag in SMF is slightly different than in vBulletin, and instead of translating it, it's treated as a literal. vBulletin users sizes 1-7 (e.g. [size=4]) whereas SMF uses points (e.g. [size=14pt]). It would be easy to map these.
4. SMF supports the [hr] tag (same as <hr>) and vBulletin does not, so this appears as a literal. It should be either replace with a line like this:
_________________________________________________
or completely removed.
5. SMF uses htmlspecialchars() before storing messages, so quotes appear as ", etc. The import utility does not parse this, so these codes appear as literals.
6. Custom avatars are not moved over. I only had about 100 of these so I added them manually (once I figured out how they were stored), but it was tedious, time-consuming, and un-fun.
I think I'm forgetting a few things. I'll add a reply if I remember.
1. vb_user error: The birthday_search field is brought over correctly, but the birthday field (which is just a variation of birthday_search) is a Unix date in it instead of what it should have. The birthday_search field has the form yyyy-mm-dd, and the birthday field has the form mm-dd-yyyy (don't know why both are needed in the first place, but both are there).
2. vb_user error: The lastactivity field is not set. It should be set to the value of lastpost (if lastpost is non-zero), else to the value of joindate.
3. The [size] tag in SMF is slightly different than in vBulletin, and instead of translating it, it's treated as a literal. vBulletin users sizes 1-7 (e.g. [size=4]) whereas SMF uses points (e.g. [size=14pt]). It would be easy to map these.
4. SMF supports the [hr] tag (same as <hr>) and vBulletin does not, so this appears as a literal. It should be either replace with a line like this:
_________________________________________________
or completely removed.
5. SMF uses htmlspecialchars() before storing messages, so quotes appear as ", etc. The import utility does not parse this, so these codes appear as literals.
6. Custom avatars are not moved over. I only had about 100 of these so I added them manually (once I figured out how they were stored), but it was tedious, time-consuming, and un-fun.
I think I'm forgetting a few things. I'll add a reply if I remember.
Comment