Cross references

Add cross reference links when a discussion is mentioned from another one.

Compatible with Flarum v1.6.3

Latest release v0.6.0

175 downloads

released on Dec 5, 2022

CLUB1 Cross-references

License Latest Stable Version Total Downloads Coverage Build Status

A Flarum extension. Add cross reference links when a discussion is mentioned from another one.

cross reference screenshot

Features

This extension is mainly inspired by GitHub cross linking features. It adds similar features to Flarum forums.

  • EventPost in target discussion:
    • [x] is created when a post referencing it is saved
    • [x] links back to the source and displays its title
    • [x] shows the ID of the source (option)
    • [ ] shows the primary tags of the source (option)
    • [ ] shows the secondary tags of the source (option)
  • Links in source discussion:
    • [x] are changed to show the title of target discussion when the text is the same as the href
    • [x] have (comment) indication if it points to a specific comment
    • [x] load the target discussion faster as they use the FrontEnd Router
    • [x] are shown in the preview the way they will be seen once posted
    • [x] are automatically created from #<id> text (e.g. #42) (option)
    • [ ] are auto-completed with a selection box when # is entered
    • [x] show the ID of the target (option)
    • [ ] show the primary tags of the target (option)
    • [ ] show the secondary tags of the target (option)
  • Discussion list:
    • [x] shows the ID of the discussions (option)
  • HeaderRow
    • [x] shows the ID of the discussion (option)

Installation

Install with composer:

composer require club-1/flarum-ext-cross-references:"*"

Updating

composer update club-1/flarum-ext-cross-references:"*"
php flarum migrate
php flarum cache:clear

Links

© 2023 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.