Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
/ migrator Public archive

Migrates data from YSFHQ's old Drupal-based site and YSUpload.com to the new phpBB forum.

Notifications You must be signed in to change notification settings

YSFHQ/migrator

Repository files navigation

YSFHQ Content Migrator

This application, developed with the Laravel PHP Framework (see below), is used to migrate content from YSFlight Headquarters' existing websites, notably our old Drupal website and YSUpload.com back to our more sustainable phpBB forum. As the initial content is scattered across multiple database tables and columns, this tool is used to easily capture the important bits, then re-post the content in a templated fashion on the forum.

Steps

  1. Collect content from Drupal and YSUpload

a. Drupal

1. Addons
2. Screenshots
3. Stories (blog posts)
4. Videos

b. YSUpload

1. Addons (metadata)
2. Addons (downloadable files)
  1. Save content (except for files on YSUpload) into a database, with schema set to match the output format (topic/post).
  2. Repost on the forum. For each post...

a. If topic_id==null then create a new topic with the data from the Post model.

b. Otherwise, reply to the topic_id specified with the data from the Post model.

c. Update all posts with their original authors and post times.

d. (If YSUpload) copy the addon file from YSUpload to the attachment directory and add a record in phpBB's database, linking the attachment record to the already made post (with the original upload time).

To Do

  • YSUpload meta import should search for existing Drupal addon posts which use YSUpload if it finds it, then update post_id in YSUpload post model to point to Drupal post
  • Implement file transfer process for YSUpload
  • Add method to PhpbbClient which can add attachment record to database
  • More work not yet realized
Copyright (c) 2017 YSFlight Headquarters. All rights reserved.
Developed by Eric Tendian.

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation give you tools you need to build any application with which you are tasked.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework. The Laravel documentation is thorough, complete, and makes it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 900 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Migrates data from YSFHQ's old Drupal-based site and YSUpload.com to the new phpBB forum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published