mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Improve vBulletin importer
- FEATURE: TopicCreator now supports 'pinned_at' parameter - FIX: 🐛 FIX TopicQuerySQL to support pinned topic older than 2010 - FIX: 🐛 Properly remove all HTML Entities from Usernames/Titles/Category Names/Groups in vBulletin importer - FIX: 🐛 Properly handle specific vBulletin BBCode (quotes/mentions) - FIX: 🐛 Make sure we generate a username from the name of the user instead of a fake email - FEATURE: Allow for custom timezone in vBulletin importer - FEATURE: Support for profile pictures/background in vBulletin importer - FIX: 🐛 merge the categories tree to only 2 levels in vBulletin importer
This commit is contained in:
@@ -86,6 +86,8 @@ class TopicCreator
|
||||
|
||||
topic_params[:created_at] = Time.zone.parse(@opts[:created_at].to_s) if @opts[:created_at].present?
|
||||
|
||||
topic_params[:pinned_at] = Time.zone.parse(@opts[:pinned_at].to_s) if @opts[:pinned_at].present?
|
||||
|
||||
topic_params
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user