vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to import Thank Yous (https://vborg.vbsupport.ru/showthread.php?t=281637)

Macsee 04-16-2012 04:47 PM

How to import Thank Yous
 
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

Quote:

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 [DATE]1334658706[/DATE] at [TIME]1334658706[/TIME] ---------------

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.

Quote:

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).

Quote:

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.


All times are GMT. The time now is 08:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01193 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete