承接 migratetoflarum/renumber-posts 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

migratetoflarum/renumber-posts

Composer 安装命令:

composer require migratetoflarum/renumber-posts

包简介

Re-number posts on the forum

README 文档

README

This extension re-numbers posts in discussions on demand.

Why you might need this extension:

  • You manually imported data into your forum and need to create the number values
  • You want to clean existing data with a lot of missing numbers between posts and don't care about the permalinks

I strongly recommend you test the command on a backup first before running it on your live data!

Installation and update

composer require migratetoflarum/renumber-posts

Documentation

The extension is implemented as a command line utility. Enable the extension in Flarum admin panel, then open a terminal and cd into the Flarum folder.

Running the command without any parameter will perform a dry run (does not update anything):

php flarum migratetoflarum:renumber

You can enable or disable various calculations with command options.

For example, to only add numbers to posts without number:

php flarum migratetoflarum:renumber --partial --missing

To number every post of every discussion chronologically:

php flarum migratetoflarum:renumber --all

To re-number only discussions where duplicate post numbers were found

php flarum migratetoflarum:renumber --fix-duplicates

To get a list of all available options, run:

php flarum help migratetoflarum:renumber

Removal

When you are done with the update, you can safely remove the extension. It does not need to stay installed.

composer remove migratetoflarum/renumber-posts

Links

The initial version of this extension was sponsored by @Wadera

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固