[RSS Feed/News] manually import dbtech thanks

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am posting this here for reference.

This assumes you enabled the option during the import to preserve the source ids.

If you use the "dbtech thanks" addon in vB and you want to manually import those "thanks" as "likes" then run this query:

Rich (BB code):

Code:
INSERT INTO [COLOR=red]XFdbname[/COLOR].`xf_liked_content` (content_type, content_id, like_user_id, like_date, content_user_id)
	SELECT 'post', dbt.contentid, dbt.userid, dbt.dateline, post.userid
        FROM...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom