PDA

View Full Version : How to import Thank Yous


Macsee
04-16-2012, 04:47 PM
When merging two vB 4.x forums and using Impex there does not seem to be an option to import the thank yous (Thank You Hack) from the source forum.

Does anyone know how to import the thank yous?

Kraxell
04-17-2012, 04:41 AM
From which software do you want to import thank-you-database?

Macsee
04-17-2012, 06:13 AM
When merging two vB 4.x forums

I'm importing from a vB 4.x to a vB 4.x. I want the members from the source forum to get imported WITH their thankyous.

--------------- Added 1334658706 at 1334658706 ---------------

PS: Both forums are using MySQL

Lynne
04-17-2012, 05:19 PM
Is it in a separate table? Or in the threads table? Or the post table? You haven't really told us much about exactly what field needs to be imported so we can suggest what file you modify.

Macsee
04-17-2012, 05:33 PM
Lynne, I'll admit that on my own forums it's a source of great frustration for me when members ask questions and don't put them in the right context. I therefore try to avoid doing that myself when I am posting elsewhere.

However, I thought that as the Thank You hack is a common hack, there must be others who've had this problem of the vBulletin Impex code not importing ThankYou data.

Is it in a separate table? Or in the threads table? Or the post table?
I don't know. The way the ThankYou hack works is that members can click a button to thank others for posts they found useful. Somewhere in the database the ThankYou hack keeps track of who clicked what post, how many thankyous each member got and how many they gave.

post_thanks seems to be one relevant table (I don't know if there are others being used by this hack).

You haven't really told us much about exactly what field needs to be imported
I want to import all the fields that the ThankYou hack uses.

Lynne
04-17-2012, 09:48 PM
Probably the best thing to do then is to ask about this in the Thank You hack mod thread. I have never installed the thank you hack and have no idea what the structure is like. If it is just the post_thanks table, then you could probably import the contents from that when you are importing the users since that table probably has the userid in there. However, you need to know if there are other fields also in order to be able to do this. So, I'd suggest asking in the modification thread about this.

Macsee
04-18-2012, 08:31 AM
Thanks, Lynne, I'll do that.