{"id":16816676,"url":"https://github.com/sycho9/flarum-move-posts","last_synced_at":"2026-03-01T09:35:02.624Z","repository":{"id":47415122,"uuid":"398031550","full_name":"SychO9/flarum-move-posts","owner":"SychO9","description":"Allows moving posts from one discussion to another.","archived":false,"fork":false,"pushed_at":"2025-01-11T12:20:31.000Z","size":1215,"stargazers_count":2,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"0.2.x","last_synced_at":"2025-02-27T17:35:14.286Z","etag":null,"topics":["extension","flarum","move","posts"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SychO9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-19T17:59:35.000Z","updated_at":"2025-01-11T12:15:26.000Z","dependencies_parsed_at":"2024-10-27T11:58:23.651Z","dependency_job_id":"f1eb5ebc-1c92-48e1-8a64-7424631c247a","html_url":"https://github.com/SychO9/flarum-move-posts","commit_stats":{"total_commits":41,"total_committers":5,"mean_commits":8.2,"dds":"0.36585365853658536","last_synced_commit":"5e4aeeffd54dbae4f134f503d12cd26dd8d03408"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SychO9%2Fflarum-move-posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SychO9%2Fflarum-move-posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SychO9%2Fflarum-move-posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SychO9%2Fflarum-move-posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SychO9","download_url":"https://codeload.github.com/SychO9/flarum-move-posts/tar.gz/refs/heads/0.2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841207,"owners_count":20356443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","flarum","move","posts"],"created_at":"2024-10-13T10:45:04.538Z","updated_at":"2026-03-01T09:35:02.584Z","avatar_url":"https://github.com/SychO9.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Move Posts\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg) [![Latest Stable Version](https://img.shields.io/packagist/v/sycho/flarum-move-posts.svg)](https://packagist.org/packages/sycho/flarum-move-posts) [![Total Downloads](https://img.shields.io/packagist/dt/sycho/flarum-move-posts.svg)](https://packagist.org/packages/sycho/flarum-move-posts)\n\nA [Flarum](http://flarum.org) extension. Move posts from one discussion to another.\n\n\u003e **WARNING**: *This extension can in certain scenarios result in breaking old URLs to posts of the discussion you're moving posts to.*\n\n## Usage\n\n### Simple Move VS Complex Move\nThe extension allows you to select multiple posts to move from one discussion to another. Certain scenarios are not allowed, while others are allowed but yield to different results.\n\nMoving posts can either be a simple process of pushing the posts at the end of the target discussion, or it can be a complicated process of pushing the posts in between the target discussion's posts, thus breaking the target discussion posts's old URLs (meaning old URLs will no longer point to the correct posts, because we update their number field to allow squeezing in the moved posts).\nWhich method will be chosen depends on the creation date of the posts being moved, and the creation date of the target discussion's last post.\n\nThe extension makes knowing which method will be used easily, by providing a `Check Operation Type` button in the relevant modal, so that you know what you're dealing with before proceeding.\n\nThe following diagram summarizes the couple scenarios:\n![move-posts](https://user-images.githubusercontent.com/20267363/130121880-9a7303da-bfea-43fa-99d9-46af7bec6669.png)\n\n### Moving The First Post\nWhen moving the first post of a discussion:\n* If the discussion only has that one post, that post will be replace by a normal post with the content `The discussion has been moved to Target Discussion` (the content is customizable through the admin panel).\n* If the discussion has multiple posts, the first post will be replaced by an event posts (as per usual) and the second post will be set as first.\n\n![move-posts-first](https://user-images.githubusercontent.com/20267363/130121900-8b6f1239-cfe3-4745-949a-b72ac8dbcafb.png)\n\n### Event Posts\nMoved posts are replaced by event posts.\n\n## Installation\n\nInstall with composer:\n\n```sh\ncomposer require sycho/flarum-move-posts:\"*\"\n```\n\n## Updating\n\n```sh\ncomposer update sycho/flarum-move-posts:\"*\" --with-dependencies\nphp flarum migrate\nphp flarum cache:clear\n```\n\n## Support\nThis extension is under minimal maintenance.\n\nIt was developed for a client and released as open-source for the benefit of the community.\nI might publish simple bugfixes or compatibility updates for free.\n\n## Links\n\n- [Packagist](https://packagist.org/packages/sycho/flarum-move-posts)\n- [GitHub](https://github.com/sycho/flarum-move-posts)\n- [Discuss](https://discuss.flarum.org/d/28824-move-posts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsycho9%2Fflarum-move-posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsycho9%2Fflarum-move-posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsycho9%2Fflarum-move-posts/lists"}