Why vbulletin 4 importer exclude the firstpost?

(mabras) #1

Why the importer in vbulletin exclude the firstpost from the total_count?

(Régis Hanol) #2

Most likely because the first post is used to create the topic.

(mabras) #3

But then if I have ten topic/thread with attachment just in the first post, the total_count will be zero, even though I have ten attachments. right?

(Régis Hanol) #4

Hmm, I didn’t look closely enough. Looks like you’re right :wink:

PRs are welcome :smile:

(mabras) #5


While we at it, this line cause errors:

I had to modified it just like the vb5 importer:

(Régis Hanol) #6

What was the error? Did it try creating an already existing index?

(mabras) #7

Yes I did. I get the error after the second run.


(Régis Hanol) #8

Probably want to handle that better rather than just catching the exception :wink: